summaryrefslogtreecommitdiffstats
path: root/vdstestlib/src/tests/cppunit/cppunittest.cpp
blob: bf8b38e696e56081df8f74323efd15e05ec4ca22 (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
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vdstestlib/cppunit/macros.h>

namespace vespalib {

struct CppunitTest : public CppUnit::TestFixture {

    void testSomething();

    CPPUNIT_TEST_SUITE(CppunitTest);
    CPPUNIT_TEST(testSomething);
    CPPUNIT_TEST_SUITE_END();

};

CPPUNIT_TEST_SUITE_REGISTRATION(CppunitTest);

void
CppunitTest::testSomething()
{
    CPPUNIT_ASSERT_EQUAL_MESSAGE("hmm", "foo", "foo");
}

} // vespalib