/external/v8/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...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewCaptureTest.java | 73 Bitmap golden = BitmapFactory.decodeResource(mActivity.getResources(), goldenResId); local 74 assertTrue(golden.sameAs(result));
|
/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/owasp/sanitizer/src/tests/org/owasp/html/ |
EncodingTest.java | 43 String golden = local 45 assertEquals(golden, Encoding.decodeHtml(html)); 48 assertSame(golden, Encoding.decodeHtml(golden));
|
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);
|
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...] |
/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",
|
/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTest.java | 195 final Bitmap golden = getHelper().generateBitmapFromImageResourceId(goldenResId); local 197 result, golden, videoFormat.getOriginalWidth(), videoFormat.getOriginalHeight());
|
/external/gtest/test/ |
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/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 562 string golden; local 566 &golden, true)); 569 string gzip_compressed = Compress(golden, options); 572 string not_compressed = Compress(golden, options); 577 string zlib_compressed = Compress(golden, options); 581 EXPECT_GT(not_compressed.size(), golden.size()); 590 EXPECT_TRUE(Uncompress(not_compressed) == golden); 591 EXPECT_TRUE(Uncompress(gzip_compressed) == golden); 592 EXPECT_TRUE(Uncompress(zlib_compressed) == golden); 908 // To test LimitingInputStream, we write our golden text to a buffer, the [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
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...] |
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/ |
VectorDrawableTest.java | 113 // exactly with the golden image. 164 Bitmap golden = BitmapFactory.decodeResource(mResources, goldenImages[i]); local 165 compareImages(mBitmap, golden, mResources.getString(resIds[i])); 170 // This is only for debugging or golden image (re)generation purpose.
|
/ndk/sources/third_party/googletest/googletest/test/ |
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...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 56 // exactly with the golden image. 62 // Set true to generate golden images, false for normal tests. 591 final Bitmap golden = BitmapFactory.decodeResource( local 593 DrawableTestUtils.compareImages(densityDpi + " dpi", golden, bitmap,
|
VectorDrawableTest.java | 175 // exactly with the golden image. 263 Bitmap golden = BitmapFactory.decodeResource(mResources, goldenImages[i]); local 264 DrawableTestUtils.compareImages(mResources.getString(resIds[i]), mBitmap, golden, local 273 // This is only for debugging or golden image (re)generation purpose.
|
NinePatchDrawableTest.java | 54 // exactly with the golden image. 62 // Set true to generate golden images, false for normal tests. 651 final Bitmap golden = BitmapFactory.decodeResource(mResources, goldenResId); local 652 DrawableTestUtils.compareImages(densityDpi + " dpi", golden, bitmap,
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ArraysTest.java | 1876 int[] golden = new int[len]; local [all...] |