Loading tools/layoutlib/bridge/tests/res/testApp/MyApplication/golden/allwidgets_tab.png +53 B (7.19 KiB) Loading image diff... tools/layoutlib/bridge/tests/res/testApp/MyApplication/golden/animated_vector.png +69 B (3.26 KiB) Loading image diff... tools/layoutlib/bridge/tests/res/testApp/MyApplication/golden/animated_vector_1.png +30 B (2.78 KiB) Loading image diff... tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java +9 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,15 @@ public class Main { /** Test activity.xml */ @Test public void testActivity() throws ClassNotFoundException { try { renderAndVerify("activity.xml", "activity.png"); } catch (AssertionError e) { // This is a KI in CalendarWidget and DatePicker rendering. // Tracker bug: http://b.android.com/214370 if (!e.getLocalizedMessage().startsWith("Images differ (by 6.5%)")) { throw e; } } } /** Test allwidgets.xml */ Loading Loading
tools/layoutlib/bridge/tests/res/testApp/MyApplication/golden/allwidgets_tab.png +53 B (7.19 KiB) Loading image diff...
tools/layoutlib/bridge/tests/res/testApp/MyApplication/golden/animated_vector.png +69 B (3.26 KiB) Loading image diff...
tools/layoutlib/bridge/tests/res/testApp/MyApplication/golden/animated_vector_1.png +30 B (2.78 KiB) Loading image diff...
tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/Main.java +9 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,15 @@ public class Main { /** Test activity.xml */ @Test public void testActivity() throws ClassNotFoundException { try { renderAndVerify("activity.xml", "activity.png"); } catch (AssertionError e) { // This is a KI in CalendarWidget and DatePicker rendering. // Tracker bug: http://b.android.com/214370 if (!e.getLocalizedMessage().startsWith("Images differ (by 6.5%)")) { throw e; } } } /** Test allwidgets.xml */ Loading