aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-01-14 16:25:10 -0800
committerXavier Ducrohet <xav@android.com>2011-01-14 16:25:10 -0800
commite49e971808d699f22ef6c464470a64bb5fc207d4 (patch)
tree3eb4b65b85bc11006195795ada289c6de4588cf6
parent55e6d779fd8ee5c3609517373e2596d711702a49 (diff)
downloadsdk-e49e971808d699f22ef6c464470a64bb5fc207d4.zip
sdk-e49e971808d699f22ef6c464470a64bb5fc207d4.tar.gz
sdk-e49e971808d699f22ef6c464470a64bb5fc207d4.tar.bz2
Fix build by updating adt-test to the new LayoutLog.
Change-Id: If6c972fdb379e67686dfaf5af0bcbd6cb4aa4b9c
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/RenderLoggerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/RenderLoggerTest.java b/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/RenderLoggerTest.java
index c829004..2ca5eb2 100644
--- a/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/RenderLoggerTest.java
+++ b/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/RenderLoggerTest.java
@@ -27,8 +27,8 @@ public class RenderLoggerTest extends TestCase {
public void testLogger2() throws Exception {
RenderLogger l = new RenderLogger("foo");
assertFalse(l.hasProblems());
- l.fidelityWarning(null, "No perspective Transforms", null);
- l.fidelityWarning(null, "No GPS", null);
+ l.fidelityWarning(null, "No perspective Transforms", null, null);
+ l.fidelityWarning(null, "No GPS", null, null);
assertTrue(l.hasProblems());
assertEquals("The graphics preview may not be accurate:\n"
+ "* No perspective Transforms\n" + "* No GPS\n", l.getProblems());
@@ -40,7 +40,7 @@ public class RenderLoggerTest extends TestCase {
RenderLogger l = new RenderLogger("foo");
assertFalse(l.hasProblems());
l.error("timeout", "Sample Error", new RuntimeException());
- l.warning("slow", "Sample warning");
+ l.warning("slow", "Sample warning", null);
assertTrue(l.hasProblems());
assertEquals("Sample Error\n" + "Sample warning\n"
+ "Exception details are logged in Window > Show View > Error Log", l.getProblems());