/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | CssTokensTest.java | 117 golden = tests[i+1]; in testStringEscaping() local 119 assertEquals(input, golden != null ? golden : "", tokens.normalizedCss); in testStringEscaping() 121 assertEquals(input, it.hasNext(), golden != null); in testStringEscaping() 122 if (golden != null) { in testStringEscaping() 124 assertEquals(input, golden, it.next()); in testStringEscaping() 197 golden = tests[i+1]; in testIdentReencoding() local 201 if (golden != null) { in testIdentReencoding() 202 int colon = golden.lastIndexOf(':'); in testIdentReencoding() 204 type = TokenType.valueOf(golden.substring(colon + 1)); in testIdentReencoding() 205 golden = golden.substring(0, colon); in testIdentReencoding() [all …]
|
D | HtmlLexerTest.java | 54 String golden = Resources.toString( in testHtmlLexer() local 59 assertEquals(golden, actual.toString()); in testHtmlLexer() 148 private static void assertTokens(String markup, String... golden) { in assertTokens() argument 155 assertEquals(Arrays.asList(golden), actual); in assertTokens()
|
D | EncodingTest.java | 43 String golden = in testDecodeHtml() local 45 assertEquals(golden, Encoding.decodeHtml(html)); in testDecodeHtml() 48 assertSame(golden, Encoding.decodeHtml(golden)); in testDecodeHtml()
|
D | HtmlStreamRendererTest.java | 283 private void assertNormalized(String golden, String htmlInput) in assertNormalized() argument 285 assertEquals(golden, normalize(htmlInput)); in assertNormalized() 288 if (!golden.equals(htmlInput)) { in assertNormalized() 289 assertNormalized(golden, golden); in assertNormalized()
|
/external/skia/tests/ |
D | SkGaussFilterTest.cpp | 32 double sigma; std::vector<double> golden; in DEF_TEST() local 33 std::tie(sigma, golden) = test; in DEF_TEST() 40 REPORTER_ASSERT(r, static_cast<size_t>(n) == golden.size()); in DEF_TEST() 43 for (size_t i = 0; i < golden.size(); i++) { in DEF_TEST() 44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); in DEF_TEST()
|
/external/skqp/tests/ |
D | SkGaussFilterTest.cpp | 32 double sigma; std::vector<double> golden; in DEF_TEST() local 33 std::tie(sigma, golden) = test; in DEF_TEST() 40 REPORTER_ASSERT(r, static_cast<size_t>(n) == golden.size()); in DEF_TEST() 43 for (size_t i = 0; i < golden.size(); i++) { in DEF_TEST() 44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); in DEF_TEST()
|
D | RecordingXfermodeTest.cpp | 140 BitmapBackedCanvasStrategy golden(drawer.imageInfo()); in DEF_TEST() local 152 const SkBitmap& goldenBM = golden.recordAndReplay(drawer, clip, mode); in DEF_TEST()
|
/external/grpc-grpc/test/cpp/codegen/ |
D | golden_file_test.cc | 43 std::ifstream golden(golden_file); in run_test() local 46 ASSERT_TRUE(golden.good()); in run_test() 51 gold_oss << golden.rdbuf(); in run_test() 55 golden.close(); in run_test()
|
/external/autotest/client/site_tests/video_GlitchDetection/ |
D | 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:
|
D | 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
|
D | 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
|
D | 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
|
D | 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
|
/external/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 567 string golden; in TEST_F() local 571 &golden, true)); in TEST_F() 574 string gzip_compressed = Compress(golden, options); in TEST_F() 577 string not_compressed = Compress(golden, options); in TEST_F() 582 string zlib_compressed = Compress(golden, options); in TEST_F() 586 EXPECT_GT(not_compressed.size(), golden.size()); in TEST_F() 595 EXPECT_TRUE(Uncompress(not_compressed) == golden); in TEST_F() 596 EXPECT_TRUE(Uncompress(gzip_compressed) == golden); in TEST_F() 597 EXPECT_TRUE(Uncompress(zlib_compressed) == golden); in TEST_F() 666 string golden = "abcdefghijklmnopqrstuvwxyz"; in TEST_F() local [all …]
|
/external/libbrillo/brillo/ |
D | test_helpers.h | 19 inline void ExpectFileEquals(const char* golden, const char* file_path) { in ExpectFileEquals() argument 22 EXPECT_EQ(golden, contents); in ExpectFileEquals()
|
/external/autotest/tko/parsers/test/templates/ |
D | base.py | 26 golden = self.parser_result_store[GOLDEN] 30 self.assertEquals(golden, fresh_copy)
|
/external/grpc-grpc-java/protobuf-lite/src/test/java/io/grpc/protobuf/lite/ |
D | ProtoLiteUtilsTest.java | 154 byte[] golden = ByteStreams.toByteArray(marshaller.stream(proto)); in testDrainTo_all() 160 assertArrayEquals(golden, baos.toByteArray()); in testDrainTo_all() 166 final byte[] golden; in testDrainTo_partial() 170 golden = ByteStreams.toByteArray(is); in testDrainTo_partial() 178 assertArrayEquals(golden, baos.toByteArray()); in testDrainTo_partial()
|
/external/tensorflow/tensorflow/tools/api/tests/ |
D | BUILD | 20 "//tensorflow/tools/api/golden:api_golden_v1", 21 "//tensorflow/tools/api/golden:api_golden_v2",
|
/external/googletest/googlemock/test/ |
D | gmock_output_test.py | 158 golden = golden_file.read() 162 self.assertEquals(golden, output)
|
/external/google-breakpad/src/testing/test/ |
D | gmock_output_test.py | 160 golden = golden_file.read() 164 self.assertEquals(golden, output)
|
/external/deqp-deps/glslang/gtests/ |
D | README.md | 22 line option, which, if supplied, will overwrite the golden files under 24 This serves as an easy way to update golden files.
|
/external/flatbuffers/ |
D | BUILD | 155 ":tests/monsterdata_test.golden", 157 ":tests/prototest/test.golden", 159 ":tests/prototest/test_union.golden",
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | BytecodeTypeInferenceTest.java | 47 String golden = Files.asCharSource(GOLDEN_PATH.toFile(), StandardCharsets.UTF_8).read().trim(); in testTypeInference() local 48 assertThat(inferenceResult).isEqualTo(golden); in testTypeInference()
|
/external/golang-protobuf/proto/ |
D | any_test.go | 65 type golden struct { struct 72 func makeGolden() []golden { 200 return []golden{
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | ProtocolNegotiatorsTest.java | 345 final String golden = "isThisThingOn?"; in httpProxy_completes() local 346 ChannelFuture negotiationFuture = channel.writeAndFlush(bb(golden, channel)); in httpProxy_completes() 372 assertEquals(golden, preface); in httpProxy_completes() 409 final String golden = "isThisThingOn?"; in httpProxy_500() local 410 ChannelFuture negotiationFuture = channel.writeAndFlush(bb(golden, channel)); in httpProxy_500()
|