/external/autotest/client/site_tests/video_GlitchDetection/ |
video_GlitchDetection.py | 28 Captures frames using chameleon and compares them to known golden frames. 138 logging.debug("Write golden checksum file to %s", 170 # Some frames might be missing during either golden frame 172 # ignore a few missing frames while comparing test vs golden 182 'missing frames : %d. # of golden frames : %d. # of ' 234 Reads the golden checksum file. Each line in file has the format 236 @param path: complete path to the golden checksum file.
|
/external/tensorflow/tensorflow/tools/api/tests/ |
api_compatibility_test.py | 53 Update stored golden files if API is updated. WARNING: All API changes 63 _API_GOLDEN_FOLDER = 'tensorflow/tools/api/golden' 116 expected_dict: a dict of TFAPIObject protos constructed from golden 165 logging.error('%d differences found between API and golden.', diff_count) 188 self.fail('%d differences found between API and golden.' % diff_count) 191 logging.info('No differences found between API and golden.') 207 # Read all golden files.
|
/prebuilts/go/darwin-x86/src/cmd/gofmt/ |
gofmt_test.go | 20 var update = flag.Bool("update", false, "update .golden files") 126 // corresponding testdata/*.golden files. The gofmt flags used to process 145 out = in[:len(in)-len(".input")] + ".golden" 158 const golden = "testdata/crlf.golden" // must not contain any CR's 168 data, err = ioutil.ReadFile(golden) 173 t.Errorf("%s contains CR's", golden)
|
/prebuilts/go/darwin-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/linux-x86/src/cmd/gofmt/ |
gofmt_test.go | 20 var update = flag.Bool("update", false, "update .golden files") 126 // corresponding testdata/*.golden files. The gofmt flags used to process 145 out = in[:len(in)-len(".input")] + ".golden" 158 const golden = "testdata/crlf.golden" // must not contain any CR's 168 data, err = ioutil.ReadFile(golden) 173 t.Errorf("%s contains CR's", golden)
|
/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)
|
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 58 * is performed but golden files are produced, which contain reference 61 * The location of golden files (in both modes) is controlled via 83 * Key to a system property defining root location of golden files. 105 * Depending on testing mode, produces golden files or performs testing. 141 * Tests that data objects can be deserialized from golden files, to verify 150 * Returns golden file for an object being tested. 154 * @return corresponding golden file 169 * returned by {@link #getData() getData()}to golden files, each object to 178 + ".golden."; 434 * Verifies that object deserialized from golden file correctly [all...] |
/prebuilts/go/darwin-x86/src/hash/fnv/ |
fnv_test.go | 16 type golden struct { type 22 var golden32 = []golden{ 29 var golden32a = []golden{ 36 var golden64 = []golden{ 43 var golden64a = []golden{ 50 var golden128 = []golden{ 57 var golden128a = []golden{ 88 func testGolden(t *testing.T, hash hash.Hash, gold []golden) { 108 gold []golden
|
/prebuilts/go/linux-x86/src/hash/fnv/ |
fnv_test.go | 16 type golden struct { type 22 var golden32 = []golden{ 29 var golden32a = []golden{ 36 var golden64 = []golden{ 43 var golden64a = []golden{ 50 var golden128 = []golden{ 57 var golden128a = []golden{ 88 func testGolden(t *testing.T, hash hash.Hash, gold []golden) { 108 gold []golden
|
/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
|
/cts/tests/tests/nativehardware/jni/ |
AHardwareBufferGLTest.cpp | 267 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& golden, 270 EXPECT_EQ(golden, actual) << "Pixel doesn't match at X=" << x << ", Y=" << y; 289 void CheckGoldenPixel(const GoldenPixel& golden, const std::array<uint8_t, 4>& pixel, 295 switch (golden.color) { 312 default: FAIL() << "Unrecognized golden pixel color"; 315 if (golden.color == kRed50 || golden.color == kRed50Srgb) { 326 CheckGoldenPixel(golden.x, golden.y, golden_pixel, golden_max, pixel); 328 CheckGoldenPixel(golden.x, golden.y, golden_pixel, pixel) [all...] |
/prebuilts/go/darwin-x86/src/image/draw/ |
draw_test.go | 201 // Since golden is a newly allocated image, we don't have to check if the 202 // input source and mask images and the output golden image overlap. 209 golden := image.NewRGBA(image.Rect(0, 0, b.Max.X, b.Max.Y)) 237 golden.Set(x, y, color.RGBA64{ 245 return golden.SubImage(b) 265 golden := makeGolden(dst, image.Rect(0, 0, 16, 16), test.src, image.ZP, test.mask, image.ZP, test.op) 267 if !b.Eq(golden.Bounds()) { 268 t.Errorf("draw %v %s: bounds %v versus %v", r, test.desc, dst.Bounds(), golden.Bounds()) 281 // Check that the resultant dst image matches the golden output. 284 if !eq(dst.At(x, y), golden.At(x, y)) [all...] |
/prebuilts/go/linux-x86/src/image/draw/ |
draw_test.go | 201 // Since golden is a newly allocated image, we don't have to check if the 202 // input source and mask images and the output golden image overlap. 209 golden := image.NewRGBA(image.Rect(0, 0, b.Max.X, b.Max.Y)) 237 golden.Set(x, y, color.RGBA64{ 245 return golden.SubImage(b) 265 golden := makeGolden(dst, image.Rect(0, 0, 16, 16), test.src, image.ZP, test.mask, image.ZP, test.op) 267 if !b.Eq(golden.Bounds()) { 268 t.Errorf("draw %v %s: bounds %v versus %v", r, test.desc, dst.Bounds(), golden.Bounds()) 281 // Check that the resultant dst image matches the golden output. 284 if !eq(dst.At(x, y), golden.At(x, y)) [all...] |
/external/autotest/client/cros/image_comparison/ |
pdiff_image_comparer.py | 24 Compares a test image against the specified golden image using the 27 @param golden_img_path: path, complete path to a golden image. 56 @param golden_img_path: path, complete path to a golden image.
|
verifier.py | 36 image and golden image has to exceed before the 53 @param golden_image_paths: list of complete paths to golden images. 110 "golden images. Comparison url: %s. %s "
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_doc_comment_unittest.cc | 53 // can only really compare the output against a golden value, which is a 56 // the whole generated output for unittest.proto against a golden value, with 58 // This would mean that updates to the golden file would have to be included
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewCaptureTest.java | 94 Bitmap golden = BitmapFactory.decodeResource(mActivity.getResources(), goldenResId); local 97 result = result.copy(golden.getConfig(), false); 98 assertTrue(golden.sameAs(result));
|
/prebuilts/go/darwin-x86/src/hash/ |
marshal_test.go | 38 golden []byte 85 if !bytes.Equal(enc, tt.golden) { 86 t.Errorf("MarshalBinary = %x, want %x", enc, tt.golden)
|
/prebuilts/go/linux-x86/src/hash/ |
marshal_test.go | 38 golden []byte 85 if !bytes.Equal(enc, tt.golden) { 86 t.Errorf("MarshalBinary = %x, want %x", enc, tt.golden)
|
/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTest.java | 235 final int golden = getGoldenId(vf.getDescription(), vf.getOriginalSize()); local 236 assertTrue("No golden found.", golden != 0); 238 validateResult(vf, videoViewFactory.getVideoViewSnapshot(), golden); 252 final Bitmap golden = getHelper().generateBitmapFromImageResourceId(goldenId); local 254 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/autotest/client/cros/video/ |
sequence_generator.py | 20 We use this method when we are capturing golden images for a particular 22 obtained those golden images in a server.
|
/external/golang-protobuf/protoc-gen-go/plugin/ |
Makefile | 41 cp plugin.pb.golden plugin.pb.go 44 cp plugin.pb.go plugin.pb.golden
|
/external/googletest/googletest/test/ |
gtest_output_test.py | 50 # The flag for generating the golden file 284 # sequences when we read the golden file irrespective of an operating 287 golden = ToUnixLineEnding(golden_file.read()) 295 normalized_golden = RemoveTypeInfoDetails(golden) 302 'golden', 'actual'))) 309 # This code is very handy when debugging golden file differences: 332 """Unable to write a golden file when compiled in an environment 334 and multiple threads). Please generate the golden file using a binary built
|
/external/v8/testing/gtest/test/ |
gtest_output_test.py | 50 # The flag for generating the golden file 284 # sequences when we read the golden file irrespective of an operating 287 golden = ToUnixLineEnding(golden_file.read()) 295 normalized_golden = RemoveTypeInfoDetails(golden) 302 'golden', 'actual'))) 309 # This code is very handy when debugging golden file differences: 332 """Unable to write a golden file when compiled in an environment 334 and multiple threads). Please generate the golden file using a binary built
|
/hardware/google/easel/amber/camera/libhdrplusclient/include/ |
HdrPlusClientUtils.h | 43 * Compare the image buffer against a golden .ppm file. 48 * diffRatio will be the difference ratio between the image buffer and the golden ppm file.
|