Searched refs:TestCase (Results 1 - 4 of 4) sorted by relevance

/system/extras/tests/sdcard/
H A Dtestcase.cpp42 TestCase::TestCase(const char *appName) function in class:android_test::TestCase
69 TestCase::~TestCase()
78 bool TestCase::runTest()
110 write(mIpc[TestCase::WRITE_TO_PARENT], buffer, str - buffer);
143 void TestCase::setIter(size_t iter)
148 void TestCase::createTimers()
171 bool TestCase::setTypeFromName(const char *test_name)
183 void TestCase
[all...]
H A Dsdcard_perf_test.cpp103 using android_test::TestCase;
149 void printHeader(int argc, char **argv, const TestCase& testCase)
204 void parseCmdLine(int argc, char **argv, TestCase *testCase)\
252 testCase->setSync(TestCase::SYNC);
254 testCase->setSync(TestCase::FSYNC);
290 bool readData(char *const chunk, const int idx, TestCase *testCase)
352 bool testRead(TestCase *testCase) {
366 if (testCase->type() == TestCase::READ_WRITE)
368 iter *= TestCase::kReadWriteFactor;
418 bool writeData(const char *const chunk, const int idx, TestCase *testCas
[all...]
H A Dtestcase.h42 class TestCase { class in namespace:android_test
53 TestCase(const char *appName);
55 ~TestCase();
127 bool (*mTestBody)(TestCase *);
/system/core/libctest/
H A Dctest.c30 typedef void TestCase(); typedef
36 TestCase* tests[MAX_TESTS];
58 void addNamedTest(const char* name, TestCase* test) {

Completed in 1230 milliseconds