Dali 3D User Interface Engine
Namespaces | Typedefs | Functions
test-harness.cpp File Reference
#include "test-harness.h"
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <vector>
#include <map>
#include <cstring>
#include <testcase.h>
Include dependency graph for test-harness.cpp:

Go to the source code of this file.

Namespaces

namespace  TestHarness
 

Typedefs

typedef std::map< int, TestCase > TestHarness::RunningTestCases
 

Functions

const char * TestHarness::basename (const char *path)
 
int TestHarness::RunTestCase (struct::testcase_s &testCase)
 
int TestHarness::RunTestCaseInChildProcess (struct::testcase_s &testCase, bool suppressOutput)
 
void TestHarness::OutputStatistics (const char *processName, int numPasses, int numFailures)
 
int TestHarness::RunAll (const char *processName,::testcase tc_array[])
 
int TestHarness::RunAllInParallel (const char *processName,::testcase tc_array[], bool reRunFailed)
 
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