diff options
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/test/com/sun/star/uno/AnyConverter_Test.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jurt/test/com/sun/star/uno/AnyConverter_Test.java b/jurt/test/com/sun/star/uno/AnyConverter_Test.java index 9ff5633b7c31..daf129e07dd6 100644 --- a/jurt/test/com/sun/star/uno/AnyConverter_Test.java +++ b/jurt/test/com/sun/star/uno/AnyConverter_Test.java @@ -573,10 +573,10 @@ public final class AnyConverter_Test { assertEquals( exc, AnyConverter.toObject( - new Type(com.sun.star.uno.Exception.class), any_exc)); + new Type(com.sun.star.uno.RuntimeException.class), any_exc)); try { AnyConverter.toObject( - new Type(com.sun.star.uno.RuntimeException.class), any_exc); + new Type(com.sun.star.uno.Exception.class), any_exc); fail(); } catch (com.sun.star.lang.IllegalArgumentException ie) {} any_exc = new Any(com.sun.star.lang.IllegalArgumentException.class, @@ -589,10 +589,10 @@ public final class AnyConverter_Test { assertEquals( exc, AnyConverter.toObject( - new Type(com.sun.star.uno.Exception.class), any_exc)); + new Type(com.sun.star.uno.RuntimeException.class), any_exc)); try { AnyConverter.toObject( - new Type(com.sun.star.uno.RuntimeException.class), any_exc); + new Type(com.sun.star.uno.Exception.class), any_exc); fail(); } catch (com.sun.star.lang.IllegalArgumentException ie) {} |