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

Unified Diff: trunk/src/mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java

Issue 354833003: Revert 279677 "Generate java bindings for structs." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java
===================================================================
--- trunk/src/mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java (revision 279687)
+++ trunk/src/mojo/android/javatests/src/org/chromium/mojo/system/impl/CoreImplTest.java (working copy)
@@ -493,7 +493,7 @@
@SmallTest
public void testInvalidHandle() {
Core core = CoreImpl.getInstance();
- Handle handle = InvalidHandle.INSTANCE;
+ Handle handle = new InvalidHandle();
// Checking wait.
boolean exception = false;
@@ -713,7 +713,7 @@
assertEquals(Integer.MIN_VALUE, asyncWaiterResult.getResult());
assertEquals(null, asyncWaiterResult.getException());
- core.getDefaultAsyncWaiter().asyncWait(InvalidHandle.INSTANCE, Core.WaitFlags.READABLE,
+ core.getDefaultAsyncWaiter().asyncWait(new InvalidHandle(), Core.WaitFlags.READABLE,
Core.DEADLINE_INFINITE, asyncWaiterResult);
assertEquals(Integer.MIN_VALUE, asyncWaiterResult.getResult());
assertEquals(null, asyncWaiterResult.getException());

Powered by Google App Engine
This is Rietveld 408576698