diff options
Diffstat (limited to 'ridljar')
-rw-r--r-- | ridljar/test/com/sun/star/lib/uno/typedesc/TypeDescription_Test.java | 6 | ||||
-rw-r--r-- | ridljar/test/com/sun/star/uno/Type_Test.java | 21 |
2 files changed, 8 insertions, 19 deletions
diff --git a/ridljar/test/com/sun/star/lib/uno/typedesc/TypeDescription_Test.java b/ridljar/test/com/sun/star/lib/uno/typedesc/TypeDescription_Test.java index c110b6de4de7..1caf962fe766 100644 --- a/ridljar/test/com/sun/star/lib/uno/typedesc/TypeDescription_Test.java +++ b/ridljar/test/com/sun/star/lib/uno/typedesc/TypeDescription_Test.java @@ -127,8 +127,7 @@ public final class TypeDescription_Test { @Test public void testUnsigned() throws ClassNotFoundException { assertEquals( "TypeDescription for UNSIGNED LONG", "unsigned long", - (TypeDescription.getTypeDescription(Type.UNSIGNED_LONG). - getTypeName())); + TypeDescription.getTypeDescription(Type.UNSIGNED_LONG).getTypeName()); } @Test public void testGetMethodDescription() { @@ -139,8 +138,7 @@ public final class TypeDescription_Test { @Test public void testSequence() throws ClassNotFoundException { assertEquals( "unsigned short", - (TypeDescription.getTypeDescription("[]unsigned short"). - getComponentType().getTypeName())); + TypeDescription.getTypeDescription("[]unsigned short").getComponentType().getTypeName()); } public interface XBase extends XInterface { diff --git a/ridljar/test/com/sun/star/uno/Type_Test.java b/ridljar/test/com/sun/star/uno/Type_Test.java index c80e022f3487..e81142c64ac0 100644 --- a/ridljar/test/com/sun/star/uno/Type_Test.java +++ b/ridljar/test/com/sun/star/uno/Type_Test.java @@ -49,9 +49,7 @@ public final class Type_Test { assertSame( "sequence of sequence of XComponentContext", XComponentContext[][].class, - (new Type( - "[][]com.sun.star.uno.XComponentContext", TypeClass.SEQUENCE). - getZClass())); + new Type("[][]com.sun.star.uno.XComponentContext", TypeClass.SEQUENCE).getZClass()); assertSame( "enum TypeClass", TypeClass.class, new Type("com.sun.star.uno.TypeClass", TypeClass.ENUM).getZClass()); @@ -60,27 +58,20 @@ public final class Type_Test { new Type("com.sun.star.uno.Uik", TypeClass.STRUCT).getZClass()); assertSame( "exception Exception", com.sun.star.uno.Exception.class, - (new Type("com.sun.star.uno.Exception", TypeClass.EXCEPTION). - getZClass())); + new Type("com.sun.star.uno.Exception", TypeClass.EXCEPTION).getZClass()); assertSame( "exception RuntimeException", com.sun.star.uno.RuntimeException.class, - (new Type("com.sun.star.uno.RuntimeException", TypeClass.EXCEPTION). - getZClass())); + new Type("com.sun.star.uno.RuntimeException", TypeClass.EXCEPTION).getZClass()); assertSame( "exception DeploymentException", DeploymentException.class, - (new Type( - "com.sun.star.uno.DeploymentException", TypeClass.EXCEPTION). - getZClass())); + new Type("com.sun.star.uno.DeploymentException", TypeClass.EXCEPTION).getZClass()); assertSame( "interface XInterface", XInterface.class, - (new Type("com.sun.star.uno.XInterface", TypeClass.INTERFACE). - getZClass())); + new Type("com.sun.star.uno.XInterface", TypeClass.INTERFACE).getZClass()); assertSame( "interface XComponentContext", XComponentContext.class, - (new Type( - "com.sun.star.uno.XComponentContext", TypeClass.INTERFACE). - getZClass())); + new Type("com.sun.star.uno.XComponentContext", TypeClass.INTERFACE). getZClass()); assertSame(boolean.class, new Type(boolean.class).getZClass()); assertSame(boolean.class, new Type(Boolean.class).getZClass()); |