HomeSort by relevance Sort by last modified time
    Searched refs:testCase (Results 1 - 25 of 67) sorted by null

1 2 3

  /system/extras/tests/sdcard/
sdcard_perf_test.cpp 43 #include "testcase.h"
102 using android_test::TestCase;
146 void printHeader(int argc, char **argv, const TestCase& testCase)
190 printf("# Fadvise: %s\n", testCase.fadviseAsStr());
200 // @param[out] testCase Structure built from the cmd line args.
201 void parseCmdLine(int argc, char **argv, TestCase *testCase)\
220 testCase->setDataSize(atoi(optarg) * 1024);
223 testCase->setChunkSize(atoi(optarg) * 1024)
    [all...]
  /external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/
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};
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};
parseSvnDiffHeader.pl 206 foreach my $testCase (@testCaseHashRefs) {
207 my $testNameStart = "parseSvnDiffHeader(): $testCase->{diffName}: comparing";
210 open($fileHandle, "<", \$testCase->{inputText});
214 my $expectedReturn = $testCase->{expectedReturn};
219 is($gotNextLine, $testCase->{expectedNextLine}, "$testNameStart next read line.");
parseSvnPropertyValue.pl 219 foreach my $testCase (@testCaseHashRefs) {
220 my $testNameStart = "parseSvnPropertyValue(): $testCase->{diffName}: comparing";
223 open($fileHandle, "<", \$testCase->{inputText});
227 my $expectedReturn = $testCase->{expectedReturn};
232 is($gotNextLine, $testCase->{expectedNextLine}, "$testNameStart next read line.");
  /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...]
  /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 19 * TestRunner expects the name of a TestCase class as argument.
59 * Runs a suite extracted from a TestCase subclass.
158 String testCase= "";
166 testCase= extractClassName(args[++i]);
170 testCase= arg.substring(0, lastIndex);
175 testCase= args[i];
178 if (testCase.equals(""))
179 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class");
183 return runSingleMethod(testCase, method, wait);
184 Test suite= getTest(testCase);
    [all...]
  /external/icu4c/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...]
ssearch.cpp 172 const UXMLElement *testCase;
175 while((testCase = root->nextChildElement(tc)) != NULL) {
177 if (testCase->getTagName().compare("test-case") != 0) {
181 const UnicodeString *id = testCase->getAttribute("id");
195 const UnicodeString *strength = testCase->getAttribute("strength");
216 const UnicodeString *norm = testCase->getAttribute("norm");
226 const UnicodeString *alt = testCase->getAttribute("alternate_handling");
234 const UnicodeString *locale = testCase->getAttribute("locale");
249 n = testCase->getChildElement("pattern");
259 n = testCase->getChildElement("pre")
    [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());
  /dalvik/dx/src/junit/textui/
TestRunner.java 14 * TestRunner expects the name of a TestCase class as argument.
54 * Runs a suite extracted from a TestCase subclass.
153 String testCase= "";
160 testCase= extractClassName(args[++i]);
164 testCase= args[i];
167 if (testCase.equals(""))
168 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class");
171 Test suite= getTest(testCase);
  /frameworks/base/test-runner/src/junit/textui/
TestRunner.java 14 * TestRunner expects the name of a TestCase class as argument.
54 * Runs a suite extracted from a TestCase subclass.
153 String testCase= "";
160 testCase= extractClassName(args[++i]);
164 testCase= args[i];
167 if (testCase.equals(""))
168 throw new Exception("Usage: TestRunner [-wait] testCaseName, where name is the name of the TestCase class");
171 Test suite= getTest(testCase);
  /frameworks/base/test-runner/src/android/test/
AndroidTestRunner.java 25 import junit.framework.TestCase;
38 private List<TestCase> mTestCases;
51 TestCase testCase = buildSingleTestMethod(testClass, testMethodName);
52 mTestCases = Lists.newArrayList(testCase);
64 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true);
92 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) {
94 TestCase testCase = (TestCase) testClass.newInstance()
    [all...]
  /external/icu4c/test/iotest/
iotest.cpp 199 const DataMap *testCase;
226 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
241 tempStr=testCase->getString("format", errorCode);
243 tempStr=testCase->getString("result", errorCode);
245 tempStr=testCase->getString("argument", errorCode);
255 switch (testCase->getString("argumentType", errorCode)[0]) {
293 log_err("Unknown type %c for test %d\n", testCase->getString("argumentType", errorCode)[0], i);
365 const DataMap *testCase;
392 for(i=0; testData->nextCase(testCase, errorCode); ++i) {
406 tempStr=testCase->getString("format", errorCode)
    [all...]
  /external/webkit/Tools/TestWebKitAPI/
Test.h 43 Register(const std::string& testSuite, const std::string& testCase)
45 TestsController::shared().registerCreateTestFunction(testSuite + "/" + testCase, Register::create);
  /external/icu4c/test/letest/
gendata.cpp 145 const UXMLElement *testCase;
148 while((testCase = root->nextChildElement(tc)) != NULL) {
149 if (testCase->getTagName().compare(test_case) == 0) {
150 char *id = getCString(testCase->getAttribute(id_attr));
151 char *script = getCString(testCase->getAttribute(script_attr));
152 char *lang = getCString(testCase->getAttribute(lang_attr));
187 while((element = testCase->nextChildElement(ec)) != NULL) {
xmlreader.cpp 163 const UXMLElement *testCase;
166 while((testCase = root->nextChildElement(tc)) != NULL) {
167 if (testCase->getTagName().compare(test_case) == 0) {
168 char *id = getCString(testCase->getAttribute(id_attr));
169 char *script = getCString(testCase->getAttribute(script_attr));
170 char *lang = getCString(testCase->getAttribute(lang_attr));
199 while((element = testCase->nextChildElement(ec)) != NULL) {
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/
slice.js 96 var testCase = new TestCase(SECTION, testname, true, passed);
98 testCase.reason = reason;
99 return testCase;
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/String/
slice.js 96 var testCase = new TestCase(SECTION, testname, true, passed);
98 testCase.reason = reason;
99 return testCase;
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 19 import junit.framework.TestCase;
27 * Represents a test to be run. Can be constructed without instantiating the TestCase or even
34 private final Class<? extends TestCase> enclosingClass;
36 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) {
40 public TestMethod(String methodName, Class<? extends TestCase> enclosingClass) {
46 public TestMethod(TestCase testCase) {
47 this(testCase.getName(), testCase.getClass());
67 public Class<? extends TestCase> getEnclosingClass()
    [all...]

Completed in 1211 milliseconds

1 2 3