summaryrefslogtreecommitdiffstats
path: root/src/usr/example/test/exampletest.H
blob: c45aaf4f777d10146f1b8c6a9c28083147eb264b (plain)
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
35
36
37
38
#include <cxxtest/TestSuite.H>
#include <example/example.H>

class ExampleTest: public CxxTest::TestSuite
{
public:
    void testExample1(void)
    {
        uint64_t    l_rc = 0;
        l_rc = example1_function();
        if(l_rc)
        {
            TS_FAIL("Call to example1_function1 failed!");
        }
    }
    void testExample2(void)
    {
        // Call functions and validate results
        // TS_FAIL("Failed test call to example2 function");
    }
    void testExample3(void)
    {
        // Call functions and validate results
        // TS_FAIL("Failed test call to example3 function");
    }
    void testExample4(void)
    {
        // Call functions and validate results
        // TS_FAIL("Failed test call to example3 function");
    }
    void testExample5(void)
    {
        // Call functions and validate results
        // TS_FAIL("Failed test call to example3 function");
    }

};

OpenPOWER on IntegriCloud