Dali 3D User Interface Engine
Classes | Namespaces | Enumerations | Functions
test-harness.h File Reference
#include <stdio.h>
#include <testcase.h>
Include dependency graph for test-harness.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TestHarness::TestCase
 

Namespaces

namespace  TestHarness
 

Enumerations

enum  TestHarness::ExitStatus {
  TestHarness::EXIT_STATUS_TESTCASE_SUCCEEDED, TestHarness::EXIT_STATUS_TESTCASE_FAILED, TestHarness::EXIT_STATUS_TESTCASE_ABORTED, TestHarness::EXIT_STATUS_FORK_FAILED,
  TestHarness::EXIT_STATUS_WAITPID_FAILED, TestHarness::EXIT_STATUS_BAD_ARGUMENT, TestHarness::EXIT_STATUS_TESTCASE_NOT_FOUND, TestHarness::EXIT_STATUS_TESTCASE_SUCCEEDED,
  TestHarness::EXIT_STATUS_TESTCASE_FAILED, TestHarness::EXIT_STATUS_TESTCASE_ABORTED, TestHarness::EXIT_STATUS_FORK_FAILED, TestHarness::EXIT_STATUS_WAITPID_FAILED,
  TestHarness::EXIT_STATUS_BAD_ARGUMENT, TestHarness::EXIT_STATUS_TESTCASE_NOT_FOUND, TestHarness::EXIT_STATUS_TESTCASE_SUCCEEDED, TestHarness::EXIT_STATUS_TESTCASE_FAILED,
  TestHarness::EXIT_STATUS_TESTCASE_ABORTED, TestHarness::EXIT_STATUS_FORK_FAILED, TestHarness::EXIT_STATUS_WAITPID_FAILED, TestHarness::EXIT_STATUS_BAD_ARGUMENT,
  TestHarness::EXIT_STATUS_TESTCASE_NOT_FOUND
}
 

Functions

const int TestHarness::MAX_NUM_CHILDREN (16)
 
int TestHarness::RunTestCase (struct testcase_s &testCase)
 Run a test case. More...
 
int TestHarness::RunAllInParallel (const char *processName, testcase tc_array[], bool reRunFailed)
 Run all test cases in parallel. More...
 
int TestHarness::RunAll (const char *processName, testcase tc_array[])
 Run all test cases in serial. More...
 
int TestHarness::FindAndRunTestCase (::testcase tc_array[], const char *testCaseName)
 Find the named test case in the given array, and run it. More...
 
void TestHarness::Usage (const char *program)
 Display usage instructions for this program. More...
 
Dali Docs Home
Read more about Dali