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

Unified Diff: mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtilTest.java

Issue 830593003: Update mojo sdk to rev 9fbbc4f0fef1187312316c0ed992342474e139f1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick mojo 9d3b8dd17f12d20035a14737fdc38dd926890ff8 Created 5 years, 11 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
Index: mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtilTest.java
diff --git a/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtilTest.java b/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtilTest.java
index b0c5a54c17c651a8e96e6f7977d6dc8ca6031c62..14259ef8ae7136dcadccd5c97cfc9600afa27fb8 100644
--- a/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtilTest.java
+++ b/mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtilTest.java
@@ -41,7 +41,7 @@ public class ValidationTestUtilTest extends MojoTestCase {
// Test empty input.
String input = "";
ByteBuffer expected = ByteBuffer.allocateDirect(0);
- expected.order(ByteOrder.nativeOrder());
+ expected.order(ByteOrder.LITTLE_ENDIAN);
checkInputParser(input, true, expected, 0);
}
@@ -54,8 +54,8 @@ public class ValidationTestUtilTest extends MojoTestCase {
checkInputParser(input, true, expected, 0);
}
{
- String input = "[u1]0x10// hello world !! \n\r \t [u2]65535 \n" +
- "[u4]65536 [u8]0xFFFFFFFFFFFFFFFF 0 0Xff";
+ String input = "[u1]0x10// hello world !! \n\r \t [u2]65535 \n"
+ + "[u4]65536 [u8]0xFFFFFFFFFFFFFFFF 0 0Xff";
ByteBuffer expected = ByteBuffer.allocateDirect(17);
expected.order(ByteOrder.nativeOrder());
expected.put((byte) 0x10);
« no previous file with comments | « mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java ('k') | mojo/android/system/core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698