diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-28 18:40:31 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-28 18:40:31 -0400 |
commit | 47df7dd60e9209db3be91a7b29a91911ee4a846b (patch) | |
tree | f67431dbeb4f8a9f2fa575a554e1fd570615f735 /test/unit/t_expr.h | |
parent | 9408f3cbae5027734fe9b22ba3855e209d192eb1 (diff) | |
download | fork-ledger-47df7dd60e9209db3be91a7b29a91911ee4a846b.tar.gz fork-ledger-47df7dd60e9209db3be91a7b29a91911ee4a846b.tar.bz2 fork-ledger-47df7dd60e9209db3be91a7b29a91911ee4a846b.zip |
Rewrote the report query parser
It is now a full parser that parses report queries directly into value
expression trees. These then get rendered into text so that other
options may extend the expression.
Diffstat (limited to 'test/unit/t_expr.h')
-rw-r--r-- | test/unit/t_expr.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/unit/t_expr.h b/test/unit/t_expr.h index f1289143..2f22db3d 100644 --- a/test/unit/t_expr.h +++ b/test/unit/t_expr.h @@ -8,6 +8,22 @@ class ValueExprTestCase : public CPPUNIT_NS::TestCase CPPUNIT_TEST_SUITE(ValueExprTestCase); //CPPUNIT_TEST(testConstructors); + CPPUNIT_TEST(testPredicateTokenizer1); + CPPUNIT_TEST(testPredicateTokenizer2); + CPPUNIT_TEST(testPredicateTokenizer3); + CPPUNIT_TEST(testPredicateTokenizer4); + CPPUNIT_TEST(testPredicateTokenizer5); + CPPUNIT_TEST(testPredicateTokenizer6); + CPPUNIT_TEST(testPredicateTokenizer7); + CPPUNIT_TEST(testPredicateTokenizer8); + CPPUNIT_TEST(testPredicateTokenizer9); + CPPUNIT_TEST(testPredicateTokenizer10); + CPPUNIT_TEST(testPredicateTokenizer11); + CPPUNIT_TEST(testPredicateTokenizer12); + CPPUNIT_TEST(testPredicateTokenizer13); + CPPUNIT_TEST(testPredicateTokenizer14); + CPPUNIT_TEST(testPredicateTokenizer15); + CPPUNIT_TEST(testPredicateTokenizer16); CPPUNIT_TEST_SUITE_END(); @@ -19,6 +35,22 @@ public: virtual void tearDown(); //void testConstructors(); + void testPredicateTokenizer1(); + void testPredicateTokenizer2(); + void testPredicateTokenizer3(); + void testPredicateTokenizer4(); + void testPredicateTokenizer5(); + void testPredicateTokenizer6(); + void testPredicateTokenizer7(); + void testPredicateTokenizer8(); + void testPredicateTokenizer9(); + void testPredicateTokenizer10(); + void testPredicateTokenizer11(); + void testPredicateTokenizer12(); + void testPredicateTokenizer13(); + void testPredicateTokenizer14(); + void testPredicateTokenizer15(); + void testPredicateTokenizer16(); private: ValueExprTestCase(const ValueExprTestCase ©); |