OSDN Git Service

Fix theme namespace in tests. [DO NOT MERGE]
authorDeepanshu Gupta <deepanshu@google.com>
Wed, 29 Jul 2015 18:12:44 +0000 (11:12 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Tue, 25 Aug 2015 19:06:56 +0000 (12:06 -0700)
The tests used framework theme (Material), but the ResourceResolver was
created with project theme. This caused tests to fail becasue of missing
resources.

Change-Id: Ia17ee19054f6689f85e3423e83c1f47a2cc4364f
(cherry picked from commit 4a6ee98d39ab2300b2cd17c60221e43bf4ade8e7)

tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java

index 4c668a7..09f2000 100644 (file)
@@ -284,7 +284,7 @@ public class Main {
                 ConfigGenerator.getEnumMap(attrs), getLayoutLog());
     }
 
-    /** Text activity.xml */
+    /** Test activity.xml */
     @Test
     public void testActivity() throws ClassNotFoundException {
         renderAndVerify("activity.xml", "activity.png");