Home | History | Annotate | Download | only in Scripts

Lines Matching refs:EXPECTED

40 # Compare against the existing file xxx-expected.txt.
44 # the number of tests that got the expected results
45 # the number of tests that ran, but did not get the expected results
47 # the number of tests that were run but had no expected results to compare against
192 my $expectedTag = "expected";
316 --[no-]strip-editing-callbacks Remove editing callbacks from expected results
751 # Try to read expected hash file for pixel tests
760 # Format expected hash into a suffix string that is appended to the path / URL passed to DRT
823 # DumpRenderTree is expected to dump two "blocks" to stdout for each test.
852 my $expected;
854 if (!$resetResults && open EXPECTED, "<", $expectedResultPaths{$base}) {
855 $expected = "";
856 while (<EXPECTED>) {
858 $expected .= $_;
860 close EXPECTED;
863 if ($ignoreMetrics && !$isText && defined $expected) {
864 ($actual, $expected) = stripMetrics($actual, $expected);
894 printFailureMessageForTest($test, "WARNING: actual & expected pixel hashes are missing!");
898 printFailureMessageForTest($test, "WARNING: expected pixel hash is missing!");
937 printFailureMessageForTest($test, "WARNING: expected image is missing!");
955 } elsif (!defined $expected) {
984 } elsif ($actual eq $expected && $diffResult eq "passed") {
995 my $testFailed = $actual ne $expected;
1046 print DIFFHTML "var imageNames = new Array(\"Actual\", \"Expected\");\n";
1176 print HTML htmlForResultsSection(@{$tests{mismatch}}, "Tests where results did not match expected results", \&linksForMismatchTest);
1181 print HTML htmlForResultsSection(@{$tests{new}}, "Tests that had no expected results (probably new)", \&linksForNewTest);
1718 # If we already have expected results, just return their location.
1989 push @links, { href => "$base-$expectedTag$expectedResultExtension", text => "expected" };
2008 push @links, { href => "$base-$expectedTag.png", text => "expected image" };
2135 # We don't need diff and pretty diff for tests without expected file.
2392 my ($actual, $expected) = @_;
2394 foreach my $result ($actual, $expected) {
2414 return ($actual, $expected);