Merge "Update testActivity"
This commit is contained in:
committed by
Android (Google) Code Review
commit
126dd25d5b
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 5.9 KiB |
@@ -3,7 +3,7 @@
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="android:Theme.Material.Light.DarkActionBar">
|
||||
<item name="myattr">@integer/ten</item>
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="android:animateFirstView">false</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -309,15 +309,7 @@ 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;
|
||||
}
|
||||
}
|
||||
renderAndVerify("activity.xml", "activity.png");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user