Merge "Not suppressing exceptions in tests." into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
b821d5dfee
@@ -23,7 +23,7 @@ public class Wait {
|
||||
return;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
// Ignore
|
||||
throw new RuntimeException(t);
|
||||
}
|
||||
SystemClock.sleep(sleepMillis);
|
||||
}
|
||||
@@ -34,7 +34,7 @@ public class Wait {
|
||||
return;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
// Ignore
|
||||
throw new RuntimeException(t);
|
||||
}
|
||||
Assert.fail(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user