/external/skia/tests/ |
TestUtils.h | 18 const char* testName); 23 GrSurfaceContext* srcContext, bool expectedToWork, const char* testName); 29 bool onlyTestRTConfig, const char* testName); 33 GrSurfaceContext* dstContext, const char* testName);
|
TestUtils.cpp | 18 const char* testName) { 27 ERRORF(reporter, "%s: Error reading from texture.", testName); 33 testName, i, expectedPixelValues[i], pixels.get()[i]); 41 const char* testName) { 56 ERRORF(reporter, "%s: Error writing to texture.", testName); 62 ERRORF(reporter, "%s: writePixels succeeded when it wasn't supposed to.", testName); 66 test_read_pixels(reporter, dstContext, pixels.get(), testName); 71 bool onlyTestRTConfig, const char* testName) { 88 test_read_pixels(reporter, dstContext.get(), expectedPixelValues, testName); 93 GrSurfaceContext* dstContext, const char* testName) { [all...] |
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
IdenticalRoundtripTest.java | 41 * By default, the input/output file should be a resource at [testDir]/[testName].smali 52 @Nonnull @Override protected String getInputFilename(@Nonnull String testName) { 53 return String.format("%s%s%s.smali", testDir, File.separatorChar, testName); 56 @Nonnull @Override protected String getOutputFilename(@Nonnull String testName) { 57 return getInputFilename(testName);
|
RoundtripTest.java | 47 * By default, the input and output files should be resources at [testDir]/[testName]Input.smali 48 * and [testDir]/[testName]Output.smali respectively 62 protected String getInputFilename(@Nonnull String testName) { 63 return String.format("%s%s%sInput.smali", testDir, File.separatorChar, testName); 67 protected String getOutputFilename(@Nonnull String testName) { 68 return String.format("%s%s%sOutput.smali", testDir, File.separatorChar, testName); 71 protected void runTest(@Nonnull String testName) { 72 runTest(testName, new BaksmaliOptions()); 75 protected void runTest(@Nonnull String testName, @Nonnull BaksmaliOptions options) { 78 String inputFilename = getInputFilename(testName); [all...] |
DisassemblyTest.java | 49 * By default, the input and output files should be resources at [testDir]/[testName]Input.dex 50 * and [testDir]/[testName]Output.smali respectively 55 protected String getOutputFilename(@Nonnull String testName) { 56 return String.format("%s%s%sOutput.smali", testDir, File.separatorChar, testName); 59 protected void runTest(@Nonnull String testName) { 60 runTest(testName, new BaksmaliOptions()); 63 protected void runTest(@Nonnull String testName, @Nonnull BaksmaliOptions options) { 65 DexBackedDexFile inputDex = getInputDexFile(testName, options); 71 String output = BaksmaliTestUtils.readResourceFully(getOutputFilename(testName));
|
DexTest.java | 49 * [testDir]/[testName]Input.dex 63 protected String getInputFilename(@Nonnull String testName) { 64 return String.format("%s%s%sInput.dex", testDir, File.separatorChar, testName); 68 protected DexBackedDexFile getInputDexFile(@Nonnull String testName, @Nonnull BaksmaliOptions options) { 71 byte[] inputBytes = BaksmaliTestUtils.readResourceBytesFully(getInputFilename(testName));
|
/external/junit/src/main/java/junit/runner/ |
TestRunListener.java | 20 public void testStarted(String testName); 22 public void testEnded(String testName); 24 public void testFailed(int status, String testName, String trace);
|
/frameworks/base/test-runner/src/junit/runner/ |
TestRunListener.java | 17 public void testStarted(String testName); 18 public void testEnded(String testName); 19 public void testFailed(int status, String testName, String trace);
|
/external/testng/src/test/java/test/name/ |
ITestSample.java | 13 public ThreadLocal<String> testName = new ThreadLocal<>(); 25 public void run(String testName) { 26 Assert.assertEquals(testName, this.testName.get()); 31 testName.set((String) testArgs[0]); 36 Assert.assertEquals((String) testArgs[0], this.testName.get()); 41 return testName.get();
|
NameSample.java | 6 @Test(testName = "NAME")
|
/external/testng/src/test/java/test/reports/ |
A.java | 5 @Test(suiteName = "SuiteA-JDK5", testName = "TestA-JDK5")
|
/external/antlr/antlr-3.4/gunit/src/test/java/org/antlr/gunit/ |
GunitTest.java | 16 * @param testName name of the test case 18 public GunitTest( String testName ) 20 super( testName );
|
/external/mockito/src/main/java/org/mockito/internal/junit/ |
StubbingHint.java | 14 StubbingHint(String testName) { 16 .append(testName).append(" (see javadoc for MockitoHint):");
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
UnitTestSuiteBuilderTest.java | 74 errors.add(testName(test)); 78 failures.add(testName(test)); 85 testsSeen.add(testName(test)); 88 public boolean saw(String testName) { 89 return testsSeen.contains(testName); 92 public boolean failed(String testName) { 93 return failures.contains(testName); 96 public boolean errored(String testName) { 97 return errors.contains(testName); 100 public boolean passed(String testName) { [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
VolumeShaperTest.java | 213 private static void checkEqual(String testName, 215 assertEquals(testName + " configuration should be equal", 217 assertEquals(testName + " configuration.hashCode() should be equal", 219 assertEquals(testName + " configuration.toString() should be equal", 223 private static void checkNotEqual(String testName, 225 assertTrue(testName + " configuration should not be equal", 227 assertTrue(testName + " configuration.hashCode() should not be equal", 229 assertTrue(testName + " configuration.toString() should not be equal", 567 final String testName = TEST_NAME + " " + player.name(); 574 fail(testName + " should not be able to create [all...] |
/external/r8/src/test/java/com/android/tools/r8/ |
D8NonLazyRunExamplesAndroidOTest.java | 15 D8LazyTestRunner(String testName, String packageName, String mainClass) { 16 super(testName, packageName, mainClass); 31 D8IncrementalTestRunner test(String testName, String packageName, String mainClass) { 32 return new D8LazyTestRunner(testName, packageName, mainClass);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
BitmapDumper.java | 45 public static void deleteFileInClassFolder(String className, String testName) { 53 if (file.startsWith(testName)) { 74 public static void dumpBitmaps(Bitmap idealBitmap, Bitmap testedBitmap, String testName, 89 saveFile(className, testName, IDEAL_RENDERING_FILE_NAME, idealBitmap); 90 saveFile(className, testName, TESTED_RENDERING_FILE_NAME, croppedBitmap); 91 saveFile(className, testName, VISUALIZER_RENDERING_FILE_NAME, visualizerBitmap); 94 public static void dumpBitmap(Bitmap bitmap, String testName, String className) { 96 Log.d(TAG, "File not saved, bitmap was null for test : " + testName); 99 saveFile(className, testName, SINGULAR_FILE_NAME, bitmap); 102 private static void saveFile(String className, String testName, String fileName, Bitmap bitmap) [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
ICaseResult.java | 30 * @param testName the name of the test eg <method-name> 33 ITestResult getOrCreateResult(String testName); 38 * @param testName the name of the test eg <method-name> 41 ITestResult getResult(String testName);
|
CaseResult.java | 52 public ITestResult getOrCreateResult(String testName) { 53 ITestResult result = mResults.get(testName); 55 result = new TestResult(this, testName); 56 mResults.put(testName, result); 65 public ITestResult getResult(String testName) { 66 return mResults.get(testName);
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
testlog.h | 36 testClass(callingTestClass), testName(callingTestName) {} 45 const char *const testName;
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_elementnormalize.java | 62 Element testName; 69 testName = (Element) elementList.item(0); 71 retNode = testName.appendChild(textNode); 73 retNode = testName.appendChild(textNode); 77 testName = (Element) elementList.item(0); 78 firstChild = testName.getFirstChild();
|
elementnormalize.java | 68 Element testName; 75 testName = (Element) elementList.item(2); 76 firstChild = testName.getFirstChild();
|
/external/icu/icu4c/source/test/intltest/ |
testidna.h | 74 void testToASCII(const char* testName, TestFunc func); 75 void testToUnicode(const char* testName, TestFunc func); 76 void testIDNToUnicode(const char* testName, TestFunc func); 77 void testIDNToASCII(const char* testName, TestFunc func); 78 void testCompare(const char* testName, CompareFunc func); 83 void testAPI(const UChar *src, const UChar *expected, const char *testName, 89 const char* testName, CompareFunc func, 95 void testChaining(const UChar* src,int32_t numIterations,const char* testName, 98 void testRootLabelSeparator(const char* testName, CompareFunc func,
|
/external/icu/icu4c/source/test/cintltst/ |
trie2test.c | 97 testTrieEnum(const char *testName, 110 testTrieGetters(const char *testName, 139 typeName, testName, (long)start, (long)value2, (long)value); 150 typeName, testName, (long)start, (long)value2, (long)value); 160 typeName, testName, (long)start, (long)value2, (long)value); 166 typeName, testName, (long)start, (long)value2, (long)value); 187 typeName, testName, (long)start, (long)value2, (long)value); 200 typeName, testName, (long)start, (long)value2, (long)errorValue); 206 if(0!=strncmp(testName, "dummy", 5) && 0!=strncmp(testName, "trie1", 5)) [all...] |
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
CustomManagedProfileTest.java | 53 final String testName = expected ? "testIsProvisioningAllowedTrue" 55 runDeviceTestsAsUser(MANAGED_PROFILE_PKG, ".PreManagedProfileTest", testName, userId);
|