/external/skia/tests/ |
SkGaussFilterTest.cpp | 32 double sigma; std::vector<double> golden; 33 std::tie(sigma, 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.
|
RecordingXfermodeTest.cpp | 140 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); 152 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode);
|
/external/skqp/tests/ |
SkGaussFilterTest.cpp | 32 double sigma; std::vector<double> golden; 33 std::tie(sigma, 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.
|
RecordingXfermodeTest.cpp | 140 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); 152 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode);
|
/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)
|
/external/libbrillo/brillo/ |
test_helpers.h | 19 inline void ExpectFileEquals(const char* golden, const char* file_path) { 22 EXPECT_EQ(golden, contents);
|
/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/make/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/grpc-grpc/test/cpp/codegen/ |
golden_file_test.cc | 43 std::ifstream golden(golden_file); 46 ASSERT_TRUE(golden.good()); 51 gold_oss << golden.rdbuf(); 55 golden.close();
|
/cts/tests/tests/nativehardware/jni/ |
AHardwareBufferGLTest.cpp | 318 // A golden color at a specified position (given in pixel coordinates) 325 // Compares a golden pixel against an actual pixel given the 4 color values. The values must 328 void CheckGoldenPixel(int x, int y, const std::array<T, 4>& golden, 331 EXPECT_EQ(golden, actual) << "Pixel doesn't match at X=" << x << ", Y=" << y; 358 // Given a golden color, format, and maximum allowed error, returns a 4-component pixel (as well as 361 bool GetGoldenColor(const GoldenColor& golden, uint32_t format, int32_t max_err, 372 switch (golden) { 391 ADD_FAILURE() << "Unrecognized golden pixel color"; 395 if (golden == kRed50 || golden == kRed50Srgb) [all...] |
/external/google-breakpad/src/testing/test/ |
gmock_output_test.py | 50 # The flag for generating the golden file 160 golden = golden_file.read() 163 # The normalized output should match the golden file. 164 self.assertEquals(golden, output)
|
/external/skia/tools/skqp/ |
cut_release | 16 go get -u go.skia.org/infra/golden/go/search
|
/external/skqp/tools/skqp/ |
cut_release | 16 go get -u go.skia.org/infra/golden/go/search
|
/cts/tests/tests/media/src/android/media/cts/ |
DecodeAccuracyTest.java | 236 final int golden = getGoldenId(vf.getDescription(), vf.getOriginalSize()); local 237 assertTrue("No golden found.", golden != 0); 239 validateResult(vf, videoViewFactory.getVideoViewSnapshot(), golden); 253 final Bitmap golden = getHelper().generateBitmapFromImageResourceId(goldenId); local 255 result, golden, videoFormat.getOriginalWidth(), videoFormat.getOriginalHeight()); 297 * Returns the resource id by matching parts of the video and golden file name. 303 if (name.contains("golden") && name.contains(description) && name.contains(size)) {
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
BytecodeTypeInferenceTest.java | 47 String golden = Files.asCharSource(GOLDEN_PATH.toFile(), StandardCharsets.UTF_8).read().trim(); local 48 assertThat(inferenceResult).isEqualTo(golden);
|
/external/googletest/googlemock/test/ |
gmock_output_test.py | 34 To update the golden file: 48 # The flag for generating the golden file 158 golden = golden_file.read() 161 # The normalized output should match the golden file. 162 self.assertEquals(golden, output)
|
/external/skia/modules/canvaskit/tests/ |
util.js | 1 // The size of the golden images (DMs)
|
/external/grpc-grpc-java/protobuf-lite/src/test/java/io/grpc/protobuf/lite/ |
ProtoLiteUtilsTest.java | 154 byte[] golden = ByteStreams.toByteArray(marshaller.stream(proto)); 160 assertArrayEquals(golden, baos.toByteArray()); 166 final byte[] golden; 170 golden = ByteStreams.toByteArray(is); 178 assertArrayEquals(golden, baos.toByteArray());
|
/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/golang-protobuf/protoc-gen-go/ |
golden_test.go | 19 // Set --regenerate to regenerate the golden files. 20 var regenerate = flag.Bool("regenerate", false, "regenerate golden files") 66 // Compare each generated file to the golden version. 73 // golden file in the testdata directory. 90 // If --regenerate set, just rewrite the golden files. 112 t.Errorf("golden file differs: %v\n%v", relPath, string(out))
|
/cts/tools/release-parser/tests/ |
generate_golden_sample_files.sh | 13 echo Generating golden sample files for parser validation
|
/external/google-breakpad/src/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
|