diff options
author | Raphael <raphael@google.com> | 2009-12-13 12:41:11 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-13 12:41:11 -0800 |
commit | 416d64087c9de6e148d5397feed2a7e39b1ec554 (patch) | |
tree | f14ca3ff817ab9eeaa43cdb70640a8407e0d42cc | |
parent | ed48dcbc042460ba833a8cde8f2c1e72dbead8bd (diff) | |
parent | 023c25de5f7dbf0b2286b03be78f0f34238d590e (diff) | |
download | sdk-416d64087c9de6e148d5397feed2a7e39b1ec554.zip sdk-416d64087c9de6e148d5397feed2a7e39b1ec554.tar.gz sdk-416d64087c9de6e148d5397feed2a7e39b1ec554.tar.bz2 |
am 023c25de: am f12e7eb7: am b8cc9f36: Fix ADT Tests (see Change If49c1e1a)
Merge commit '023c25de5f7dbf0b2286b03be78f0f34238d590e'
* commit '023c25de5f7dbf0b2286b03be78f0f34238d590e':
Fix ADT Tests (see Change If49c1e1a)
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/UiElementPullParserTest.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/UiElementPullParserTest.java b/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/UiElementPullParserTest.java index 649b400..7499f5d 100644 --- a/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/UiElementPullParserTest.java +++ b/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/UiElementPullParserTest.java @@ -22,6 +22,7 @@ import com.android.ide.eclipse.adt.internal.editors.descriptors.TextAttributeDes import com.android.ide.eclipse.adt.internal.editors.layout.UiElementPullParser; import com.android.ide.eclipse.adt.internal.editors.mock.MockXmlNode; import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; +import com.android.ide.eclipse.adt.internal.resources.configurations.PixelDensityQualifier.Density; import com.android.sdklib.SdkConstants; import org.w3c.dom.Node; @@ -156,7 +157,13 @@ public class UiElementPullParserTest extends TestCase { public void testParser() { try { // wrap the parser around the ui element node, and start parsing - UiElementPullParser parser = new UiElementPullParser(ui, false, null); + UiElementPullParser parser = new UiElementPullParser( + ui, // model + false, // explodedView + Density.MEDIUM.getDpiValue(), // density (default from ConfigurationComposite) + Density.MEDIUM.getDpiValue(), // xdpi (default from ConfigurationComposite) + null // iProject + ); assertEquals(XmlPullParser.START_DOCUMENT, parser.getEventType()); |