Diff
Modified: trunk/LayoutTests/ChangeLog (93186 => 93187)
--- trunk/LayoutTests/ChangeLog 2011-08-17 01:24:44 UTC (rev 93186)
+++ trunk/LayoutTests/ChangeLog 2011-08-17 01:29:17 UTC (rev 93187)
@@ -1,3 +1,24 @@
+2011-08-16 Hayato Ito <[email protected]>
+
+ Add two sample mismatch reftests to make sure that reftests work correctly.
+ https://bugs.webkit.org/show_bug.cgi?id=66218
+
+ Reviewed by Tony Chang.
+
+ One mismatch reftest is expected to pass, the other is expected to
+ fail. The failed one is marked as 'WONTFIX' in test expectations
+ in chromium port and is skipped in other ports.
+
+ * fast/harness/sample-fail-mismatch-reftest-expected-mismatch.html: Added.
+ * fast/harness/sample-fail-mismatch-reftest.html: Added.
+ * fast/harness/sample-mismatch-reftest-expected-mismatch.html: Added.
+ * fast/harness/sample-mismatch-reftest.html: Added.
+ * platform/chromium/test_expectations.txt:
+ * platform/gtk/Skipped:
+ * platform/mac/Skipped:
+ * platform/qt/Skipped:
+ * platform/win/Skipped:
+
2011-08-16 Shawn Singh <[email protected]>
Computing screen-space transform for LayerChromium and CCLayerImpl
Added: trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest-expected-mismatch.html (0 => 93187)
--- trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest-expected-mismatch.html (rev 0)
+++ trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest-expected-mismatch.html 2011-08-17 01:29:17 UTC (rev 93187)
@@ -0,0 +1 @@
+This mismatch reftest is expected to fail.
Property changes on: trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest-expected-mismatch.html
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest.html (0 => 93187)
--- trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest.html (rev 0)
+++ trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest.html 2011-08-17 01:29:17 UTC (rev 93187)
@@ -0,0 +1 @@
+This mismatch reftest is expected to fail.
Property changes on: trunk/LayoutTests/fast/harness/sample-fail-mismatch-reftest.html
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/harness/sample-mismatch-reftest-expected-mismatch.html (0 => 93187)
--- trunk/LayoutTests/fast/harness/sample-mismatch-reftest-expected-mismatch.html (rev 0)
+++ trunk/LayoutTests/fast/harness/sample-mismatch-reftest-expected-mismatch.html 2011-08-17 01:29:17 UTC (rev 93187)
@@ -0,0 +1,2 @@
+This is a sample mismatch reftest.
+This line exists only in '-expected-mismatch.html'.
Property changes on: trunk/LayoutTests/fast/harness/sample-mismatch-reftest-expected-mismatch.html
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/fast/harness/sample-mismatch-reftest.html (0 => 93187)
--- trunk/LayoutTests/fast/harness/sample-mismatch-reftest.html (rev 0)
+++ trunk/LayoutTests/fast/harness/sample-mismatch-reftest.html 2011-08-17 01:29:17 UTC (rev 93187)
@@ -0,0 +1 @@
+This is a sample mismatch reftest.
Property changes on: trunk/LayoutTests/fast/harness/sample-mismatch-reftest.html
___________________________________________________________________
Added: svn:eol-style
Modified: trunk/LayoutTests/platform/chromium/test_expectations.txt (93186 => 93187)
--- trunk/LayoutTests/platform/chromium/test_expectations.txt 2011-08-17 01:24:44 UTC (rev 93186)
+++ trunk/LayoutTests/platform/chromium/test_expectations.txt 2011-08-17 01:29:17 UTC (rev 93187)
@@ -462,6 +462,9 @@
// data, so this test is not applicable.
BUGWK55519 SKIP WONTFIX : compositing/video/video-background-color.html = FAIL
+// This test verifies that a mismatch reftest will fail if both results are same.
+WONTFIX : fast/harness/sample-fail-mismatch-reftest.html = IMAGE
+
// -----------------------------------------------------------------
// CHROME REWRITTEN TESTS
// -----------------------------------------------------------------
Modified: trunk/LayoutTests/platform/gtk/Skipped (93186 => 93187)
--- trunk/LayoutTests/platform/gtk/Skipped 2011-08-17 01:24:44 UTC (rev 93186)
+++ trunk/LayoutTests/platform/gtk/Skipped 2011-08-17 01:29:17 UTC (rev 93187)
@@ -1611,3 +1611,6 @@
# Font feature settings is not implemented.
css3/font-feature-settings-rendering.html
+
+# This test verifies that a mismatch reftest will fail as intended if both results are same.
+fast/harness/sample-fail-mismatch-reftest.html
Modified: trunk/LayoutTests/platform/mac/Skipped (93186 => 93187)
--- trunk/LayoutTests/platform/mac/Skipped 2011-08-17 01:24:44 UTC (rev 93186)
+++ trunk/LayoutTests/platform/mac/Skipped 2011-08-17 01:29:17 UTC (rev 93187)
@@ -408,3 +408,6 @@
# Font feature settings is not implemented.
css3/font-feature-settings-rendering.html
+
+# This test verifies that a mismatch reftest will fail as intended if both results are same.
+fast/harness/sample-fail-mismatch-reftest.html
Modified: trunk/LayoutTests/platform/qt/Skipped (93186 => 93187)
--- trunk/LayoutTests/platform/qt/Skipped 2011-08-17 01:24:44 UTC (rev 93186)
+++ trunk/LayoutTests/platform/qt/Skipped 2011-08-17 01:29:17 UTC (rev 93187)
@@ -2366,3 +2366,6 @@
# [Qt] editing/deleting/regional-indicators.html after r93068
# https://bugs.webkit.org/show_bug.cgi?id=66268
editing/deleting/regional-indicators.html
+
+# This test verifies that a mismatch reftest will fail as intended if both results are same.
+fast/harness/sample-fail-mismatch-reftest.html
Modified: trunk/LayoutTests/platform/win/Skipped (93186 => 93187)
--- trunk/LayoutTests/platform/win/Skipped 2011-08-17 01:24:44 UTC (rev 93186)
+++ trunk/LayoutTests/platform/win/Skipped 2011-08-17 01:29:17 UTC (rev 93187)
@@ -1386,3 +1386,6 @@
# Font feature settings is not implemented.
css3/font-feature-settings-rendering.html
+
+# This test verifies that a mismatch reftest will fail as intended if both results are same.
+fast/harness/sample-fail-mismatch-reftest.html