diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_appendData_String_0.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_appendData_String_0.java index cfec4c1c2c9..12746972e03 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_appendData_String_0.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_appendData_String_0.java @@ -24,6 +24,7 @@ package org.mozilla.dom.test; import java.util.*; import java.io.*; +import java.lang.*; import org.mozilla.dom.test.*; import org.mozilla.dom.*; import org.w3c.dom.*; @@ -109,6 +110,10 @@ public class CharacterDataImpl_appendData_String_0 extends BWBaseTest implements } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_0.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_0.java index 472daeed7fc..6b5a7932db7 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_0.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_0.java @@ -102,6 +102,10 @@ public class CharacterDataImpl_deleteData_int_int_0 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_1.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_1.java index 7c745182ed8..823ab0baff7 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_1.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_1.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_deleteData_int_int_1 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_2.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_2.java index a7a922cc0f8..515e8c924f5 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_2.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_2.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_deleteData_int_int_2 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_3.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_3.java index 650df2d8cc6..c63e8a186be 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_3.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_3.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_deleteData_int_int_3 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_4.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_4.java index caedccc9d43..45074d0ac5e 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_4.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_4.java @@ -22,6 +22,7 @@ package org.mozilla.dom.test; import java.util.*; +import java.lang.*; import java.io.*; import org.mozilla.dom.test.*; import org.mozilla.dom.*; @@ -104,6 +105,11 @@ public class CharacterDataImpl_deleteData_int_int_4 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + r.printStackTrace(); + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_5.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_5.java index f246b57ce48..216b60cb1a4 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_5.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_5.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_deleteData_int_int_5 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_6.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_6.java index 82f29b10560..a35daddd4eb 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_6.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_6.java @@ -103,6 +103,10 @@ public class CharacterDataImpl_deleteData_int_int_6 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_7.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_7.java index fc054b9e6fb..e42eb3f714e 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_7.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_7.java @@ -103,6 +103,10 @@ public class CharacterDataImpl_deleteData_int_int_7 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_8.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_8.java index 73c25754b98..4e1099de511 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_8.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_deleteData_int_int_8.java @@ -103,6 +103,10 @@ public class CharacterDataImpl_deleteData_int_int_8 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_getData.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_getData.java index c9565290f9a..6ed01ee4bd1 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_getData.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_getData.java @@ -100,6 +100,10 @@ public class CharacterDataImpl_getData extends BWBaseTest implements Execution } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_0.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_0.java index 8520280fb82..61b5ef6d3a2 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_0.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_0.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_insertData_int_String_0 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_1.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_1.java index c7aee22913f..aaaf36847d9 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_1.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_1.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_insertData_int_String_1 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_2.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_2.java index 0f80befb6dc..f5d2a8be8e5 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_2.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_2.java @@ -103,6 +103,10 @@ public class CharacterDataImpl_insertData_int_String_2 extends BWBaseTest implem } } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); return BWBaseTest.PASSED; } } else { diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_3.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_3.java index b0473e486ec..b959941bfd5 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_3.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_3.java @@ -105,6 +105,10 @@ public class CharacterDataImpl_insertData_int_String_3 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_4.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_4.java index 87db8101590..b6ad1926a84 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_4.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_4.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_insertData_int_String_4 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_5.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_5.java index 2463a893bcc..af80aa14b41 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_5.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_insertData_int_String_5.java @@ -104,6 +104,10 @@ public class CharacterDataImpl_insertData_int_String_5 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_0.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_0.java index 065641b7486..db0c6794c88 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_0.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_0.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_0 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_1.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_1.java index 047d215ac69..9830980957a 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_1.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_1.java @@ -109,6 +109,10 @@ public class CharacterDataImpl_replaceData_int_int_String_1 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_10.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_10.java index fcdf83f9da4..2293bafe147 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_10.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_10.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_10 extends BWBaseTest } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_11.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_11.java index a57bd6c0cc1..54df11a0b19 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_11.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_11.java @@ -112,6 +112,10 @@ System.out.println("str is " + str); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_12.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_12.java index 8cc3d6944e5..cd03eb2e608 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_12.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_12.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_12 extends BWBaseTest } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_13.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_13.java index 62b4adb43ca..0eb2b72b3c4 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_13.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_13.java @@ -112,6 +112,10 @@ System.out.println("str is " + str); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_14.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_14.java index bf26b75ba1d..33db57718de 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_14.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_14.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_14 extends BWBaseTest } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_15.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_15.java index a1c4b326d04..b0fbd76b299 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_15.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_15.java @@ -113,6 +113,10 @@ System.out.println("str is " + str); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_16.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_16.java index bb1bc5ff9e4..7c26844401a 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_16.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_16.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_16 extends BWBaseTest } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_17.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_17.java index 28c69eb7a6d..a34bc6efaac 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_17.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_17.java @@ -111,6 +111,10 @@ System.out.println("str is " + str); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_2.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_2.java index 11692476b12..44000e18d9b 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_2.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_2.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_2 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_3.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_3.java index 18ebf14438f..2b7135c4911 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_3.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_3.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_3 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_4.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_4.java index c68a9f95d29..ae9782fcc5c 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_4.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_4.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_4 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_5.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_5.java index 5a90d65b8b0..e3ee8eefdd0 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_5.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_5.java @@ -112,6 +112,10 @@ System.out.println("str is " + str); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_6.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_6.java index b684426d90e..3a6cc29b39c 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_6.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_6.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_6 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_7.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_7.java index bbef1fc4dd0..1482a0c8309 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_7.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_7.java @@ -107,6 +107,10 @@ public class CharacterDataImpl_replaceData_int_int_String_7 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_8.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_8.java index dc2c9c35b0c..f0758c43273 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_8.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_8.java @@ -107,6 +107,10 @@ public class CharacterDataImpl_replaceData_int_int_String_8 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_9.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_9.java index ed866e7ac9d..4f8c2107e63 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_9.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_replaceData_int_int_String_9.java @@ -106,6 +106,10 @@ public class CharacterDataImpl_replaceData_int_int_String_9 extends BWBaseTest i } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_0.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_0.java index 1eaf17d29ad..a71d7d55e65 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_0.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_0.java @@ -103,6 +103,10 @@ public class CharacterDataImpl_setData_String_0 extends BWBaseTest implements Ex } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_1.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_1.java index fa0fcb753b0..1ccb139313b 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_1.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_setData_String_1.java @@ -102,6 +102,10 @@ public class CharacterDataImpl_setData_String_1 extends BWBaseTest implements Ex } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_0.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_0.java index fa37c4f9f5e..1d88093ead2 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_0.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_0.java @@ -104,6 +104,10 @@ System.out.println("getstr is " + getstr); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_1.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_1.java index d1f9f1d0197..1b2d72d7248 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_1.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_1.java @@ -103,6 +103,10 @@ System.out.println("getstr is " + getstr); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_2.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_2.java index 0455f9da303..7bf02484a0e 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_2.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_2.java @@ -103,6 +103,10 @@ System.out.println("getstr is " + getstr); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_3.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_3.java index f951e16bc14..73f7f048a4c 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_3.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_3.java @@ -103,6 +103,10 @@ System.out.println("getstr is " + getstr); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_4.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_4.java index b54633647f2..ce6e59d0241 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_4.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_4.java @@ -103,6 +103,10 @@ System.out.println("getstr is " + getstr); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_5.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_5.java index 8832712fef1..0ad0764d8f6 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_5.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_5.java @@ -103,6 +103,10 @@ System.out.println("getstr is " + getstr); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_6.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_6.java index b88cee1fff8..085befb1205 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_6.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_6.java @@ -103,6 +103,10 @@ System.out.println("getstr is " + getstr); } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_7.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_7.java index e0afabef955..a8f1e0442d5 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_7.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_7.java @@ -93,16 +93,14 @@ public class CharacterDataImpl_substringData_int_int_7 extends BWBaseTest implem TestLoader.logErrPrint("CharacterData should not be null...."); return BWBaseTest.FAILED; } - -System.out.println("offset is " + offset + " count is " + count); -int x = offset + count; -System.out.println("x is " + x); -System.out.println("getstr is " + getstr); - } } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); - return BWBaseTest.PASSED; + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_8.java b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_8.java index b5a0af3e002..208c0838206 100755 --- a/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_8.java +++ b/mozilla/java/dom/tests/src/api/CharacterDataImpl_substringData_int_int_8.java @@ -103,6 +103,10 @@ public class CharacterDataImpl_substringData_int_int_8 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException " ); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_0.java index 4838a823584..f6162af1653 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_0.java @@ -88,7 +88,11 @@ public class DocumentImpl_createAttribute_String_0 extends BWBaseTest implements } } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); - return BWBaseTest.PASSED; + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_1.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_1.java index a599ac44291..47f19425466 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_1.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createAttribute_String_1.java @@ -89,6 +89,10 @@ public class DocumentImpl_createAttribute_String_1 extends BWBaseTest implements } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createCDATASection_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createCDATASection_String_0.java index ab36a027324..3ae1e612cdb 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createCDATASection_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createCDATASection_String_0.java @@ -88,7 +88,11 @@ public class DocumentImpl_createCDATASection_String_0 extends BWBaseTest impleme } } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); - return BWBaseTest.PASSED; + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_0.java index 14c4dad5c1b..496421774c4 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_0.java @@ -79,6 +79,7 @@ public class DocumentImpl_createComment_String_0 extends BWBaseTest implements E Document d = (Document)tobj; if (d != null) { + try { Comment dc = d.createComment(null); if (dc != null) { TestLoader.logErrPrint("Document 'createCommnet(null) is not NULL.."); @@ -86,6 +87,14 @@ public class DocumentImpl_createComment_String_0 extends BWBaseTest implements E } else { TestLoader.logErrPrint("Document 'createComment(null) is NULL.."); } + } catch (DOMException e) { + TestLoader.logErrPrint("Caught DOMException"); + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_1.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_1.java index 2d7ce6994ce..ed8b33285fa 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_1.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createComment_String_1.java @@ -78,6 +78,7 @@ public class DocumentImpl_createComment_String_1 extends BWBaseTest implements E Document d = (Document)tobj; if (d != null) { + try { Comment dc = d.createComment("dummy comment string"); if (dc == null) { TestLoader.logErrPrint("Document 'createCommnet(dummy)' is not NULL.."); @@ -85,6 +86,14 @@ public class DocumentImpl_createComment_String_1 extends BWBaseTest implements E } else { TestLoader.logErrPrint("Document 'createComment(dummy)' is NULL.."); } + } catch (DOMException e) { + TestLoader.logErrPrint("Caught DOMException"); + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createDocumentFragment.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createDocumentFragment.java index 407c672d871..81f2614165c 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createDocumentFragment.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createDocumentFragment.java @@ -78,6 +78,7 @@ public class DocumentImpl_createDocumentFragment extends BWBaseTest implements E Document d = (Document)tobj; if (d != null) { + try { DocumentFragment df = d.createDocumentFragment(); if (df == null) { TestLoader.logErrPrint("Document 'createDocumentFragment()' is NULL.."); @@ -85,6 +86,11 @@ public class DocumentImpl_createDocumentFragment extends BWBaseTest implements E } else { TestLoader.logErrPrint("Document 'createComment(dummy)' is not NULL.."); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_0.java index 76f4e2c2f05..2a37ab3c394 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_0.java @@ -88,7 +88,11 @@ public class DocumentImpl_createElement_String_0 extends BWBaseTest implements E } } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); - return BWBaseTest.PASSED; + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_1.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_1.java index 8b3593a799d..8fcdedb508f 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_1.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createElement_String_1.java @@ -89,6 +89,10 @@ public class DocumentImpl_createElement_String_1 extends BWBaseTest implements E } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_0.java index 6adca57a491..bfd05b192b5 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_0.java @@ -87,7 +87,11 @@ public class DocumentImpl_createEntityReference_String_0 extends BWBaseTest impl } } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); - return BWBaseTest.PASSED; + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_1.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_1.java index c6c015aa49e..9427d17c813 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_1.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createEntityReference_String_1.java @@ -89,6 +89,10 @@ public class DocumentImpl_createEntityReference_String_1 extends BWBaseTest impl } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_0.java index 7d9ab59ecba..094f784d4d5 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_0.java @@ -90,6 +90,10 @@ public class DocumentImpl_createProcessingInstruction_String_String_0 extends BW } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_1.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_1.java index ba56b319d79..4c77168d5c6 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_1.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_1.java @@ -90,6 +90,10 @@ public class DocumentImpl_createProcessingInstruction_String_String_1 extends BW } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_2.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_2.java index 1c099d45916..865f576b745 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_2.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_2.java @@ -90,6 +90,10 @@ public class DocumentImpl_createProcessingInstruction_String_String_2 extends BW } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_3.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_3.java index 08922bae695..23f45caa2be 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_3.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createProcessingInstruction_String_String_3.java @@ -89,6 +89,10 @@ public class DocumentImpl_createProcessingInstruction_String_String_3 extends BW } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_0.java index af408866cae..eb839002f50 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_0.java @@ -79,6 +79,7 @@ public class DocumentImpl_createTextNode_String_0 extends BWBaseTest implements Document d = (Document)tobj; if (d != null) { + try { Text t = d.createTextNode(null); if (t != null) { TestLoader.logErrPrint("Document 'createTextNode(null) is not NULL.."); @@ -86,6 +87,11 @@ public class DocumentImpl_createTextNode_String_0 extends BWBaseTest implements } else { TestLoader.logErrPrint("Document 'createTextNode(null)' is NULL.."); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_1.java b/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_1.java index 59d6d4d9998..5254dcda00a 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_1.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_createTextNode_String_1.java @@ -79,6 +79,7 @@ public class DocumentImpl_createTextNode_String_1 extends BWBaseTest implements Document d = (Document)tobj; if (d != null) { + try { Text t = d.createTextNode("mytxt"); if (t == null) { TestLoader.logErrPrint("Document 'createTextNode(mytxt) is NULL.."); @@ -86,6 +87,11 @@ public class DocumentImpl_createTextNode_String_1 extends BWBaseTest implements } else { TestLoader.logErrPrint("Document 'createTextNode(mytxt)' is not NULL.."); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_getDoctype.java b/mozilla/java/dom/tests/src/api/DocumentImpl_getDoctype.java index b4d2cd2f9ca..44abd4dbe69 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_getDoctype.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_getDoctype.java @@ -79,6 +79,7 @@ public class DocumentImpl_getDoctype extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { DocumentType dt = d.getDoctype(); if (dt == null) { TestLoader.logErrPrint("Document Type is NULL.."); @@ -86,6 +87,11 @@ public class DocumentImpl_getDoctype extends BWBaseTest implements Execution } else { TestLoader.logErrPrint("Document Type is " + dt.getName()); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_getDocumentElement.java b/mozilla/java/dom/tests/src/api/DocumentImpl_getDocumentElement.java index 6a56418f5ec..177c32a20de 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_getDocumentElement.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_getDocumentElement.java @@ -79,6 +79,8 @@ public class DocumentImpl_getDocumentElement extends BWBaseTest implements Execu Document d = (Document)tobj; if (d != null) { + try + { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -86,6 +88,11 @@ public class DocumentImpl_getDocumentElement extends BWBaseTest implements Execu } else { TestLoader.logErrPrint("Document Element is " + e.getTagName()); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_0.java b/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_0.java index 23246261d5f..e0a5a115553 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_0.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_0.java @@ -78,6 +78,7 @@ public class DocumentImpl_getElementsByTagName_String_0 extends BWBaseTest imple Document d = (Document)tobj; if (d != null) { + try { NodeList dt = d.getElementsByTagName(null); if (dt != null) { TestLoader.logErrPrint("Document 'getElementsByTagName(null)' is NOT NULL.."); @@ -85,6 +86,12 @@ public class DocumentImpl_getElementsByTagName_String_0 extends BWBaseTest imple } else { TestLoader.logErrPrint("Document 'getElementsByTagName(null)' is NULL.."); } + + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_1.java b/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_1.java index 0ae25310f92..5dc0042ddca 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_1.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_getElementsByTagName_String_1.java @@ -79,6 +79,7 @@ public class DocumentImpl_getElementsByTagName_String_1 extends BWBaseTest imple Document d = (Document)tobj; if (d != null) { + try { NodeList dt = d.getElementsByTagName("*"); if (dt == null) { TestLoader.logErrPrint("Document 'getElementsByTagName(*)' is NULL.."); @@ -86,6 +87,11 @@ public class DocumentImpl_getElementsByTagName_String_1 extends BWBaseTest imple } else { TestLoader.logErrPrint("Document 'getElementsByTagName(*)' is NOT NULL.."); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentImpl_getImplementation.java b/mozilla/java/dom/tests/src/api/DocumentImpl_getImplementation.java index 8a7349f4b7e..49d07572161 100755 --- a/mozilla/java/dom/tests/src/api/DocumentImpl_getImplementation.java +++ b/mozilla/java/dom/tests/src/api/DocumentImpl_getImplementation.java @@ -78,6 +78,7 @@ public class DocumentImpl_getImplementation extends BWBaseTest implements Execut Document d = (Document)tobj; if (d != null) { + try { DOMImplementation dt = d.getImplementation(); if (dt == null) { TestLoader.logErrPrint("Document Implementation is NULL.."); @@ -85,6 +86,11 @@ public class DocumentImpl_getImplementation extends BWBaseTest implements Execut } else { TestLoader.logErrPrint("Document Implementation is NOT NULL..."); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getEntities.java b/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getEntities.java index 6bccfb2ab40..e3bc262ae21 100755 --- a/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getEntities.java +++ b/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getEntities.java @@ -78,6 +78,7 @@ public class DocumentTypeImpl_getEntities extends BWBaseTest implements Executio Document d = (Document)tobj; if (d != null) { + try { DocumentType dt = d.getDoctype(); if (dt == null) { TestLoader.logErrPrint("Document Type is NULL.."); @@ -89,6 +90,11 @@ public class DocumentTypeImpl_getEntities extends BWBaseTest implements Executio else TestLoader.logErrPrint("DocumentType 'getEntities' is Not NULL..."); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getName.java b/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getName.java index e85cc290b8c..d93e1e2d172 100755 --- a/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getName.java +++ b/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getName.java @@ -79,6 +79,7 @@ public class DocumentTypeImpl_getName extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { DocumentType dt = d.getDoctype(); if (dt == null) { TestLoader.logErrPrint("Document Type is NULL.."); @@ -91,6 +92,11 @@ public class DocumentTypeImpl_getName extends BWBaseTest implements Execution } else TestLoader.logErrPrint("DocumentType 'getName' is " + name); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getNotations.java b/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getNotations.java index a132fc4d15b..f2a61a866ba 100755 --- a/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getNotations.java +++ b/mozilla/java/dom/tests/src/api/DocumentTypeImpl_getNotations.java @@ -78,6 +78,7 @@ public class DocumentTypeImpl_getNotations extends BWBaseTest implements Executi Document d = (Document)tobj; if (d != null) { + try { DocumentType dt = d.getDoctype(); if (dt == null) { TestLoader.logErrPrint("Document Type is NULL.."); @@ -89,6 +90,11 @@ public class DocumentTypeImpl_getNotations extends BWBaseTest implements Executi else TestLoader.logErrPrint("DocumentType 'getNotations' is Not NULL..."); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_0.java b/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_0.java index d4bfa0625fb..0f1b64ba9e0 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_0.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_0.java @@ -78,6 +78,7 @@ public class ElementImpl_getAttributeNode_String_0 extends BWBaseTest implements Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -89,6 +90,11 @@ public class ElementImpl_getAttributeNode_String_0 extends BWBaseTest implements return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_1.java index 70cbc012f7b..a8073ede25b 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_getAttributeNode_String_1.java @@ -78,6 +78,7 @@ public class ElementImpl_getAttributeNode_String_1 extends BWBaseTest implements Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -90,6 +91,11 @@ public class ElementImpl_getAttributeNode_String_1 extends BWBaseTest implements return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_0.java b/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_0.java index e71b86955c1..677a2b429d0 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_0.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_0.java @@ -78,6 +78,7 @@ public class ElementImpl_getAttribute_String_0 extends BWBaseTest implements Exe Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -89,6 +90,11 @@ public class ElementImpl_getAttribute_String_0 extends BWBaseTest implements Exe return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_1.java index 6c49a32e33e..539acc4b6b2 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_getAttribute_String_1.java @@ -79,6 +79,7 @@ public class ElementImpl_getAttribute_String_1 extends BWBaseTest implements Exe Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -97,6 +98,11 @@ public class ElementImpl_getAttribute_String_1 extends BWBaseTest implements Exe } } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_0.java b/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_0.java index ff969eec749..9ac3a04b03a 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_0.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_0.java @@ -78,6 +78,7 @@ public class ElementImpl_getElementsByTagName_String_0 extends BWBaseTest implem Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -89,6 +90,11 @@ public class ElementImpl_getElementsByTagName_String_0 extends BWBaseTest implem return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_1.java index b7eadc9858d..6d659b3a24f 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_getElementsByTagName_String_1.java @@ -78,6 +78,7 @@ public class ElementImpl_getElementsByTagName_String_1 extends BWBaseTest implem Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -89,6 +90,11 @@ public class ElementImpl_getElementsByTagName_String_1 extends BWBaseTest implem return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_getTagName.java b/mozilla/java/dom/tests/src/api/ElementImpl_getTagName.java index 69774f26ace..99a753f6f33 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_getTagName.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_getTagName.java @@ -79,6 +79,7 @@ public class ElementImpl_getTagName extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -91,6 +92,11 @@ public class ElementImpl_getTagName extends BWBaseTest implements Execution } else TestLoader.logErrPrint("Element 'getTagName() is " + str); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_normalize.java b/mozilla/java/dom/tests/src/api/ElementImpl_normalize.java index 04a1dc67890..75c47146139 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_normalize.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_normalize.java @@ -79,6 +79,7 @@ public class ElementImpl_normalize extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { Element e = d.getDocumentElement(); if (e == null) { TestLoader.logErrPrint("Document Element is NULL.."); @@ -86,6 +87,11 @@ public class ElementImpl_normalize extends BWBaseTest implements Execution } else { e.normalize(); } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_0.java b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_0.java index 1747234601d..b5f0b58d54a 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_0.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_0.java @@ -101,6 +101,10 @@ public class ElementImpl_removeAttributeNode_Attr_0 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_1.java index 42fb81f0de7..c5674b6327b 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttributeNode_Attr_1.java @@ -107,6 +107,10 @@ public class ElementImpl_removeAttributeNode_Attr_1 extends BWBaseTest implement } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_0.java b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_0.java index 71c20942b26..5eea27b9031 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_0.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_0.java @@ -98,6 +98,10 @@ public class ElementImpl_removeAttribute_String_0 extends BWBaseTest implements } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java index f0047ba29bc..590217565ce 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_removeAttribute_String_1.java @@ -101,6 +101,10 @@ public class ElementImpl_removeAttribute_String_1 extends BWBaseTest implements } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_0.java b/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_0.java index 137cdb96db1..afd29d4af17 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_0.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_0.java @@ -95,6 +95,10 @@ public class ElementImpl_setAttributeNode_Attr_0 extends BWBaseTest implements E } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java index 8f5be5b2b86..0a0d08e7940 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_setAttributeNode_Attr_1.java @@ -107,6 +107,10 @@ public class ElementImpl_setAttributeNode_Attr_1 extends BWBaseTest implements E } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_0.java b/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_0.java index fa21bcfd6d1..529696524e8 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_0.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_0.java @@ -90,6 +90,10 @@ public class ElementImpl_setAttribute_String_String_0 extends BWBaseTest impleme } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_1.java b/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_1.java index 1fd7fe6f403..1a064dbe61f 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_1.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_1.java @@ -100,6 +100,10 @@ public class ElementImpl_setAttribute_String_String_1 extends BWBaseTest impleme } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_2.java b/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_2.java index bd4d5efbedc..8e8320a98c1 100755 --- a/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_2.java +++ b/mozilla/java/dom/tests/src/api/ElementImpl_setAttribute_String_String_2.java @@ -93,7 +93,11 @@ public class ElementImpl_setAttribute_String_String_2 extends BWBaseTest impleme } } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); - return BWBaseTest.PASSED; + return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getLength.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getLength.java index 7cf6942b0c1..9cf08ae5db2 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getLength.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getLength.java @@ -78,6 +78,7 @@ public class NamedNodeMapImpl_getLength extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String attrName = "TARGET"; Attr a = d.createAttribute(attrName); if (a == null) { @@ -106,6 +107,11 @@ public class NamedNodeMapImpl_getLength extends BWBaseTest implements Execution TestLoader.logErrPrint(" Could not find Attriblist for node " + aelement); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { TestLoader.logErrPrint("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_0.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_0.java index e4d847a5a30..d9dd966c676 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_0.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_0.java @@ -78,6 +78,7 @@ public class NamedNodeMapImpl_getNamedItem_String_0 extends BWBaseTest implement Document d = (Document)tobj; if (d != null) { + try { String attrName = "TARGET"; Attr a = d.createAttribute(attrName); if (a == null) { @@ -110,6 +111,11 @@ public class NamedNodeMapImpl_getNamedItem_String_0 extends BWBaseTest implement TestLoader.logErrPrint(" Could not find Attriblist for node " + aelement); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { TestLoader.logErrPrint("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_1.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_1.java index 1a818855175..c59e5c0bfcd 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_1.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_getNamedItem_String_1.java @@ -79,6 +79,7 @@ public class NamedNodeMapImpl_getNamedItem_String_1 extends BWBaseTest implement Document d = (Document)tobj; if (d != null) { + try { String attrName = "TARGET"; Attr a = d.createAttribute(attrName); if (a == null) { @@ -111,6 +112,11 @@ public class NamedNodeMapImpl_getNamedItem_String_1 extends BWBaseTest implement TestLoader.logErrPrint(" Could not find Attriblist for node " + aelement); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { TestLoader.logErrPrint("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_0.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_0.java index b81759865f6..177e416e5e1 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_0.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_0.java @@ -79,6 +79,7 @@ public class NamedNodeMapImpl_item_int_0 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String attrName = "TARGET"; Attr a = d.createAttribute(attrName); if (a == null) { @@ -111,6 +112,11 @@ public class NamedNodeMapImpl_item_int_0 extends BWBaseTest implements Execution TestLoader.logErrPrint(" Could not find Attriblist for node " + aelement); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { TestLoader.logErrPrint("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_1.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_1.java index e28af057318..1a5ebad81ca 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_1.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_1.java @@ -78,6 +78,7 @@ public class NamedNodeMapImpl_item_int_1 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String attrName = "TARGET"; Attr a = d.createAttribute(attrName); if (a == null) { @@ -110,6 +111,11 @@ public class NamedNodeMapImpl_item_int_1 extends BWBaseTest implements Execution TestLoader.logErrPrint(" Could not find Attriblist for node " + aelement); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { TestLoader.logErrPrint("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_2.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_2.java index 6c60a4f1ccd..94e8a318d77 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_2.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_item_int_2.java @@ -79,6 +79,7 @@ public class NamedNodeMapImpl_item_int_2 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String attrName = "TARGET"; Attr a = d.createAttribute(attrName); if (a == null) { @@ -111,6 +112,11 @@ public class NamedNodeMapImpl_item_int_2 extends BWBaseTest implements Execution TestLoader.logErrPrint(" Could not find Attriblist for node " + aelement); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { TestLoader.logErrPrint("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_0.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_0.java index 6d283cc88fa..7f696e798a3 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_0.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_0.java @@ -115,6 +115,10 @@ public class NamedNodeMapImpl_removeNamedItem_String_0 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { TestLoader.logErrPrint("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_1.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_1.java index 1bbaceaa1bf..17eed7640bf 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_1.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_removeNamedItem_String_1.java @@ -115,6 +115,10 @@ public class NamedNodeMapImpl_removeNamedItem_String_1 extends BWBaseTest implem } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { TestLoader.logErrPrint("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_0.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_0.java index 7307a13c918..f308cec3600 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_0.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_0.java @@ -115,6 +115,10 @@ public class NamedNodeMapImpl_setNamedItem_Node_0 extends BWBaseTest implements } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { TestLoader.logErrPrint("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java index 8929f07bb0c..e6589542f06 100755 --- a/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java +++ b/mozilla/java/dom/tests/src/api/NamedNodeMapImpl_setNamedItem_Node_1.java @@ -123,6 +123,10 @@ public class NamedNodeMapImpl_setNamedItem_Node_1 extends BWBaseTest implements } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { TestLoader.logErrPrint("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_0.java b/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_0.java index f906a49c05a..4ecc7dd1357 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_0.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_0.java @@ -78,6 +78,7 @@ public class NodeImpl_appendChild_Node_0 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -106,6 +107,11 @@ public class NodeImpl_appendChild_Node_0 extends BWBaseTest implements Execution TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_1.java b/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_1.java index 3ad335ee94c..2d301be9eb0 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_1.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_appendChild_Node_1.java @@ -78,6 +78,7 @@ public class NodeImpl_appendChild_Node_1 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -106,6 +107,11 @@ public class NodeImpl_appendChild_Node_1 extends BWBaseTest implements Execution TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_0.java b/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_0.java index 654bb5dfdfb..45f76c49a02 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_0.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_0.java @@ -78,6 +78,7 @@ public class NodeImpl_cloneNode_boolean_0 extends BWBaseTest implements Executio Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -106,6 +107,11 @@ public class NodeImpl_cloneNode_boolean_0 extends BWBaseTest implements Executio TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_1.java b/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_1.java index 0557947f8d1..f03c995d7d5 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_1.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_cloneNode_boolean_1.java @@ -78,6 +78,7 @@ public class NodeImpl_cloneNode_boolean_1 extends BWBaseTest implements Executio Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -106,6 +107,11 @@ public class NodeImpl_cloneNode_boolean_1 extends BWBaseTest implements Executio TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_0.java b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_0.java index 62e80f74dc8..7a1ef209b09 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_0.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_0.java @@ -77,6 +77,7 @@ public class NodeImpl_equals_Object_0 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -126,6 +127,11 @@ public class NodeImpl_equals_Object_0 extends BWBaseTest implements Execution TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_1.java b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_1.java index b5cb6cd6aac..37cc4221c07 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_1.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_1.java @@ -78,6 +78,7 @@ public class NodeImpl_equals_Object_1 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -127,6 +128,11 @@ public class NodeImpl_equals_Object_1 extends BWBaseTest implements Execution TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_2.java b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_2.java index f5a335e4ddf..f992607fe5c 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_2.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_2.java @@ -79,6 +79,7 @@ public class NodeImpl_equals_Object_2 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -115,6 +116,11 @@ public class NodeImpl_equals_Object_2 extends BWBaseTest implements Execution TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_3.java b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_3.java index 56d498c8497..6460649ac76 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_3.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_equals_Object_3.java @@ -79,6 +79,7 @@ public class NodeImpl_equals_Object_3 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String elname = "SCRIPT"; Element e = d.createElement(elname); if (e == null) @@ -101,6 +102,11 @@ public class NodeImpl_equals_Object_3 extends BWBaseTest implements Execution TestLoader.logErrPrint("Nodes are not equal..."); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_0.java b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_0.java index 527ff326e2f..673258ecfaf 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_0.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_0.java @@ -110,6 +110,10 @@ public class NodeImpl_insertBefore_Node_Node_0 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_1.java b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_1.java index 04491b40f6b..affb683ad7a 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_1.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_1.java @@ -117,6 +117,10 @@ public class NodeImpl_insertBefore_Node_Node_1 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_2.java b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_2.java index 213b6aec6fa..e69a4fde757 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_2.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_2.java @@ -118,6 +118,10 @@ public class NodeImpl_insertBefore_Node_Node_2 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_3.java b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_3.java index ee156d65e04..f4a8b4ec6ec 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_3.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_insertBefore_Node_Node_3.java @@ -126,6 +126,10 @@ public class NodeImpl_insertBefore_Node_Node_3 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_0.java b/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_0.java index c53ac859758..3501d7320ad 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_0.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_0.java @@ -118,6 +118,10 @@ public class NodeImpl_removeChild_Node_0 extends BWBaseTest implements Execution } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_1.java b/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_1.java index 597038ab165..8d94bba0c25 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_1.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_removeChild_Node_1.java @@ -117,6 +117,10 @@ public class NodeImpl_removeChild_Node_1 extends BWBaseTest implements Execution } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_0.java b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_0.java index 7f04beffcce..ea0ab648733 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_0.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_0.java @@ -103,6 +103,10 @@ public class NodeImpl_replaceChild_Node_Node_0 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_1.java b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_1.java index 9a5712d76cc..028d3a30d83 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_1.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_1.java @@ -119,6 +119,10 @@ public class NodeImpl_replaceChild_Node_Node_1 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_2.java b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_2.java index d1ac84dd01d..4dd46abee7d 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_2.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_2.java @@ -113,6 +113,10 @@ public class NodeImpl_replaceChild_Node_Node_2 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_3.java b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_3.java index 95359f1ec53..6821c827bce 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_3.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_replaceChild_Node_Node_3.java @@ -126,6 +126,10 @@ public class NodeImpl_replaceChild_Node_Node_3 extends BWBaseTest implements Exe } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_0.java b/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_0.java index ec77b120ad7..43e95e40c31 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_0.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_0.java @@ -99,6 +99,10 @@ public class NodeImpl_setNodeValue_String_0 extends BWBaseTest implements Execut } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_1.java b/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_1.java index 16f73b0eb52..7db4e4adef2 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_1.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_setNodeValue_String_1.java @@ -97,6 +97,10 @@ public class NodeImpl_setNodeValue_String_1 extends BWBaseTest implements Execut } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { diff --git a/mozilla/java/dom/tests/src/api/NodeImpl_toString.java b/mozilla/java/dom/tests/src/api/NodeImpl_toString.java index be3042f1d6a..9b22d7215df 100755 --- a/mozilla/java/dom/tests/src/api/NodeImpl_toString.java +++ b/mozilla/java/dom/tests/src/api/NodeImpl_toString.java @@ -78,6 +78,7 @@ public class NodeImpl_toString extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { String nodename = "HTML"; NodeList nl = d.getElementsByTagName(nodename); if (nl != null) @@ -98,6 +99,11 @@ public class NodeImpl_toString extends BWBaseTest implements Execution TestLoader.logErrPrint("Could not find Node " + nodename); return BWBaseTest.FAILED; } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_0.java b/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_0.java index 44ea3365dac..0a23e38fb3f 100755 --- a/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_0.java +++ b/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_0.java @@ -78,6 +78,7 @@ public class NodeListImpl_item_int_0 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { NodeList nl = d.getElementsByTagName("*"); if (nl == null) { @@ -91,6 +92,11 @@ public class NodeListImpl_item_int_0 extends BWBaseTest implements Execution return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_1.java b/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_1.java index be3900d8587..db761e484c5 100755 --- a/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_1.java +++ b/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_1.java @@ -78,6 +78,7 @@ public class NodeListImpl_item_int_1 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { NodeList nl = d.getElementsByTagName("*"); if (nl == null) { @@ -91,6 +92,11 @@ public class NodeListImpl_item_int_1 extends BWBaseTest implements Execution return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_2.java b/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_2.java index 32dfa8a9ad7..3e1b004bc67 100755 --- a/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_2.java +++ b/mozilla/java/dom/tests/src/api/NodeListImpl_item_int_2.java @@ -79,6 +79,7 @@ public class NodeListImpl_item_int_2 extends BWBaseTest implements Execution Document d = (Document)tobj; if (d != null) { + try { NodeList nl = d.getElementsByTagName("*"); if (nl == null) { @@ -92,6 +93,11 @@ public class NodeListImpl_item_int_2 extends BWBaseTest implements Execution return BWBaseTest.FAILED; } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getData.java b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getData.java index bfa01cbce75..4e732e68b8b 100755 --- a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getData.java +++ b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getData.java @@ -78,6 +78,7 @@ public class ProcessingInstructionImpl_getData extends BWBaseTest implements Exe Document d = (Document)tobj; if (d != null) { + try { String target="xml"; String data="version=\"1.0\""; ProcessingInstruction pi = d.createProcessingInstruction(target, data); @@ -98,6 +99,11 @@ System.out.println("getData is " + str); } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getTarget.java b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getTarget.java index 63ac1e786ba..2fa64c4adcc 100755 --- a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getTarget.java +++ b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_getTarget.java @@ -78,6 +78,7 @@ public class ProcessingInstructionImpl_getTarget extends BWBaseTest implements E Document d = (Document)tobj; if (d != null) { + try { String target="xml"; String data="version=\"1.0\""; ProcessingInstruction pi = d.createProcessingInstruction(target, data); @@ -98,6 +99,11 @@ public class ProcessingInstructionImpl_getTarget extends BWBaseTest implements E } } + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; + } } else { System.out.println("Document is NULL.."); return BWBaseTest.FAILED; diff --git a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_0.java b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_0.java index a13fff801b6..7b7303da751 100755 --- a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_0.java +++ b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_0.java @@ -96,6 +96,10 @@ public class ProcessingInstructionImpl_setData_String_0 extends BWBaseTest imple } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.PASSED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_1.java b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_1.java index 04545649d7c..5d007e3b639 100755 --- a/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_1.java +++ b/mozilla/java/dom/tests/src/api/ProcessingInstructionImpl_setData_String_1.java @@ -97,6 +97,10 @@ public class ProcessingInstructionImpl_setData_String_1 extends BWBaseTest imple } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.FAILED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_0.java b/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_0.java index 813b1b3a28e..d3b06ca6fe2 100755 --- a/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_0.java +++ b/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_0.java @@ -96,6 +96,10 @@ public class TextImpl_splitText_int_0 extends BWBaseTest implements Execution } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_1.java b/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_1.java index 91d842b5ffb..4e1e152af41 100755 --- a/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_1.java +++ b/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_1.java @@ -96,6 +96,10 @@ public class TextImpl_splitText_int_1 extends BWBaseTest implements Execution } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL.."); diff --git a/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_2.java b/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_2.java index 6e25266e3cd..ee0ae609667 100755 --- a/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_2.java +++ b/mozilla/java/dom/tests/src/api/TextImpl_splitText_int_2.java @@ -96,6 +96,10 @@ public class TextImpl_splitText_int_2 extends BWBaseTest implements Execution } catch (DOMException e) { TestLoader.logErrPrint("Caught DOMException"); return BWBaseTest.PASSED; + } catch (RuntimeException r) { + String msg = "Caught RuntimeException " + r ; + TestLoader.logErrPrint(msg); + return BWBaseTest.FAILED; } } else { System.out.println("Document is NULL..");