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

  /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
  /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/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
gtest_output_test_.cc 112 const char* golden = kGoldenString; local
113 EXPECT_EQ(golden, actual);
550 // golden file to check that Google Test generates the right error message.
557 // Expected to fail. We rely on the golden file to check that Google Test
574 // Expected to fail. We rely on the golden file to check that Google Test
583 // Expected to fail. We rely on the golden file to check that Google Test
798 // We rely on the golden file to verify that tests whose test case
806 // We rely on the golden file to verify that typed tests whose test
824 // We rely on the golden file to verify that type-parameterized tests
994 // with the "golden" file
    [all...]
  /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.
RecordingXfermodeTest.cpp 189 BitmapBackedCanvasStrategy golden; // This is the expected result. local
193 golden.init(drawer.imageInfo());
206 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode);
  /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...]
  /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
gtest_output_test_.cc 112 const char* golden = kGoldenString; local
113 EXPECT_EQ(golden, actual);
555 // golden file to check that Google Test generates the right error message.
562 // Expected to fail. We rely on the golden file to check that Google Test
579 // Expected to fail. We rely on the golden file to check that Google Test
588 // Expected to fail. We rely on the golden file to check that Google Test
803 // We rely on the golden file to verify that tests whose test case
811 // We rely on the golden file to verify that typed tests whose test
829 // We rely on the golden file to verify that type-parameterized tests
999 // with the "golden" file
    [all...]
  /external/chromium_org/components/url_fixer/
url_fixer_unittest.cc 382 GURL golden(net::FilePathToFileURL(original));
386 EXPECT_EQ(golden, fixedup);
394 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 161 # golden-master (fidelity / regression test)
  /external/emma/
test.sh 76 GOLDEN=$TESTDIR/golden.lcov
77 cat <<END >$GOLDEN
126 if ! diff <(sort $GOLDEN) <(sort $COVERAGE) >$TESTDIR/diff-sorted; then
130 if ! diff $GOLDEN $COVERAGE >$TESTDIR/diff-ordered; then
  /external/chromium_org/ppapi/native_client/
chrome_main.scons 362 golden = open(golden_file).read()
370 if command_tester.DifferentFromGolden(actual, golden, output_file):
493 # compares this output against a golden file.
502 if 'golden' in params:
503 golden_file = env.subst(params['golden'])

Completed in 861 milliseconds