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

1 2

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
GuardedObjectTest.java 46 public void assertDeserialized(Serializable golden, Serializable test) {
47 assertSame(golden.getClass(), test.getClass());
48 assertEquals(((GuardedObject) golden).getObject(),
  /external/chromium_org/tools/gyp/test/variables/filelist/
update_golden 8 cp -f src/filelist.gypd filelist.gypd.golden
  /external/owasp/sanitizer/src/tests/org/owasp/html/
CssTokensTest.java 85 // input golden
117 golden = tests[i+1]; local
119 assertEquals(input, golden != null ? golden : "", tokens.normalizedCss);
121 assertEquals(input, it.hasNext(), golden != null);
122 if (golden != null) {
124 assertEquals(input, golden, it.next());
156 // input golden
197 golden = tests[i+1]; local
201 if (golden != null)
    [all...]
HtmlLexerTest.java 53 // Get the golden.
54 String golden = Resources.toString( local
59 assertEquals(golden, actual.toString());
133 // Do C style escaping of the token text so that each token in the golden
148 private static void assertTokens(String markup, String... golden) {
155 assertEquals(Arrays.asList(golden), actual);
EncodingTest.java 43 String golden = local
45 assertEquals(golden, Encoding.decodeHtml(html));
48 assertSame(golden, Encoding.decodeHtml(golden));
HtmlStreamRendererTest.java 283 private void assertNormalized(String golden, String htmlInput)
285 assertEquals(golden, normalize(htmlInput));
288 if (!golden.equals(htmlInput)) {
289 assertNormalized(golden, golden);
  /build/tools/
check_builds.sh 55 rm -rf $TEST_BUILD_DIR/golden-* $TEST_BUILD_DIR/dist-*
56 do_builds golden "$@"
64 inputs="$inputs $TEST_BUILD_DIR/golden-$1/installed-files.txt"
83 diff $TEST_BUILD_DIR/golden-$1/installed-files.txt $TEST_BUILD_DIR/dist-$1/installed-files.txt &> /dev/null
86 diff $TEST_BUILD_DIR/golden-$1/installed-files.txt $TEST_BUILD_DIR/dist-$1/installed-files.txt
  /external/chromium_org/tools/gyp/test/variables/commands/
update_golden 9 cp -f commands.gypd commands.gypd.golden
11 cp -f commands-repeated.gypd commands-repeated.gypd.golden
  /libcore/luni/src/test/java/libcore/util/
SerializationTester.java 30 private final String golden; field in class:SerializationTester
33 public SerializationTester(T value, String golden) {
34 this.golden = golden;
55 if (golden == null || golden.length() == 0) {
56 fail("No golden value supplied! Consider using this: "
61 T deserialized = (T) deserialize(hexDecode(golden));
62 assertTrue("User-constructed value doesn't equal deserialized golden value",
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/
run_tests.py 22 golden_file = os.path.join(tests_path, 'golden.dat')
41 print '--generate-golden: Re-generate golden file'
49 if sys.argv[1] == '--generate-golden':
63 with open(golden_file, 'wt') as golden:
64 golden.write(result)
66 with open(golden_file, 'rt') as golden:
67 golden_text = golden.read()
71 print 'ERROR: Golden output mismatch'
  /external/chromium_org/tools/gyp/tools/emacs/
gyp-tests.el 15 "List of golden samples to check")
24 (defun read-golden-sample (filename)
45 (ert-deftest test-golden-samples ()
46 "Check that fontification produces the same results as the golden samples"
48 (let ((golden (read-golden-sample sample))
50 (should (equal golden fontified))
51 (should (equal (text-face-properties golden)
54 (defun create-golden-sample (filename)
55 "Create a golden sample by fontifying filename and writing out the printabl
    [all...]
  /external/chromium_org/courgette/
encoded_program_unittest.cc 60 static const uint8 golden[] = { local
65 EXPECT_EQ(0, memcmp(assembled_buffer, golden, 8));
  /external/protobuf/gtest/test/
gtest_output_test.py 49 # The flag for generating the golden file
257 # sequences when we read the golden file irrespective of an operating
260 golden = ToUnixLineEnding(golden_file.read())
266 self.assert_(golden == output)
269 normalized_golden = RemoveTestCounts(self.RemoveUnsupportedTests(golden))
294 """Unable to write a golden file when compiled in an environment
301 message += """\nand typed tests). Please generate the golden file
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RRuleTest.java 66 String golden) throws Exception {
67 runRecurrenceIteratorTest(rruleText, dtStart, limit, golden, null, null, UTC);
71 String golden, String advanceTo, String tz) throws Exception {
72 runRecurrenceIteratorTest(rrule, dtstartStr, limit, golden, advanceTo, null, tz);
82 * @param golden The desired results
89 String golden, String advanceTo, String endAt, String tz) throws Exception {
140 assertEquals(golden, sb.toString());
    [all...]
  /external/protobuf/src/google/protobuf/io/
zero_copy_stream_unittest.cc 404 string golden; local
407 &golden);
410 string gzip_compressed = Compress(golden, options);
413 string not_compressed = Compress(golden, options);
418 string zlib_compressed = Compress(golden, options);
422 EXPECT_GT(not_compressed.size(), golden.size());
431 EXPECT_TRUE(Uncompress(not_compressed) == golden);
432 EXPECT_TRUE(Uncompress(gzip_compressed) == golden);
433 EXPECT_TRUE(Uncompress(zlib_compressed) == golden);
684 // To test LimitingInputStream, we write our golden text to a buffer, the
    [all...]
  /external/chromium_org/testing/gtest/test/
gtest_output_test.py 49 # The flag for generating the golden file
283 # sequences when we read the golden file irrespective of an operating
286 golden = ToUnixLineEnding(golden_file.read())
294 normalized_golden = RemoveTypeInfoDetails(golden)
304 # This code is very handy when debugging golden file differences:
327 """Unable to write a golden file when compiled in an environment
329 and multiple threads). Please generate the golden file using a binary built
  /external/gtest/test/
gtest_output_test.py 49 # The flag for generating the golden file
283 # sequences when we read the golden file irrespective of an operating
286 golden = ToUnixLineEnding(golden_file.read())
294 normalized_golden = RemoveTypeInfoDetails(golden)
304 # This code is very handy when debugging golden file differences:
327 """Unable to write a golden file when compiled in an environment
329 and multiple threads). Please generate the golden file using a binary built
  /ndk/sources/third_party/googletest/googletest/test/
gtest_output_test.py 49 # The flag for generating the golden file
283 # sequences when we read the golden file irrespective of an operating
286 golden = ToUnixLineEnding(golden_file.read())
294 normalized_golden = RemoveTypeInfoDetails(golden)
304 # This code is very handy when debugging golden file differences:
327 """Unable to write a golden file when compiled in an environment
329 and multiple threads). Please generate the golden file using a binary built
  /external/chromium_org/third_party/skia/tests/
BlendTest.cpp 16 // This is our golden algorithm.
29 const uint8_t golden = blend_double_round(dst, src, alpha);
31 if (abs_diff(blend, golden) > maxDiff) {
33 dst, src, alpha, blend, golden, maxDiff);
34 ASSERT(abs_diff(blend, golden) <= maxDiff);
38 // Exhaustively compare an algorithm against our golden, for a given alpha.
49 // Exhaustively compare an algorithm against our golden, for a given dst.
  /external/skia/tests/
BlendTest.cpp 16 // This is our golden algorithm.
29 const uint8_t golden = blend_double_round(dst, src, alpha);
31 if (abs_diff(blend, golden) > maxDiff) {
33 dst, src, alpha, blend, golden, maxDiff);
34 ASSERT(abs_diff(blend, golden) <= maxDiff);
38 // Exhaustively compare an algorithm against our golden, for a given alpha.
49 // Exhaustively compare an algorithm against our golden, for a given dst.
  /external/chromium_org/third_party/protobuf/src/google/protobuf/io/
zero_copy_stream_unittest.cc 562 string golden; local
565 &golden);
568 string gzip_compressed = Compress(golden, options);
571 string not_compressed = Compress(golden, options);
576 string zlib_compressed = Compress(golden, options);
580 EXPECT_GT(not_compressed.size(), golden.size());
589 EXPECT_TRUE(Uncompress(not_compressed) == golden);
590 EXPECT_TRUE(Uncompress(gzip_compressed) == golden);
591 EXPECT_TRUE(Uncompress(zlib_compressed) == golden);
907 // To test LimitingInputStream, we write our golden text to a buffer, the
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
ThrowableTest.java 318 private void assertSerialized(final Throwable throwable, String golden) {
319 new SerializationTester<Throwable>(throwable, golden) {
  /external/chromium_org/components/url_fixer/
url_fixer_unittest.cc 381 GURL golden(net::FilePathToFileURL(original));
385 EXPECT_EQ(golden, fixedup);
393 EXPECT_EQ(golden, url_fixer::FixupURL(cur, std::string()));
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
VectorDrawableTest.java 97 // exactly with the golden image.
152 Bitmap golden = BitmapFactory.decodeResource(mResources, goldenImages[i]); local
153 compareImages(mBitmap, golden, mResources.getString(resIds[i]));
158 // This is only for debugging or golden image (re)generation purpose.
  /external/chromium_org/third_party/skia/platform_tools/android/tests/expectations/
Android.mk 155 # golden-master (fidelity / regression test)

Completed in 484 milliseconds

1 2