/prebuilts/go/linux-x86/src/crypto/rc4/ |
rc4_test.go | 17 var golden = []rc4Test{ var 88 for gi, g := range golden { 131 c1a, _ := NewCipher(golden[0].key) 132 c1b, _ := NewCipher(golden[1].key) 139 c2a, _ := NewCipher(golden[0].key) 140 c2b, _ := NewCipher(golden[1].key) 152 c, err := NewCipher(golden[0].key)
|
/prebuilts/go/darwin-x86/src/image/draw/ |
draw_test.go | 200 // Since golden is a newly allocated image, we don't have to check if the 201 // input source and mask images and the output golden image overlap. 208 golden := image.NewRGBA(image.Rect(0, 0, b.Max.X, b.Max.Y)) 236 golden.Set(x, y, color.RGBA64{ 244 return golden.SubImage(b) 264 golden := makeGolden(dst, image.Rect(0, 0, 16, 16), test.src, image.ZP, test.mask, image.ZP, test.op) 266 if !b.Eq(golden.Bounds()) { 267 t.Errorf("draw %v %s: bounds %v versus %v", r, test.desc, dst.Bounds(), golden.Bounds()) 280 // Check that the resultant dst image matches the golden output. 283 if !eq(dst.At(x, y), golden.At(x, y)) [all...] |
/prebuilts/go/linux-x86/src/image/draw/ |
draw_test.go | 200 // Since golden is a newly allocated image, we don't have to check if the 201 // input source and mask images and the output golden image overlap. 208 golden := image.NewRGBA(image.Rect(0, 0, b.Max.X, b.Max.Y)) 236 golden.Set(x, y, color.RGBA64{ 244 return golden.SubImage(b) 264 golden := makeGolden(dst, image.Rect(0, 0, 16, 16), test.src, image.ZP, test.mask, image.ZP, test.op) 266 if !b.Eq(golden.Bounds()) { 267 t.Errorf("draw %v %s: bounds %v versus %v", r, test.desc, dst.Bounds(), golden.Bounds()) 280 // Check that the resultant dst image matches the golden output. 283 if !eq(dst.At(x, y), golden.At(x, y)) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTest.java | 228 final int golden = getGoldenId(vf.getDescription(), vf.getOriginalSize()); local 229 assertTrue("No golden found.", golden != 0); 232 validateResult(vf, videoViewSnapshot, golden); 246 final Bitmap golden = getHelper().generateBitmapFromImageResourceId(goldenId); local 248 result, golden, videoFormat.getOriginalWidth(), videoFormat.getOriginalHeight()); 296 * Returns the resource id by matching parts of the video and golden file name. 302 if (name.contains("golden") && name.contains(description) && name.contains(size)) {
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlStreamRendererTest.java | 283 private void assertNormalized(String golden, String htmlInput) 285 assertEquals(golden, normalize(htmlInput)); 288 if (!golden.equals(htmlInput)) { 289 assertNormalized(golden, golden);
|
/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...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
VectorDrawableScaleTest.java | 78 Bitmap golden = BitmapFactory.decodeResource(mResources, local 80 DrawableTestUtils.compareImages("vectorDrawableScale", screenShot, golden,
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewCaptureTest.java | 74 Bitmap golden = BitmapFactory.decodeResource(mActivity.getResources(), goldenResId); local 75 assertTrue(golden.sameAs(result));
|
/prebuilts/go/darwin-x86/src/compress/lzw/ |
writer_test.go | 27 // Read the file, as golden output. 28 golden, err := os.Open(fn) 33 defer golden.Close() 70 b0, err0 := ioutil.ReadAll(golden)
|
/prebuilts/go/linux-x86/src/compress/lzw/ |
writer_test.go | 27 // Read the file, as golden output. 28 golden, err := os.Open(fn) 33 defer golden.Close() 70 b0, err0 := ioutil.ReadAll(golden)
|
/prebuilts/go/darwin-x86/src/go/ast/ |
filter_test.go | 42 const golden = `package p const 83 if output != golden {
|
/prebuilts/go/linux-x86/src/go/ast/ |
filter_test.go | 42 const golden = `package p const 83 if output != golden {
|
/prebuilts/go/darwin-x86/src/hash/crc64/ |
crc64_test.go | 18 var golden = []test{ var 56 for i := 0; i < len(golden); i++ { 57 g := golden[i]
|
/prebuilts/go/darwin-x86/src/image/ |
decode_test.go | 87 golden := make(map[string]image.Image) 90 g := golden[it.goldenFilename] 98 golden[it.goldenFilename] = g
|
/prebuilts/go/linux-x86/src/hash/crc64/ |
crc64_test.go | 18 var golden = []test{ var 56 for i := 0; i < len(golden); i++ { 57 g := golden[i]
|
/prebuilts/go/linux-x86/src/image/ |
decode_test.go | 87 golden := make(map[string]image.Image) 90 g := golden[it.goldenFilename] 98 golden[it.goldenFilename] = g
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 567 string golden; local 571 &golden, true)); 574 string gzip_compressed = Compress(golden, options); 577 string not_compressed = Compress(golden, options); 582 string zlib_compressed = Compress(golden, options); 586 EXPECT_GT(not_compressed.size(), golden.size()); 595 EXPECT_TRUE(Uncompress(not_compressed) == golden); 596 EXPECT_TRUE(Uncompress(gzip_compressed) == golden); 597 EXPECT_TRUE(Uncompress(zlib_compressed) == golden); 666 string golden = "abcdefghijklmnopqrstuvwxyz" local [all...] |
/external/protobuf/gtest/test/ |
gtest_output_test.py | 49 # The flag for generating the golden file 271 # sequences when we read the golden file irrespective of an operating 274 golden = ToUnixLineEnding(golden_file.read()) 282 normalized_golden = RemoveTypeInfoDetails(golden) 291 # This code is very handy when debugging golden file differences: 314 """Unable to write a golden file when compiled in an environment 322 golden file using a binary built with those features enabled."""
|
/external/skia/tests/ |
RecordingXfermodeTest.cpp | 138 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); 150 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode);
|
/prebuilts/go/darwin-x86/src/cmd/api/ |
goapi_test.go | 22 updateGolden = flag.Bool("updategolden", false, "update golden files") 40 goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt") 59 t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err) 75 t.Errorf("package %s: extra feature not in golden file: %q", fi.Name(), feature)
|
/prebuilts/go/darwin-x86/src/compress/zlib/ |
writer_test.go | 30 // Read the file, as golden output. 31 golden, err := os.Open(fn) 36 defer golden.Close() 37 b0, err0 := ioutil.ReadAll(golden)
|
/prebuilts/go/linux-x86/src/cmd/api/ |
goapi_test.go | 22 updateGolden = flag.Bool("updategolden", false, "update golden files") 40 goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt") 59 t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err) 75 t.Errorf("package %s: extra feature not in golden file: %q", fi.Name(), feature)
|
/prebuilts/go/linux-x86/src/compress/zlib/ |
writer_test.go | 30 // Read the file, as golden output. 31 golden, err := os.Open(fn) 36 defer golden.Close() 37 b0, err0 := ioutil.ReadAll(golden)
|
/prebuilts/ndk/r11/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
|
/prebuilts/ndk/r13/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
|