/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/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};
|
parseChunkRange.pl | 260 foreach my $testCase (@testCaseHashRefs) { 261 my $testNameStart = "parseChunkRange(): $testCase->{testName}: comparing"; 263 my @got = VCSUtils::parseChunkRange($testCase->{inputText}, $testCase->{chunkSentinel}); 264 my $expectedReturn = $testCase->{expectedReturn};
|
setChangeLogDateAndReviewer.pl | 117 foreach my $testCase (@testCaseHashRefs) { 118 my $testNameStart = "setChangeLogDateAndReviewer(): $testCase->{testName}: comparing"; 120 my $patch = $testCase->{patch}; 121 my $reviewer = $testCase->{reviewer}; 122 my $epochTime = $testCase->{epochTime}; 125 my $expectedReturn = $testCase->{expectedReturn};
|
/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
|
/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);
|
/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);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestSuite.java | 43 Map<String, TestCase> mChildTestCaseMap = new LinkedHashMap<String, TestCase>(); 81 TestCase testCase = getTestCase(testClassName); 82 return testCase.findTest(testName, insertIfMissing); 98 * Gets all the child {@link TestCase}s 100 public Collection<TestCase> getTestCases() { 120 * Get the child {@link TestCase} with given name, creating if necessary. 124 private TestCase getTestCase(String testCaseName) { 125 TestCase testCase = mChildTestCaseMap.get(testCaseName) [all...] |
/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() {
|
/frameworks/base/test-runner/tests/src/android/test/ |
TestCaseUtilTest.java | 20 import junit.framework.TestCase; 25 public class TestCaseUtilTest extends TestCase { 38 TestCase testCase = new OneTestTestCaseWithSuite(); 40 List<String> testCaseNames = TestCaseUtil.getTestCaseNames(testCase, false); 65 public static class OneTestTestCase extends TestCase { 70 public static class OneTestTestCaseWithSuite extends TestCase { 72 TestCase testCase = new OneTestTestCase(); 73 testCase.setName("testOne") [all...] |
AndroidTestRunnerTest.java | 24 import junit.framework.TestCase; 37 public class AndroidTestRunnerTest extends TestCase { 53 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); 63 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); 107 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); 108 for (TestCase testCase : testCases) { 109 assertSame(mStubContext, ((AndroidTestCase) testCase).getContext()); 123 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); 124 for (TestCase testCase : testCases) [all...] |
/external/junit/src/junit/textui/ |
TestRunner.java | 7 import junit.framework.TestCase; 19 * <p>TestRunner expects the name of a TestCase class as argument. 59 * Runs a suite extracted from a TestCase subclass. 61 static public void run(Class<? extends TestCase> testClass) { 153 String testCase= ""; 161 testCase= extractClassName(args[++i]); 165 testCase= arg.substring(0, lastIndex); 170 testCase= args[i]; 173 if (testCase.equals("")) 174 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class") [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorTestOperations/ |
VerifyEventOrderingOperation.java | 33 AndroidTestCase testCase, 38 testCase,
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
net_unittests.js | 37 NetworkSimulator.prototype.runTest = function(testCase) 54 testCase();
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
ssearch.h | 51 virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern, 54 virtual int32_t bmMonkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
|
uts46test.cpp | 236 struct TestCase { 244 static const TestCase testCases[]={ 561 const TestCase &testCase=testCases[i]; 562 UnicodeString input(ctou(testCase.s)); 563 UnicodeString expected(ctou(testCase.u)); 572 (int)i, testCase.o, testCase.s) 577 uint32_t uniErrors=testCase.errors&~ 581 char mode=testCase.o[0] [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMErrorMonitor.java | 57 public void assertLowerSeverity(DOMTestCase testCase, String id, int severity) { 62 testCase.fail(id + error.getMessage());
|
/external/icu4c/test/intltest/ |
ssearch.h | 42 virtual int32_t monkeyTestCase(UCollator *coll, const UnicodeString &testCase, const UnicodeString &pattern, const UnicodeString &altPattern,
|
uts46test.cpp | 237 struct TestCase { 245 static const TestCase testCases[]={ 585 const TestCase &testCase=testCases[i]; 586 UnicodeString input(ctou(testCase.s)); 587 UnicodeString expected(ctou(testCase.u)); 596 (int)i, testCase.o, testCase.s) 601 uint32_t uniErrors=testCase.errors&~ 605 char mode=testCase.o[0] [all...] |
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
TestListParser.java | 37 TestCase currentCase = null; 96 private TestCase handleCase(TestSuite suite, String caseName) { 97 TestCase testCase = new TestCase(caseName); 98 suite.addCase(testCase); 99 return testCase; 102 private void handleTest(TestCase testCase, String test, int timeout) { 103 testCase.addTest(test, timeout) [all...] |
/frameworks/base/test-runner/src/android/test/ |
AndroidTestRunner.java | 26 import junit.framework.TestCase; 40 private List<TestCase> mTestCases; 53 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); 54 mTestCases = Lists.newArrayList(testCase); 66 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true); 94 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { 110 private TestCase newSingleTestMethod(Class testClass, String testMethodName, 113 TestCase testCase = (TestCase) constructor.newInstance(args) [all...] |