Fixes 1.6 build breakage. CommandExecutorTest was allowing an exception to escape from the test method that was exposed by recent fixes to the JUnit infrastructure. git-svn-id: https://google-web-toolkit.googlecode.com/svn/releases/1.6@4508 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/test/com/google/gwt/user/client/CommandExecutorTest.java b/user/test/com/google/gwt/user/client/CommandExecutorTest.java index 1b335d9..d96a761 100644 --- a/user/test/com/google/gwt/user/client/CommandExecutorTest.java +++ b/user/test/com/google/gwt/user/client/CommandExecutorTest.java
@@ -206,7 +206,7 @@ UncaughtExceptionHandler ueh1 = new UncaughtExceptionHandler() { public void onUncaughtException(Throwable e) { - if (!(e instanceof CommandCanceledException)) { + if (!(e instanceof CommandCanceledException || e instanceof IncrementalCommandCanceledException)) { originalUEH.onUncaughtException(e); return; }