Home
last modified time | relevance | path

Searched refs:testName (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c98 testTrieEnum(const char *testName, in testTrieEnum() argument
111 testTrieGetters(const char *testName, in testTrieGetters() argument
140 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
151 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
161 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
167 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
188 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
201 typeName, testName, (long)start, (long)value2, (long)errorValue); in testTrieGetters()
207 if(0!=strncmp(testName, "dummy", 5) && 0!=strncmp(testName, "trie1", 5)) { in testTrieGetters()
236 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
[all …]
Ducptrietest.c109 testTrieGetRanges(const char *testName, const UCPTrie *trie, const UMutableCPTrie *mutableTrie, in testTrieGetRanges() argument
125 sprintf(name, "%s/%s(%s) min=U+%04lx", typeName, optionName, testName, (long)start); in testTrieGetRanges()
184 testTrieGetters(const char *testName, const UCPTrie *trie, in testTrieGetters() argument
213 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
228 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
241 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
263 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
269 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
295 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
331 typeName, testName); in testTrieGetters()
[all …]
Dtrietest.c141 testTrieIteration(const char *testName, in testTrieIteration() argument
178 testName, c, c2, value, values[i]); in testTrieIteration()
186 testName, c, c2); in testTrieIteration()
211 testName, c, c2, value, values[i]); in testTrieIteration()
223 testName, c, c2, value, values[i]); in testTrieIteration()
242 testName, c, c2, value, values[i]); in testTrieIteration()
250 testName, c, c2); in testTrieIteration()
256 testTrieRangesWithMalloc(const char *testName, in testTrieRangesWithMalloc() argument
273 log_verbose("\ntesting Trie '%s'\n", testName); in testTrieRangesWithMalloc()
292 log_err("error: setting values into a trie failed (%s)\n", testName); in testTrieRangesWithMalloc()
[all …]
Didnatest.c73 testAPI(const UChar* src, const UChar* expected, const char* testName, in testAPI() argument
106 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
111 …ted error for %s null terminated source failed. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
125 …"Did not get the expected result for %s null terminated source with both options set.\n",testName); in testAPI()
129 … log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
134 …for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
149 log_err("Did not get the expected result for %s with source length.\n",testName); in testAPI()
152 log_err( "%s with source length failed. Requires destCapacity > 300\n",testName); in testAPI()
157 …t the expected error for %s with source length. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
171 …_err("Did not get the expected result for %s with source length and both options set.\n",testName); in testAPI()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtestidna.cpp454 void TestIDNA::testAPI(const UChar* src, const UChar* expected, const char* testName, in testAPI() argument
487 …errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source. Ex… in testAPI()
493 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
499 UnicodeString(testName)+ in testAPI()
518 errln("Did not get the expected result for "+UnicodeString(testName) + in testAPI()
527 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
533 UnicodeString(testName)+ in testAPI()
552 errln("Did not get the expected result for %s with source length.\n",testName); in testAPI()
555 errln( "%s with source length failed. Requires destCapacity > 300\n",testName); in testAPI()
561 UnicodeString(testName)+ in testAPI()
[all …]
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,
Dlistformattertest.cpp84 … const UnicodeString& expected_result, const char* testName) { in CheckFormatting() argument
86 IcuTestErrorCode errorCode(*this, testName); in CheckFormatting()
95 UnicodeString three, UnicodeString four, UnicodeString results[4], const char* testName) { in CheckFourCases() argument
96 IcuTestErrorCode errorCode(*this, testName); in CheckFourCases()
103 CheckFormatting(formatter.getAlias(), input1, 1, results[0], testName); in CheckFourCases()
106 CheckFormatting(formatter.getAlias(), input2, 2, results[1], testName); in CheckFourCases()
109 CheckFormatting(formatter.getAlias(), input3, 3, results[2], testName); in CheckFourCases()
112 CheckFormatting(formatter.getAlias(), input4, 4, results[3], testName); in CheckFourCases()
116 UnicodeString three, UnicodeString four, UnicodeString results[4], const char* testName) { in RecordFourCases() argument
117 IcuTestErrorCode errorCode(*this, testName); in RecordFourCases()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DCodePointTrieTest.java159 testTrieGetRanges(String testName, CodePointMap trie, in testTrieGetRanges() argument
173 String name = String.format("%s/%s(%s) min=U+%04x", typeName, option, testName, start); in testTrieGetRanges()
221 testTrieGetters(String testName, CodePointTrie trie, in testTrieGetters() argument
246 typeName, testName, start, value2, value)); in testTrieGetters()
256 typeName, testName, start, value2, value)); in testTrieGetters()
264 typeName, testName, start, value2, value)); in testTrieGetters()
273 typeName, testName, start, value2, value)); in testTrieGetters()
289 typeName, testName)); in testTrieGetters()
294 … testBuilderGetters(String testName, MutableCodePointTrie mutableTrie, CheckRange checkRanges[]) { in testBuilderGetters() argument
314 typeName, testName, start, value2, value)); in testBuilderGetters()
[all …]
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DRoundtripTest.java62 protected String getInputFilename(@Nonnull String testName) { in getInputFilename() argument
63 return String.format("%s%s%sInput.smali", testDir, File.separatorChar, testName); in getInputFilename()
67 protected String getOutputFilename(@Nonnull String testName) { in getOutputFilename() argument
68 return String.format("%s%s%sOutput.smali", testDir, File.separatorChar, testName); in getOutputFilename()
71 protected void runTest(@Nonnull String testName) { in runTest() argument
72 runTest(testName, new BaksmaliOptions()); in runTest()
75 protected void runTest(@Nonnull String testName, @Nonnull BaksmaliOptions options) { in runTest() argument
78 String inputFilename = getInputFilename(testName); in runTest()
79 String input = BaksmaliTestUtils.readResourceFully(getInputFilename(testName)); in runTest()
81 if (getOutputFilename(testName).equals(inputFilename)) { in runTest()
[all …]
DDisassemblyTest.java55 protected String getOutputFilename(@Nonnull String testName) { in getOutputFilename() argument
56 return String.format("%s%s%sOutput.smali", testDir, File.separatorChar, testName); in getOutputFilename()
59 protected void runTest(@Nonnull String testName) { in runTest() argument
60 runTest(testName, new BaksmaliOptions()); in runTest()
63 protected void runTest(@Nonnull String testName, @Nonnull BaksmaliOptions options) { in runTest() argument
65 DexBackedDexFile inputDex = getInputDexFile(testName, options); in runTest()
71 String output = BaksmaliTestUtils.readResourceFully(getOutputFilename(testName)); in runTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCodePointTrieTest.java156 testTrieGetRanges(String testName, CodePointMap trie, in testTrieGetRanges() argument
170 String name = String.format("%s/%s(%s) min=U+%04x", typeName, option, testName, start); in testTrieGetRanges()
218 testTrieGetters(String testName, CodePointTrie trie, in testTrieGetters() argument
243 typeName, testName, start, value2, value)); in testTrieGetters()
253 typeName, testName, start, value2, value)); in testTrieGetters()
261 typeName, testName, start, value2, value)); in testTrieGetters()
270 typeName, testName, start, value2, value)); in testTrieGetters()
286 typeName, testName)); in testTrieGetters()
291 … testBuilderGetters(String testName, MutableCodePointTrie mutableTrie, CheckRange checkRanges[]) { in testBuilderGetters() argument
311 typeName, testName, start, value2, value)); in testBuilderGetters()
[all …]
/external/skqp/tools/skqp/src/
Dskqp_main.cpp101 auto testName = testPrefix + SkQP::GetGMName(gmFactory); in main() local
102 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
105 out << "Starting: " << testName << std::endl; in main()
111 out << "ERROR: " << testName << " (" << except << ")\n"; in main()
114 out << "FAILED: " << testName << " (" << outcome.fMaxError << ")\n"; in main()
117 out << "Passed: " << testName << "\n"; in main()
125 auto testName = std::string("unitTest_") + SkQP::GetUnitTestName(test); in main() local
126 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
129 out << "Starting test: " << testName << std::endl; in main()
132 out << "TEST FAILED (" << errors.size() << "): " << testName << "\n"; in main()
[all …]
/external/skia/tools/skqp/src/
Dskqp_main.cpp101 auto testName = testPrefix + SkQP::GetGMName(gmFactory); in main() local
102 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
105 out << "Starting: " << testName << std::endl; in main()
111 out << "ERROR: " << testName << " (" << except << ")\n"; in main()
114 out << "FAILED: " << testName << " (" << outcome.fMaxError << ")\n"; in main()
117 out << "Passed: " << testName << "\n"; in main()
125 auto testName = std::string("unitTest_") + SkQP::GetUnitTestName(test); in main() local
126 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
129 out << "Starting test: " << testName << std::endl; in main()
132 out << "TEST FAILED (" << errors.size() << "): " << testName << "\n"; in main()
[all …]
/external/testng/src/test/java/test/reports/
DReportTest.java26 String testName = "TmpTest"; in verifyIndex() local
27 XmlSuite suite = TestHelper.createSuite(test.simple.SimpleTest.class, suiteName, testName); in verifyIndex()
31 File f = getHtmlReportFile(outputDir, suiteName, testName); in verifyIndex()
47 String testName = "Test1"; in directoryShouldBeSuiteName() local
48 xmlTest.setName(testName); in directoryShouldBeSuiteName()
59 File f = getHtmlReportFile(outputDirectory, suiteName, testName); in directoryShouldBeSuiteName()
72 String testName = "TmpTest"; in oneDirectoryPerSuite() local
74 XmlSuite xmlSuiteA = TestHelper.createSuite(test.reports.A.class, suiteNameA, testName); in oneDirectoryPerSuite()
77 XmlSuite xmlSuiteB = TestHelper.createSuite(test.reports.B.class, suiteNameB, testName); in oneDirectoryPerSuite()
83 File f1 = getHtmlReportFile(outputDirectory, suiteNameA, testName); in oneDirectoryPerSuite()
[all …]
/external/skia/modules/pathkit/tests/
Dpathops.spec.js11 function addSVG(testName, expectedPath, actualPath, message) { argument
32 <h2>Failed test ${testName}</h2>
131 for (testName of testNames) {
132 let test = json[testName];
145 … expect(combined).toBeNull(`Test ${testName} should have not created output, but did`);
156 expect(`[${testName}] ${diff}`).toBe('');
157 addSVG('[PathOps] ' + testName, expected, combined, diff);
163 … expect(`[${testName}] was expected to have paths that differed`).not.toBe('');
189 for (testName of testNames) {
190 let test = json[testName];
[all …]
/external/skqp/modules/pathkit/tests/
Dpathops.spec.js11 function addSVG(testName, expectedPath, actualPath, message) { argument
32 <h2>Failed test ${testName}</h2>
131 for (testName of testNames) {
132 let test = json[testName];
145 … expect(combined).toBeNull(`Test ${testName} should have not created output, but did`);
156 expect(`[${testName}] ${diff}`).toBe('');
157 addSVG('[PathOps] ' + testName, expected, combined, diff);
163 … expect(`[${testName}] was expected to have paths that differed`).not.toBe('');
189 for (testName of testNames) {
190 let test = json[testName];
[all …]
/external/deqp-deps/glslang/gtests/
DTestFixture.h428 const std::string& testName,
439 const std::string inputFname = testDir + "/" + testName;
441 testDir + baseDir + testName + ".out";
452 …GlslangResult result = compileAndLink(testName, input, entryPointName, controls, clientTargetVersi…
464 const std::string &testName,
472 const std::string inputFname = testDir + "/" + testName;
473 const std::string expectedOutputFname = testDir + baseDir + testName + ".out";
481 …GlslangResult result = compileAndLink(testName, input, entryPointName, controls, clientTargetVersi…
492 const std::string& testName,
498 const std::string inputFname = testDir + "/" + testName;
[all …]
/external/testng/src/test/java/test/name/
DITestSample.java13 public ThreadLocal<String> testName = new ThreadLocal<>(); field in ITestSample
25 public void run(String testName) { in run() argument
26 Assert.assertEquals(testName, this.testName.get()); in run()
31 testName.set((String) testArgs[0]); in init()
36 Assert.assertEquals((String) testArgs[0], this.testName.get()); in tearDown()
41 return testName.get(); in getTestName()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCompositeInsertTests.cpp199 string testName = string("vec") + de::toString(elements); in addComputeVectorCompositeInsertTests() local
201 …group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), "Tests vector composite ins… in addComputeVectorCompositeInsertTests()
219 const string testName = string("vec") + de::toString(elements); in addGraphicsVectorCompositeInsertTests() local
259 …createTestForStage(VK_SHADER_STAGE_VERTEX_BIT, (testName + "_vert").c_str(), defaultColors, defaul… in addGraphicsVectorCompositeInsertTests()
262 …createTestForStage(VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, (testName + "_tessc").c_str(), defaul… in addGraphicsVectorCompositeInsertTests()
265 …createTestForStage(VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, (testName + "_tesse").c_str(), def… in addGraphicsVectorCompositeInsertTests()
268 …createTestForStage(VK_SHADER_STAGE_GEOMETRY_BIT, (testName + "_geom").c_str(), defaultColors, defa… in addGraphicsVectorCompositeInsertTests()
273 …createTestForStage(VK_SHADER_STAGE_FRAGMENT_BIT, (testName + "_frag").c_str(), defaultColors, defa… in addGraphicsVectorCompositeInsertTests()
345 string testName = string("mat") + de::toString(cols) + "x" + de::toString(rows); in addComputeMatrixCompositeInsertTests() local
347 …group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), "Tests matrix composite ins… in addComputeMatrixCompositeInsertTests()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DSpoofCheckerTest.java394 public void checkSkeleton(SpoofChecker sc, String testName) { in checkSkeleton() argument
400 checkSkeleton(sc, MA, "\\u02b9identifier'", "'identifier'", testName); in checkSkeleton()
402 checkSkeleton(sc, SL, "nochange", "nochange", testName); in checkSkeleton()
403 checkSkeleton(sc, SA, "nochange", "nochange", testName); in checkSkeleton()
404 checkSkeleton(sc, ML, "nochange", "nochange", testName); in checkSkeleton()
405 checkSkeleton(sc, MA, "nochange", "nochange", testName); in checkSkeleton()
406 checkSkeleton(sc, MA, "love", "love", testName); in checkSkeleton()
407 checkSkeleton(sc, MA, "1ove", "love", testName); // Digit 1 to letter l in checkSkeleton()
408 checkSkeleton(sc, ML, "OOPS", "OOPS", testName); in checkSkeleton()
409 checkSkeleton(sc, ML, "00PS", "OOPS", testName); in checkSkeleton()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java391 public void checkSkeleton(SpoofChecker sc, String testName) { in checkSkeleton() argument
397 checkSkeleton(sc, MA, "\\u02b9identifier'", "'identifier'", testName); in checkSkeleton()
399 checkSkeleton(sc, SL, "nochange", "nochange", testName); in checkSkeleton()
400 checkSkeleton(sc, SA, "nochange", "nochange", testName); in checkSkeleton()
401 checkSkeleton(sc, ML, "nochange", "nochange", testName); in checkSkeleton()
402 checkSkeleton(sc, MA, "nochange", "nochange", testName); in checkSkeleton()
403 checkSkeleton(sc, MA, "love", "love", testName); in checkSkeleton()
404 checkSkeleton(sc, MA, "1ove", "love", testName); // Digit 1 to letter l in checkSkeleton()
405 checkSkeleton(sc, ML, "OOPS", "OOPS", testName); in checkSkeleton()
406 checkSkeleton(sc, ML, "00PS", "OOPS", testName); in checkSkeleton()
[all …]
/external/harfbuzz_ng/test/shaping/data/aots/
Dhb-aots-tester.cpp30 hb_buffer_t *runTest(const char *testName, in runTest() argument
44 printf ("------------------------------- %s\n", testName); in runTest()
124 bool gsub_test(const char *testName, in gsub_test() argument
130 hb_buffer_t *buffer = runTest(testName, in gsub_test()
154 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in gsub_test()
187 printf ("******* GSUB %s\n", testName); in gsub_test()
206 bool gpos_test(const char *testName, in gpos_test() argument
215 hb_buffer_t *buffer = runTest(testName, in gpos_test()
260 printf ("******* GPOS %s\n", testName); in gpos_test()
287 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in gpos_test()
/external/skia/tests/
DTestUtils.cpp22 const char* testName) { in test_read_pixels() argument
31 ERRORF(reporter, "%s: Error reading from texture.", testName); in test_read_pixels()
37 testName, i, expectedPixelValues[i], pixels.get()[i]); in test_read_pixels()
45 const char* testName) { in test_write_pixels() argument
60 ERRORF(reporter, "%s: Error writing to texture.", testName); in test_write_pixels()
66 ERRORF(reporter, "%s: writePixels succeeded when it wasn't supposed to.", testName); in test_write_pixels()
70 test_read_pixels(reporter, dstContext, pixels.get(), testName); in test_write_pixels()
75 bool onlyTestRTConfig, const char* testName) { in test_copy_from_surface() argument
93 test_read_pixels(reporter, dstContext.get(), expectedPixelValues, testName); in test_copy_from_surface()
100 const char* testName) { in test_copy_to_surface() argument
[all …]
/external/skqp/tests/
DTestUtils.cpp22 const char* testName) { in test_read_pixels() argument
31 ERRORF(reporter, "%s: Error reading from texture.", testName); in test_read_pixels()
37 testName, i, expectedPixelValues[i], pixels.get()[i]); in test_read_pixels()
45 const char* testName) { in test_write_pixels() argument
60 ERRORF(reporter, "%s: Error writing to texture.", testName); in test_write_pixels()
66 ERRORF(reporter, "%s: writePixels succeeded when it wasn't supposed to.", testName); in test_write_pixels()
70 test_read_pixels(reporter, dstContext, pixels.get(), testName); in test_write_pixels()
75 bool onlyTestRTConfig, const char* testName) { in test_copy_from_surface() argument
93 test_read_pixels(reporter, dstContext.get(), expectedPixelValues, testName); in test_copy_from_surface()
98 GrSurfaceContext* dstContext, const char* testName) { in test_copy_to_surface() argument
[all …]
DPathOpsExtendedTest.cpp44 SkDEBUGPARAMS(const char* testName));
48 SkDEBUGPARAMS(const char* testName));
342 static void showPathOpPath(const char* testName, const SkPath& one, const SkPath& two, in showPathOpPath() argument
346 if (!testName) { in showPathOpPath()
347 testName = "xOp"; in showPathOpPath()
350 testName, opSuffixes[shapeOp]); in showPathOpPath()
362 static int comparePaths(skiatest::Reporter* reporter, const char* testName, const SkPath& one, in comparePaths() argument
380 showPathOpPath(testName, one, two, a, b, scaledOne, scaledTwo, shapeOp, scale); in comparePaths()
390 static const char* testName = "pathOpTest"; variable
393 out += testName; in appendTestName()
[all …]

12345678910