Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: test/webkit/constant-encoding.js

Issue 18068003: Migrated several tests from blink to V8 repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/constant-count-expected.txt ('k') | test/webkit/constant-encoding-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/constant-encoding.js
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/constant-encoding.js
similarity index 85%
copy from test/webkit/resources/standalone-post.js
copy to test/webkit/constant-encoding.js
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..d0a4c8e70a4084fcb66d3f4c8f631ce898f09d3e 100644
--- a/test/webkit/resources/standalone-post.js
+++ b/test/webkit/constant-encoding.js
@@ -21,6 +21,10 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-wasPostTestScriptParsed = true;
+description("Test that we correctly encode patterned immediate values");
-finishJSTest();
+shouldBeFalse("0 >= 0x01000100")
+shouldBeFalse("0 >= 0x01010000")
+shouldBeFalse("0 >= 0x00000101")
+shouldBeFalse("0 >= 0x00010001")
+shouldBeFalse("0 >= 0x01010101")
« no previous file with comments | « test/webkit/constant-count-expected.txt ('k') | test/webkit/constant-encoding-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698