/external/autotest/tko/parsers/test/templates/ |
base.py | 12 GOLDEN = 'golden' 17 """We want to ensure that result matches the golden. 19 This test is enabled if there is a golden entry 23 GOLDEN not in self.parser_result_store, 24 'No golden data to test against') 26 golden = self.parser_result_store[GOLDEN] 30 self.assertEquals(golden, fresh_copy)
|
/prebuilts/go/darwin-x86/test/ |
crlf.go | 37 var golden = "hello\n world" 40 if s != golden { 41 fmt.Printf("s=%q, want %q", s, golden) 43 if t != golden { 44 fmt.Printf("t=%q, want %q", t, golden) 46 if u != golden { 47 fmt.Printf("u=%q, want %q", u, golden)
|
/prebuilts/go/linux-x86/test/ |
crlf.go | 37 var golden = "hello\n world" 40 if s != golden { 41 fmt.Printf("s=%q, want %q", s, golden) 43 if t != golden { 44 fmt.Printf("t=%q, want %q", t, golden) 46 if u != golden { 47 fmt.Printf("u=%q, want %q", u, golden)
|
/external/vulkan-validation-layers/tests/ |
README-raster_tests | 3 The raster tests can be run and the pixel results compared to known good (golden) images generated from previous runs. To generate golden images, make sure that the tests are rendering as expected, and then run with --save-images. This will generate .ppm files for all of the tests. Create a directory called "golden" and "mv *.ppm golden". When new tests are added to render_tests additional golden images will need to be generated for the new tests. 5 Then, to run comparing resulting images to the golden images, run with --compare-images. This too will generate .ppm images for all of the tests and if the image differs from the golden image at all, the test will fail and a <testname>-diff.ppm image will be generated in the same directory as the test images. So the result image and the diff image will be in the current directory and the golden image will be in the golden directory.
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/ |
README-raster_tests | 3 The raster tests can be run and the pixel results compared to known good (golden) images generated from previous runs. To generate golden images, make sure that the tests are rendering as expected, and then run with --save-images. This will generate .ppm files for all of the tests. Create a directory called "golden" and "mv *.ppm golden". When new tests are added to render_tests additional golden images will need to be generated for the new tests. 5 Then, to run comparing resulting images to the golden images, run with --compare-images. This too will generate .ppm images for all of the tests and if the image differs from the golden image at all, the test will fail and a <testname>-diff.ppm image will be generated in the same directory as the test images. So the result image and the diff image will be in the current directory and the golden image will be in the golden directory.
|
/external/tensorflow/tensorflow/tools/api/tests/ |
API_UPDATE_WARNING.txt | 0 Golden file update requested! 3 This test is now going to write new golden files.
|
/external/autotest/client/cros/image_comparison/diffviewer/ |
index.html | 40 var golden = document.getElementById("golden").src; 41 updateFullImageSrc(golden); 62 <p>Golden</p> 63 <img id="golden" class="thumb"onclick=updateFullImageSrc(this.src) 64 src="data:image/png;base64, $golden"><br> 73 <img id="fullsizeimage" src="golden.png" />
|
/development/samples/devbytes/animation/SlidingFragments/res/values/ |
strings.xml | 19 <string name="photo_credits"><b>Golden Gate Sunset</b> by <b>Romain Guy</b></string> 20 <string name="address"><b>Address:</b> Golden Gate Bridge, San Francisco, CA 94129</string> 26 <string name="summary">"The Golden Gate Bridge is a suspension bridge spanning the Golden Gate, the opening of the San Francisco Bay into the Pacific Ocean."</string> 27 <string name="bridge">Golden Gate Bridge</string>
|
/frameworks/ml/nn/tools/test_generator/include/ |
TestHarness.h | 118 // Helper template - resize test output per golden 120 void resize_accordingly_(const MixedTyped& golden, MixedTyped& test) { 126 for_each<ty>(golden, execute); 129 inline void resize_accordingly(const MixedTyped& golden, MixedTyped& test) { 130 resize_accordingly_<float, 0>(golden, test); 131 resize_accordingly_<int32_t, 1>(golden, test); 132 resize_accordingly_<uint8_t, 2>(golden, test); 136 void filter_internal(const MixedTyped& golden, MixedTyped* filtered, 138 for_each<ty>(golden, 145 inline MixedTyped filter(const MixedTyped& golden, [all...] |
/development/samples/training/threadsample/res/drawable/ |
decodequeued.xml | 4 <!-- golden yellow -->
|
/tools/apksig/src/test/java/com/android/apksig/ |
ApkSignerTest.java | 60 "Generating golden files " + ApkSignerTest.class.getSimpleName() 69 "golden-unaligned-in.apk", 70 new File(outDir, "golden-unaligned-out.apk"), 73 "golden-legacy-aligned-in.apk", 74 new File(outDir, "golden-legacy-aligned-out.apk"), 77 "golden-aligned-in.apk", 78 new File(outDir, "golden-aligned-out.apk"), 82 "golden-unaligned-in.apk", 83 new File(outDir, "golden-unaligned-v1-out.apk"), 88 "golden-legacy-aligned-in.apk" [all...] |
/libcore/luni/src/test/java/libcore/libcore/util/ |
SerializationTester.java | 32 private final String golden; field in class:SerializationTester 35 public SerializationTester(T value, String golden) { 36 this.golden = golden; 57 if (golden == null || golden.length() == 0) { 58 fail("No golden value supplied! Consider using this: " 63 T deserialized = (T) deserialize(HexEncoding.decode(golden)); 64 assertTrue("User-constructed value doesn't equal deserialized golden value",
|
/external/autotest/client/site_tests/video_GlitchDetection/ |
control.collect_images_chameleon | 7 PURPOSE = "Collect golden images to be used in video image comparison tests." 16 we use image comparison techniques. In it, we collect golden images ahead of 18 against the golden ones. 20 What makes the golden images golden is the build they are collected on. Other 25 To collect golden images run a command in this format:
|
control.chameleon.h264.480p.collectgoldenimages | 7 PURPOSE = "Collects golden images to be used in image comparison video tests" 18 Run this test to collect golden images for a certain device and build. This 24 Golden images can then be copied from the dut once the test is finished.
|
control.chameleon.h264.720p.collectgoldenimages | 7 PURPOSE = "Collects golden images to be used in image comparison video tests" 18 Run this test to collect golden images for a certain device and build. This 24 Golden images can then be copied from the dut once the test is finished.
|
control.chameleon.vp8.480p.collectgoldenimages | 7 PURPOSE = "Collects golden images to be used in image comparison video tests" 18 Run this test to collect golden images for a certain device and build. This 24 Golden images can then be copied from the dut once the test is finished.
|
control.chameleon.vp8.720p.collectgoldenimages | 7 PURPOSE = "Collects golden images to be used in image comparison video tests" 18 Run this test to collect golden images for a certain device and build. This 24 Golden images can then be copied from the dut once the test is finished.
|
/external/libbrillo/brillo/ |
test_helpers.h | 19 inline void ExpectFileEquals(const char* golden, const char* file_path) { 22 EXPECT_EQ(golden, contents);
|
/prebuilts/go/darwin-x86/src/go/doc/ |
doc_test.go | 23 var update = flag.Bool("update", false, "update golden (.out) files") 105 // golden files always use / in filenames - canonicalize them 118 // update golden file if necessary 119 golden := filepath.Join(dataDir, fmt.Sprintf("%s.%d.golden", pkg.Name, mode)) 121 err := ioutil.WriteFile(golden, got, 0644) 128 // get golden file 129 want, err := ioutil.ReadFile(golden)
|
/prebuilts/go/linux-x86/src/go/doc/ |
doc_test.go | 23 var update = flag.Bool("update", false, "update golden (.out) files") 105 // golden files always use / in filenames - canonicalize them 118 // update golden file if necessary 119 golden := filepath.Join(dataDir, fmt.Sprintf("%s.%d.golden", pkg.Name, mode)) 121 err := ioutil.WriteFile(golden, got, 0644) 128 // get golden file 129 want, err := ioutil.ReadFile(golden)
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
reference_picture_selection.cc | 74 flags |= VP8_EFLAG_NO_REF_GF; // Don't reference the golden frame 90 flags |= VP8_EFLAG_FORCE_GF; // Update the golden reference. 92 flags |= VP8_EFLAG_NO_REF_GF; // Don't reference the golden frame. 95 flags |= VP8_EFLAG_NO_UPD_GF; // Don't update the golden frame. 101 // No update of golden or alt-ref. We can therefore freely reference the 106 flags |= VP8_EFLAG_NO_REF_GF; // Don't reference the golden frame. 107 flags |= VP8_EFLAG_NO_UPD_GF; // Don't update the golden frame.
|
/external/skia/tests/ |
SkGaussFilterTest.cpp | 32 double sigma; SkGaussFilter::Type type; std::vector<double> golden; 33 std::tie(sigma, type, golden) = test; 40 REPORTER_ASSERT(r, static_cast<size_t>(n) == golden.size()); 43 for (size_t i = 0; i < golden.size(); i++) { 44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); 49 // Golden values generated using Mathematica.
|
/external/skqp/tests/ |
SkGaussFilterTest.cpp | 32 double sigma; SkGaussFilter::Type type; std::vector<double> golden; 33 std::tie(sigma, type, golden) = test; 40 REPORTER_ASSERT(r, static_cast<size_t>(n) == golden.size()); 43 for (size_t i = 0; i < golden.size(); i++) { 44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); 49 // Golden values generated using Mathematica.
|
/external/skia/tools/skqp/ |
make_model.sh | 16 go get -u go.skia.org/infra/golden/go/search
|
/external/skqp/tools/skqp/ |
make_model.sh | 16 go get -u go.skia.org/infra/golden/go/search
|