Update tests for custom views

pull/84/head
Alinson S. Xavier 10 years ago
parent 6d5a8f5753
commit f5f3ec9f88

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

@ -89,7 +89,7 @@ public class HabitHistoryViewTest extends ViewTest
public void tapDate_withEditableView() throws Throwable public void tapDate_withEditableView() throws Throwable
{ {
view.setIsEditable(true); view.setIsEditable(true);
tap(view, 270, 30); tap(view, 270, 18); // today's square
waitForAsyncTasks(); waitForAsyncTasks();
long today = DateHelper.getStartOfToday(); long today = DateHelper.getStartOfToday();
@ -103,7 +103,7 @@ public class HabitHistoryViewTest extends ViewTest
view.setIsEditable(true); view.setIsEditable(true);
tap(view, 45, 5); // header tap(view, 45, 5); // header
tap(view, 270, 43); // tomorrow's square tap(view, 270, 30); // tomorrow's square
tap(view, 280, 30); // right axis tap(view, 280, 30); // right axis
waitForAsyncTasks(); waitForAsyncTasks();

@ -40,7 +40,7 @@ grep -q "FAILURES\!\!\!" ${OUTPUT_DIR}/runner.txt && failed=1
info "Fetching failed generated files..." info "Fetching failed generated files..."
mkdir -p ${OUTPUT_DIR}/failed mkdir -p ${OUTPUT_DIR}/failed
adb pull /sdcard/Android/data/${PACKAGE_NAME}/cache/Failed \ adb pull /sdcard/Android/data/${PACKAGE_NAME}/files/test-screenshots/ \
${OUTPUT_DIR}/failed >> $LOG 2>> $LOG ${OUTPUT_DIR}/failed >> $LOG 2>> $LOG
adb shell rm -r /sdcard/Android/data/${PACKAGE_NAME}/cache/ >> $LOG 2>> $LOG adb shell rm -r /sdcard/Android/data/${PACKAGE_NAME}/cache/ >> $LOG 2>> $LOG

Loading…
Cancel
Save