Searched refs:testName (Results 1 - 25 of 152) sorted by relevance

1234567

/external/skia/tests/
H A DTestUtils.h18 const char* testName);
23 GrSurfaceContext* srcContext, bool expectedToWork, const char* testName);
29 bool onlyTestRTConfig, const char* testName);
33 GrSurfaceContext* dstContext, const char* testName);
H A DTestUtils.cpp18 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) {
86 test_read_pixels(reporter, dstContext.get(), expectedPixelValues, testName);
91 GrSurfaceContext* dstContext, const char* testName) {
16 test_read_pixels(skiatest::Reporter* reporter, GrSurfaceContext* srcContext, uint32_t expectedPixelValues[], const char* testName) argument
39 test_write_pixels(skiatest::Reporter* reporter, GrSurfaceContext* dstContext, bool expectedToWork, const char* testName) argument
69 test_copy_from_surface(skiatest::Reporter* reporter, GrContext* context, GrSurfaceProxy* proxy, uint32_t expectedPixelValues[], bool onlyTestRTConfig, const char* testName) argument
90 test_copy_to_surface(skiatest::Reporter* reporter, GrResourceProvider* resourceProvider, GrSurfaceContext* dstContext, const char* testName) argument
[all...]
H A DPathOpsExtendedTest.h36 const SkPathOp , const char* testName);
38 const SkPathOp , const char* testName, bool checkFail);
40 const SkPathOp, const char* testName);
42 const SkPath& b, const SkPathOp , const char* testName);
51 void initializeTests(skiatest::Reporter* reporter, const char* testName);
/external/smali/baksmali/src/test/java/org/jf/baksmali/
H A DIdenticalRoundtripTest.java41 * By default, the input/output file should be a resource at [testDir]/[testName].smali
52 @Nonnull @Override protected String getInputFilename(@Nonnull String testName) { argument
53 return String.format("%s%s%s.smali", testDir, File.separatorChar, testName);
56 @Nonnull @Override protected String getOutputFilename(@Nonnull String testName) { argument
57 return getInputFilename(testName);
H A DRoundtripTest.java47 * 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) { argument
63 return String.format("%s%s%sInput.smali", testDir, File.separatorChar, testName);
67 protected String getOutputFilename(@Nonnull String testName) { argument
68 return String.format("%s%s%sOutput.smali", testDir, File.separatorChar, testName);
71 protected void runTest(@Nonnull String testName) { argument
72 runTest(testName, new baksmaliOptions());
75 protected void runTest(@Nonnull String testName, @Nonnull baksmaliOptions options) { argument
78 String inputFilename = getInputFilename(testName);
[all...]
H A DDisassemblyTest.java49 * 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) { argument
56 return String.format("%s%s%sOutput.smali", testDir, File.separatorChar, testName);
59 protected void runTest(@Nonnull String testName) { argument
60 runTest(testName, new baksmaliOptions());
63 protected void runTest(@Nonnull String testName, @Nonnull baksmaliOptions options) { argument
65 DexBackedDexFile inputDex = getInputDexFile(testName, options);
71 String output = BaksmaliTestUtils.readResourceFully(getOutputFilename(testName));
H A DDexTest.java49 * [testDir]/[testName]Input.dex
63 protected String getInputFilename(@Nonnull String testName) { argument
64 return String.format("%s%s%sInput.dex", testDir, File.separatorChar, testName);
68 protected DexBackedDexFile getInputDexFile(@Nonnull String testName, @Nonnull baksmaliOptions options) { argument
71 byte[] inputBytes = BaksmaliTestUtils.readResourceBytesFully(getInputFilename(testName));
/external/junit/src/main/java/junit/runner/
H A DTestRunListener.java20 public void testStarted(String testName); argument
22 public void testEnded(String testName); argument
24 public void testFailed(int status, String testName, String trace); argument
/external/testng/src/test/java/test/name/
H A DITestSample.java13 public ThreadLocal<String> testName = new ThreadLocal<>(); field in class:ITestSample
25 public void run(String testName) { argument
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();
H A DNameSample.java6 @Test(testName = "NAME")
/external/testng/src/test/java/test/reports/
H A DA.java5 @Test(suiteName = "SuiteA-JDK5", testName = "TestA-JDK5")
H A DReportTest.java26 String testName = "TmpTest";
27 XmlSuite suite = TestHelper.createSuite(test.simple.SimpleTest.class, suiteName, testName);
31 File f = getHtmlReportFile(outputDir, suiteName, testName);
47 String testName = "Test1";
48 xmlTest.setName(testName);
59 File f = getHtmlReportFile(outputDirectory, suiteName, testName);
72 String testName = "TmpTest";
74 XmlSuite xmlSuiteA = TestHelper.createSuite(test.reports.A.class, suiteNameA, testName);
77 XmlSuite xmlSuiteB = TestHelper.createSuite(test.reports.B.class, suiteNameB, testName);
83 File f1 = getHtmlReportFile(outputDirectory, suiteNameA, testName);
92 getHtmlReportFile(File outputDir, String suiteName, String testName) argument
[all...]
/external/antlr/antlr-3.4/gunit/src/test/java/org/antlr/gunit/
H A DGunitTest.java16 * @param testName name of the test case
18 public GunitTest( String testName )
20 super( testName );
/external/mockito/src/main/java/org/mockito/internal/junit/
H A DStubbingHint.java14 StubbingHint(String testName) { argument
16 .append(testName).append(" (see javadoc for MockitoHint):");
H A DMismatchReportingTestListener.java29 String testName = TestName.getTestName(event);
32 new ArgMismatchFinder().getStubbingArgMismatches(createdMocks).format(testName, logger);
H A DUniversalTestListener.java59 String testName = event.getTestClassInstance().getClass().getSimpleName() + "." + event.getTestMethodName();
63 new ArgMismatchFinder().getStubbingArgMismatches(mocks).format(testName, logger);
66 new UnusedStubbingsFinder().getUnusedStubbings(mocks).format(testName, logger);
/external/icu/icu4c/source/test/intltest/
H A Dtestidna.h74 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,
H A Dtestidna.cpp453 void TestIDNA::testAPI(const UChar* src, const UChar* expected, const char* testName, argument
482 errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source. Expected : "
488 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName);
494 UnicodeString(testName)+
512 //errln("Did not get the expected result for %s null terminated source with both options set.\n",testName);
513 errln("Did not get the expected result for "+UnicodeString(testName) +
522 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName);
528 UnicodeString(testName)+
547 errln("Did not get the expected result for %s with source length.\n",testName);
550 errln( "%s with source length failed. Requires destCapacity > 300\n",testName);
649 testCompare(const UChar* s1, int32_t s1Len, const UChar* s2, int32_t s2Len, const char* testName, CompareFunc func, UBool isEqual) argument
695 testToASCII(const char* testName, TestFunc func) argument
707 testToUnicode(const char* testName, TestFunc func) argument
719 testIDNToUnicode(const char* testName, TestFunc func) argument
745 testIDNToASCII(const char* testName, TestFunc func) argument
771 testCompare(const char* testName, CompareFunc func) argument
996 testChaining(const UChar* src,int32_t numIterations,const char* testName, UBool useSTD3ASCIIRules, UBool caseInsensitive, TestFunc func) argument
1168 testRootLabelSeparator(const char* testName, CompareFunc func, const char* IDNToASCIIName, TestFunc IDNToASCII, const char* IDNToUnicodeName, TestFunc IDNToUnicode) argument
[all...]
H A Dusettest.h177 const char *testName, int32_t index);
180 const char *testName, int32_t index);
184 const char *testName, int32_t index);
185 void testSpanContents(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, const char *testName);
186 void testSpanUTF16String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, const char *testName);
187 void testSpanUTF8String(const UnicodeSetWithStrings *sets[4], uint32_t whichSpans, const char *testName);
/external/icu/icu4c/source/test/cintltst/
H A Dtrie2test.c97 testTrieEnum(const char *testName, argument
110 testTrieGetters(const char *testName, argument
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, "trie
269 testTrieUTF16(const char *testName, const UTrie2 *trie, UTrie2ValueBits valueBits, const CheckRange checkRanges[], int32_t countCheckRanges) argument
349 testTrieUTF8(const char *testName, const UTrie2 *trie, UTrie2ValueBits valueBits, const CheckRange checkRanges[], int32_t countCheckRanges) argument
485 testFrozenTrie(const char *testName, UTrie2 *trie, UTrie2ValueBits valueBits, const CheckRange checkRanges[], int32_t countCheckRanges) argument
534 testNewTrie(const char *testName, const UTrie2 *trie, const CheckRange checkRanges[], int32_t countCheckRanges) argument
542 testTrieSerialize(const char *testName, UTrie2 *trie, UTrie2ValueBits valueBits, UBool withSwap, const CheckRange checkRanges[], int32_t countCheckRanges) argument
751 testTrieSerializeAllValueBits(const char *testName, UTrie2 *trie, UBool withClone, const CheckRange checkRanges[], int32_t countCheckRanges) argument
797 makeTrieWithRanges(const char *testName, UBool withClone, const SetRange setRanges[], int32_t countSetRanges, const CheckRange checkRanges[], int32_t countCheckRanges) argument
857 testTrieRanges(const char *testName, UBool withClone, const SetRange setRanges[], int32_t countSetRanges, const CheckRange checkRanges[], int32_t countCheckRanges) argument
1059 static const char *const testName="enum-for-lead"; local
1111 const char *testName; local
1155 static const char *const testName="free-blocks"; local
1208 static const char *const testName="grow-data"; local
1284 makeNewTrie1WithRanges(const char *testName, const SetRange setRanges[], int32_t countSetRanges, const CheckRange checkRanges[], int32_t countCheckRanges) argument
1329 testTrie2FromTrie1(const char *testName, const SetRange setRanges[], int32_t countSetRanges, const CheckRange checkRanges[], int32_t countCheckRanges) argument
[all...]
H A Dtrietest.c141 testTrieIteration(const char *testName, argument
178 testName, c, c2, value, values[i]);
186 testName, c, c2);
211 testName, c, c2, value, values[i]);
223 testName, c, c2, value, values[i]);
242 testName, c, c2, value, values[i]);
250 testName, c, c2);
256 testTrieRangesWithMalloc(const char *testName, argument
273 log_verbose("\ntesting Trie '%s'\n", testName);
292 log_err("error: setting values into a trie failed (%s)\n", testName);
445 testTrieRanges(const char *testName, const SetRange setRanges[], int32_t countSetRanges, const CheckRange checkRanges[], int32_t countCheckRanges, UBool dataIs32, UBool latin1Linear) argument
653 testTrieRanges2(const char *testName, const SetRange setRanges[], int32_t countSetRanges, const CheckRange checkRanges[], int32_t countCheckRanges, UBool dataIs32) argument
681 testTrieRanges4(const char *testName, const SetRange setRanges[], int32_t countSetRanges, const CheckRange checkRanges[], int32_t countCheckRanges) argument
[all...]
H A Didnatest.c73 testAPI(const UChar* src, const UChar* expected, const char* testName, argument
106 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName);
111 log_err_status(status, "Did not get the expected error for %s null terminated source failed. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
125 log_err("Did not get the expected result for %s null terminated source with both options set.\n",testName);
129 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName);
134 log_err( "Did not get the expected error for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
149 log_err("Did not get the expected result for %s with source length.\n",testName);
152 log_err( "%s with source length failed. Requires destCapacity > 300\n",testName);
157 log_err( "Did not get the expected error for %s with source length. Expected: %s Got: %s\n",testName, u_errorName(expectedStatus), u_errorName(status));
171 log_err("Did not get the expected result for %s with source length and both options set.\n",testName);
433 const char* testName = "uidna_toASCII"; local
447 const char* testName = "uidna_toUnicode"; local
464 const char* testName="uidna_IDNToUnicode"; local
493 const char* testName="udina_IDNToASCII"; local
518 testCompareWithSrc(const UChar* s1, int32_t s1Len, const UChar* s2, int32_t s2Len, const char* testName, CompareFunc func, UBool isEqual) argument
569 const char* testName ="uidna_compare"; local
[all...]
H A Dstdnmtst.c174 const char *enumName, *testName; local
194 testName = expected[idx];
195 if (uprv_strcmp(enumName, testName) != 0 || U_FAILURE(err)
199 idx, enumName, testName, len, u_errorName(err));
245 UChar testName[256]; local
248 u_uastrncpy(testName, expected[idx], UPRV_LENGTHOF(testName));
249 if (u_strcmp(enumName, testName) != 0 || U_FAILURE(err)
253 idx, enumName, testName, len, u_errorName(err));
/external/icu/icu4c/source/tools/ctestfw/unicode/
H A Dtestlog.h36 testClass(callingTestClass), testName(callingTestName) {}
45 const char *const testName; member in class:IcuTestErrorCode
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
H A DBreakpoint002Test.java158 private void testBreakpointIn(String testName, String methodName) { argument
159 logWriter.println(testName + " started");
172 logWriter.println(testName + " done");

Completed in 453 milliseconds

1234567