Lines Matching refs:TestCase
103 using android_test::TestCase;
149 void printHeader(int argc, char **argv, const TestCase& testCase) in printHeader()
204 void parseCmdLine(int argc, char **argv, TestCase *testCase)\ in parseCmdLine()
252 testCase->setSync(TestCase::SYNC); in parseCmdLine()
254 testCase->setSync(TestCase::FSYNC); in parseCmdLine()
290 bool readData(char *const chunk, const int idx, TestCase *testCase) in readData()
352 bool testRead(TestCase *testCase) { in testRead()
366 if (testCase->type() == TestCase::READ_WRITE) in testRead()
368 iter *= TestCase::kReadWriteFactor; in testRead()
418 bool writeData(const char *const chunk, const int idx, TestCase *testCase) { in writeData()
473 if (TestCase::FSYNC == testCase->sync()) in writeData()
479 else if (TestCase::SYNC == testCase->sync()) in writeData()
489 bool testWrite(TestCase *testCase) in testWrite()
519 bool testReadWrite(TestCase *testCase) in testReadWrite()
531 bool testOpenCreate(TestCase *testCase) in testOpenCreate()
559 bool writeTestFile(TestCase *testCase, const char* filename) { in writeTestFile()
608 bool testTraverse(TestCase *testCase) { in testTraverse()
684 android_test::TestCase testCase(kAppName); in main()
701 case TestCase::WRITE: in main()
704 case TestCase::READ: in main()
707 case TestCase::OPEN_CREATE: in main()
710 case TestCase::READ_WRITE: in main()
713 case TestCase::TRAVERSE: in main()