/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/ |
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);
|
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);
|
/external/compiler-rt/test/builtins/Unit/ppc/ |
floatditf_test.h | 1 struct testCase { 7 struct testCase tests[] = { [all...] |
floatunditf_test.h | 1 struct testCase { 7 struct testCase tests[] = { [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/ |
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/chromium_org/third_party/WebKit/Source/core/editing/ |
CompositionUnderlineRangeFilterTest.cpp | 20 void initUnderlines(const String& testCase, Vector<CompositionUnderline>* underlines) 24 testCase.split('|', rangeList); 63 String testCase = "10,20"; // Semi-closed interval: {10, 11, ..., 19}. 65 initUnderlines(testCase, &underlines); 78 String testCase = "0,2|0,5|1,3|1,10|3,5|5,8|7,8|8,10"; 80 initUnderlines(testCase, &underlines);
|
/external/chromium_org/third_party/skia/tests/ |
AnnotationTest.cpp | 42 struct testCase { 59 testCase tests[] = {{(SkPDFDocument::Flags)0, true},
|
/external/skia/tests/ |
AnnotationTest.cpp | 42 struct testCase { 59 testCase tests[] = {{(SkPDFDocument::Flags)0, true},
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
ModeTest.java | 23 import junit.framework.TestCase; 29 public class ModeTest extends TestCase { 30 public void testCase() throws PatternSyntaxException {
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
ModeTest.java | 19 import junit.framework.TestCase; 28 public class ModeTest extends TestCase { 30 public void testCase() throws PatternSyntaxException {
|
PatternSyntaxExceptionTest.java | 24 import junit.framework.TestCase; 28 public class PatternSyntaxExceptionTest extends TestCase { 89 public void testCase() {
|
/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/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...] |
/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/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...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
TestSuiteAdapter.java | 59 TestCase testCase = new TestCase(in, out); 60 currentRule.addTestCase(testCase);
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
TestCaseCollector.java | 19 import junit.framework.TestCase; 34 private List<TestCase> mTestCases; 39 mTestCases = new ArrayList<TestCase>(); 99 * @return a list of {@link TestCase} 101 public List<TestCase> getTestCases() { 110 TestCase testCase = (TestCase) clazz.newInstance(); 111 testCase.setName(method); 112 mTestCases.add(testCase); [all...] |
/frameworks/base/test-runner/src/android/test/ |
TestCaseUtil.java | 22 import junit.framework.TestCase; 64 * If we want to run a single TestCase method only, we must not 68 if (test instanceof TestCase && 69 ((TestCase)test).getName() == null) { 101 * Additional check necessary: If a TestCase contains a suite() 102 * method that returns a TestSuite including the TestCase itself, 124 if (test instanceof TestCase) { 125 TestCase testCase = (TestCase) test [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...] |
/cts/suite/audio_quality/lib/src/task/ |
ModelBuilder.cpp | 204 UniquePtr<TaskCase> testCase; 213 testCase.reset(parseInclude(*inc, path)); 214 if (testCase.get() == NULL) { 218 if (!batch.get()->addChild(testCase.get())) { 221 TaskGeneric* donotuse = testCase.release(); // parent will take care of destruction.
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
InstrumentationTestSuiteBuilderTest.java | 25 import junit.framework.TestCase; 34 public class InstrumentationTestSuiteBuilderTest extends TestCase { 112 TestCase testCase = (TestCase) test; 113 return testCase.getClass().getSimpleName() + "." + testCase.getName();
|
UnitTestSuiteBuilderTest.java | 24 import junit.framework.TestCase; 32 public class UnitTestSuiteBuilderTest extends TestCase { 105 TestCase testCase = (TestCase) test; 106 return testCase.getClass().getSimpleName() + "." + testCase.getName();
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
JarHostTest.java | 38 import junit.framework.TestCase; 281 if (TestCase.class.isAssignableFrom(testClass)) { 282 TestCase testCase = (TestCase)testClass.newInstance(); 283 testCase.setName(testName); 284 return testCase;
|