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

Unified Diff: plugins/org.chromium.sdk.tests/src/org/chromium/sdk/internal/v8native/value/JsObjectImplTest.java

Issue 12316003: Fix tests compilation (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: format Created 7 years, 10 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: plugins/org.chromium.sdk.tests/src/org/chromium/sdk/internal/v8native/value/JsObjectImplTest.java
diff --git a/plugins/org.chromium.sdk.tests/src/org/chromium/sdk/internal/v8native/value/JsObjectImplTest.java b/plugins/org.chromium.sdk.tests/src/org/chromium/sdk/internal/v8native/value/JsObjectImplTest.java
index 95d9daf843c0ed74d9f10352eac6c7fb0ab74505..b0a00dc5f3247f6038cf285f3e114c19a173ecb7 100755
--- a/plugins/org.chromium.sdk.tests/src/org/chromium/sdk/internal/v8native/value/JsObjectImplTest.java
+++ b/plugins/org.chromium.sdk.tests/src/org/chromium/sdk/internal/v8native/value/JsObjectImplTest.java
@@ -98,14 +98,14 @@ public class JsObjectImplTest {
@Test
public void testObjectData() throws Exception {
JsObjectBase<?> jsObject = new JsObjectBase.Impl(
- callFrame.getInternalContext().getValueLoader(), "test_object", eventMirror);
+ callFrame.getInternalContext().getValueLoader(), eventMirror);
assertNotNull(jsObject.asObject());
assertNull(jsObject.asArray());
- Collection<JsVariableImpl> variables = jsObject.getProperties();
+ Collection<JsVariableBase.Property> variables = jsObject.getProperties();
assertEquals(2, variables.size()); // "x" and "y"
- Iterator<JsVariableImpl> it = variables.iterator();
- JsVariableImpl firstVar = it.next();
- JsVariableImpl secondVar = it.next();
+ Iterator<JsVariableBase.Property> it = variables.iterator();
+ JsVariableBase.Property firstVar = it.next();
+ JsVariableBase.Property secondVar = it.next();
Set<String> names = new HashSet<String>();
names.add("x"); //$NON-NLS-1$
names.add("y"); //$NON-NLS-1$
@@ -123,9 +123,7 @@ public class JsObjectImplTest {
JsVariable xProperty = jsObject.getProperty("x");
assertEquals("x", xProperty.getName()); //$NON-NLS-1$
- assertEquals("test_object.x", xProperty.getFullyQualifiedName()); //$NON-NLS-1$
JsVariable yProperty = jsObject.getProperty("y");
assertEquals("y", yProperty.getName()); //$NON-NLS-1$
- assertEquals("test_object.y", yProperty.getFullyQualifiedName()); //$NON-NLS-1$
}
}

Powered by Google App Engine
This is Rietveld 408576698