/system/extras/tests/sdcard/ |
sdcard_perf_test.cpp | 44 #include "testcase.h" 103 using android_test::TestCase; 149 void printHeader(int argc, char **argv, const TestCase& testCase) 193 printf("# Fadvise: %s\n", testCase.fadviseAsStr()); 203 // @param[out] testCase Structure built from the cmd line args. 204 void parseCmdLine(int argc, char **argv, TestCase *testCase)\ 223 testCase->setDataSize(atoi(optarg) * 1024); 226 testCase->setChunkSize(atoi(optarg) * 1024) [all...] |
/external/deqp/framework/common/ |
tcuTestCaseWrapper.hpp | 39 virtual bool initTestCase (TestCase* testCase); 40 virtual bool deinitTestCase (TestCase* testCase); 42 virtual TestNode::IterateResult iterateTestCase (TestCase* testCase);
|
tcuTestCaseWrapper.cpp | 41 bool TestCaseWrapper::initTestCase (TestCase* testCase) 52 testCase->init(); 80 bool TestCaseWrapper::deinitTestCase (TestCase* testCase) 87 testCase->deinit(); 105 TestNode::IterateResult TestCaseWrapper::iterateTestCase (TestCase* testCase) 109 TestCase::IterateResult iterateResult = TestCase::STOP [all...] |
/external/deqp/modules/gles2/ |
tes2TestCaseWrapper.hpp | 41 virtual bool initTestCase (tcu::TestCase* testCase); 44 virtual bool deinitTestCase (tcu::TestCase* testCase); 45 virtual tcu::TestNode::IterateResult iterateTestCase (tcu::TestCase* testCase);
|
tes2TestCaseWrapper.cpp | 49 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) 51 return tcu::TestCaseWrapper::initTestCase(testCase); 54 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) 58 if (!tcu::TestCaseWrapper::deinitTestCase(testCase)) 76 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) 80 tcu::TestCase::IterateResult result = tcu::TestNode::STOP; 86 result = tcu::TestCaseWrapper::iterateTestCase(testCase); [all...] |
/external/deqp/modules/gles3/ |
tes3TestCaseWrapper.hpp | 41 virtual bool initTestCase (tcu::TestCase* testCase); 44 virtual bool deinitTestCase (tcu::TestCase* testCase); 45 virtual tcu::TestNode::IterateResult iterateTestCase (tcu::TestCase* testCase);
|
tes3TestCaseWrapper.cpp | 48 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) 50 return tcu::TestCaseWrapper::initTestCase(testCase); 53 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) 57 if (!tcu::TestCaseWrapper::deinitTestCase(testCase)) 75 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) 77 tcu::TestCase::IterateResult result = tcu::TestNode::STOP; 86 result = tcu::TestCaseWrapper::iterateTestCase(testCase); [all...] |
/external/deqp/modules/gles31/ |
tes31TestCaseWrapper.hpp | 41 virtual bool initTestCase (tcu::TestCase* testCase); 44 virtual bool deinitTestCase (tcu::TestCase* testCase); 45 virtual tcu::TestNode::IterateResult iterateTestCase (tcu::TestCase* testCase);
|
tes31TestCaseWrapper.cpp | 48 bool TestCaseWrapper::initTestCase (tcu::TestCase* testCase) 50 return tcu::TestCaseWrapper::initTestCase(testCase); 53 bool TestCaseWrapper::deinitTestCase (tcu::TestCase* testCase) 57 if (!tcu::TestCaseWrapper::deinitTestCase(testCase)) 75 tcu::TestNode::IterateResult TestCaseWrapper::iterateTestCase (tcu::TestCase* testCase) 77 tcu::TestCase::IterateResult result = tcu::TestCaseWrapper::iterateTestCase(testCase); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
runCommand.pl | 68 foreach my $testCase (@testCaseHashRefs) { 69 my $testNameStart = "runCommand(): $testCase->{testName}: comparing"; 71 my $got = VCSUtils::runCommand(@{$testCase->{inputArgs}}); 72 my $expectedReturn = $testCase->{expectedReturn};
|
fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl | 80 foreach my $testCase (@testCaseHashRefs) { 81 my $testNameStart = "setChangeLogDateAndReviewer(fixChangeLogPatch()): $testCase->{testName}: comparing"; 83 my $patch = $testCase->{patch}; 84 my $reviewer = $testCase->{reviewer}; 85 my $epochTime = $testCase->{epochTime}; 89 my $expectedReturn = $testCase->{expectedReturn};
|
parseDiffHeader.pl | 107 foreach my $testCase (@testCaseHashRefs) { 108 my $testNameStart = "parseDiffHeader(): $testCase->{diffName}: comparing"; 111 open($fileHandle, "<", \$testCase->{inputText}); 115 my $expectedReturn = $testCase->{expectedReturn}; 120 is($gotNextLine, $testCase->{expectedNextLine}, "$testNameStart next read line.");
|
prepareParsedPatch.pl | 127 foreach my $testCase (@testCases) { 128 my $testName = $testCase->{testName}; 129 my @diffHashRefs = @{$testCase->{diffHashRefsInput}}; 130 my $expected = $testCase->{expected};
|
/libcore/luni/src/test/java/libcore/java/math/ |
CSVTest.java | 12 public abstract class CSVTest extends junit.framework.TestCase { 51 String[] testCase = line.split(","); 52 runTest(testCase); 65 protected void runTest(String[] testCase) throws Exception { 66 String function = testCase[0]; 67 double expectedOutput = Double.parseDouble(testCase[1]); 68 double input = Double.parseDouble(testCase[2]); 71 double input2 = Double.parseDouble(testCase[3]); 72 if (testCase.length > 4) { 73 extra = testCase[4] [all...] |
/cts/suite/audio_quality/test/ |
AudioHardwareTest.cpp | 39 TaskCase* testCase = new TaskCase(); 40 ASSERT_TRUE(testCase != NULL); 41 android::sp<AudioHardware> playback = AudioHardware::createAudioHw(false, true, testCase); 43 android::sp<AudioHardware> recording = AudioHardware::createAudioHw(false, false, testCase); 45 delete testCase;
|
ModelBuilderTest.cpp | 29 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); 30 ASSERT_TRUE(testCase != NULL); 31 //TODO verify TestCase 32 delete testCase; 37 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); 38 ASSERT_TRUE(testCase != NULL); 39 //TODO verify TestCase 40 delete testCase; 47 //TODO verify TestCase
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextCodecUTF8Test.cpp | 51 const char testCase[] = "HelloWorld"; 52 size_t testCaseSize = sizeof(testCase) - 1; 55 const String& result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError); 59 EXPECT_EQ(testCase[i], result[i]); 69 const char testCase[] = "\xe6\xbc\xa2\xe5\xad\x97"; 70 size_t testCaseSize = sizeof(testCase) - 1; 73 const String& result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError);
|
TextCodecReplacementTest.cpp | 40 const char testCase[] = "hello world"; 41 size_t testCaseSize = sizeof(testCase) - 1; 43 const String result = codec->decode(testCase, testCaseSize, DataEOF, false, sawError); 55 const UChar testCase[] = { 0x6F22, 0x5B57 }; 56 size_t testCaseSize = WTF_ARRAY_LENGTH(testCase); 57 CString result = codec->encode(testCase, testCaseSize, QuestionMarksForUnencodables);
|
/cts/suite/audio_quality/lib/src/audio/ |
AudioHardware.cpp | 77 TaskCase* testCase) 93 if (testCase != NULL) { 95 hw = new AudioRemotePlayback(testCase->getRemoteAudio()); 97 hw = new AudioRemoteRecording(testCase->getRemoteAudio()); 109 bool AudioHardware::startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase) 111 if (testCase == NULL) { // default implementation only handles local buffer. 114 android::sp<Buffer> buffer = testCase->findBuffer(id);
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
JSUtils.java | 26 final InstrumentationTestCase testCase, 35 String linkIsNotNull = executeJavaScriptAndWaitForResult(testCase, awContents, 47 testCase.getInstrumentation().runOnMainSync(new Runnable() { 61 InstrumentationTestCase testCase, 65 testCase.getInstrumentation().runOnMainSync(new Runnable() {
|
VideoTestUtil.java | 18 * @param testCase the test case instance we're going to run the test in. 23 public static boolean runVideoTest(final AwTestBase testCase, final boolean requiredUserGesture, 28 testCase.createAwTestContainerViewOnMainSync(client).getAwContents(); 29 testCase.getInstrumentation().runOnMainSync(new Runnable() { 38 VideoTestWebServer webServer = new VideoTestWebServer(testCase.getActivity()); 49 testCase.loadDataAsync(awContents, data, "text/html", false);
|
/external/deqp/modules/egl/ |
teglTestPackage.hpp | 42 bool initTestCase (tcu::TestCase* testCase); 43 bool deinitTestCase (tcu::TestCase* testCase); 45 tcu::TestNode::IterateResult iterateTestCase (tcu::TestCase* testCase);
|
/cts/suite/audio_quality/lib/include/audio/ |
AudioHardware.h | 58 TaskCase* testCase = NULL); 67 * Convenience API to pass buffer ID. The buffer can be either present in testCase 68 * or in remote device (when testCase is NULL) 70 virtual bool startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase = NULL);
|
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ |
ContextMenuUtils.java | 47 * @param testCase The test harness. 54 public static ContextMenu openContextMenu(ActivityInstrumentationTestCase2 testCase, 65 DOMUtils.longPressNode(testCase, tab.getContentViewCore(), openerDOMNodeId); 73 * @param testCase The test harness. 80 public static void selectContextMenuItem(ActivityInstrumentationTestCase2 testCase, 83 ContextMenu menu = openContextMenu(testCase, tab, openerDOMNodeId); 86 selectOpenContextMenuItem(testCase, menu, itemId); 91 * @param testCase The test harness. 98 public static void selectContextMenuItemByTitle(ActivityInstrumentationTestCase2 testCase, 102 ContextMenu menu = openContextMenu(testCase, tab, openerDOMNodeId) [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestSuite.java | 42 Map<String, TestCase> mChildTestCaseMap = new LinkedHashMap<String, TestCase>(); 80 TestCase testCase = getTestCase(testClassName); 81 return testCase.findTest(testName, insertIfMissing); 97 * Gets all the child {@link TestCase}s 99 public Collection<TestCase> getTestCases() { 119 * Get the child {@link TestCase} with given name, creating if necessary. 123 private TestCase getTestCase(String testCaseName) { 124 TestCase testCase = mChildTestCaseMap.get(testCaseName) [all...] |