diff options
Diffstat (limited to 'document/src/tests/documentselecttest.h')
-rw-r--r-- | document/src/tests/documentselecttest.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/document/src/tests/documentselecttest.h b/document/src/tests/documentselecttest.h new file mode 100644 index 00000000000..d8cb4d427e1 --- /dev/null +++ b/document/src/tests/documentselecttest.h @@ -0,0 +1,34 @@ +// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +/* $Id$*/ +#pragma once + +#include <cppunit/extensions/HelperMacros.h> + +class DocumentSelect_Test : public CppUnit::TestFixture { + CPPUNIT_TEST_SUITE( DocumentSelect_Test); + CPPUNIT_TEST(testEquals); + CPPUNIT_TEST(testLt); + CPPUNIT_TEST(testGt); + CPPUNIT_TEST(testAnd); + CPPUNIT_TEST(testOr); + CPPUNIT_TEST(testNot); + CPPUNIT_TEST(testConfig1); + CPPUNIT_TEST(testConfig2); + CPPUNIT_TEST_SUITE_END(); + +public: + void setUp(); + + void tearDown(); +protected: + void testEquals(); + void testLt(); + void testGt(); + void testAnd(); + void testOr(); + void testNot(); + void testConfig1(); + void testConfig2(); +}; + + |