summaryrefslogtreecommitdiffstats
path: root/document/src/tests/documentselecttest.h
blob: d8cb4d427e17cdd5e7d75a3e364c29568e8fad72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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();
};