diff options
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaTestSupportUtil.java')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaTestSupportUtil.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaTestSupportUtil.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaTestSupportUtil.java index 8ecc3d012..696f57856 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaTestSupportUtil.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/support/BugzillaTestSupportUtil.java @@ -17,7 +17,12 @@ public abstract class BugzillaTestSupportUtil { public static boolean isInvalidLogon(CoreException e) { return e.getMessage().indexOf("invalid username or password") != -1 - || e.getMessage().indexOf("invalid login or password") != -1; + || e.getMessage().indexOf("invalid login or password") != -1 + || e.getMessage().indexOf("untrusted authentication request:") != -1 + || e.getMessage().indexOf("An unknown repository error has occurred: file is empty") != -1 + || e.getMessage() + .indexOf( + "file is empty: The file you are trying to attach is empty, does not exist, or you don't have permission to read it.") != -1; } }
\ No newline at end of file |