summaryrefslogtreecommitdiff
path: root/javaunohelper/test
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:09:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 10:12:43 -0600
commit92c2a468a79dd1a4025d44c208dcfeed98a6eb68 (patch)
tree52306f2a880470aa75d64639d117737d03e7ca8b /javaunohelper/test
parente524ecb3c9eedee99a1acd33c785592e9ae3bd54 (diff)
Remove visual noise from javaunohelper
Change-Id: Ib359d536070456c1ef403642eba7913a834d365d Reviewed-on: https://gerrit.libreoffice.org/8275 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'javaunohelper/test')
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java22
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java4
2 files changed, 13 insertions, 13 deletions
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
index 561871ac82f6..ad24adbb3531 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
@@ -35,7 +35,7 @@ import com.sun.star.comp.helper.RegistryServiceFactory;
import com.sun.star.uno.UnoRuntime;
-//==================================================================================================
+
public class Factory_Test
extends WeakBase
implements XServiceInfo
@@ -44,11 +44,11 @@ public class Factory_Test
static final String m_supported_services [] = {
"Factory_Test.Service0", "Factory_Test.Service1" };
- //______________________________________________________________________________________________
+
public Factory_Test()
{
}
- //______________________________________________________________________________________________
+
public Factory_Test( XComponentContext xContext )
throws com.sun.star.uno.Exception
{
@@ -58,7 +58,7 @@ public class Factory_Test
"bad component context given!", this );
}
}
- //______________________________________________________________________________________________
+
public static Object __create( XComponentContext xContext )
throws com.sun.star.uno.Exception
{
@@ -66,12 +66,12 @@ public class Factory_Test
}
// XServiceInfo impl
- //______________________________________________________________________________________________
+
public final String getImplementationName()
{
return m_impl_name;
}
- //______________________________________________________________________________________________
+
public final boolean supportsService( String service_name )
{
for ( int nPos = 0; nPos < m_supported_services.length; ++nPos )
@@ -81,13 +81,13 @@ public class Factory_Test
}
return false;
}
- //______________________________________________________________________________________________
+
public final String [] getSupportedServiceNames()
{
return m_supported_services;
}
- //==============================================================================================
+
public static XSingleComponentFactory __getComponentFactory( String implName )
{
if (implName.equals( m_impl_name ))
@@ -97,14 +97,14 @@ public class Factory_Test
}
return null;
}
- //==============================================================================================
+
public static boolean __writeRegistryServiceInfo( XRegistryKey xKey )
{
return Factory.writeRegistryServiceInfo(
m_impl_name, Factory_Test.m_supported_services, xKey );
}
- //==============================================================================================
+
static void service_info_test( Object inst )
{
XServiceInfo xInfo = UnoRuntime.queryInterface( XServiceInfo.class, inst );
@@ -134,7 +134,7 @@ public class Factory_Test
}
}
}
- //==============================================================================================
+
public static void main( String args [] )
{
try
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
index c6d4b8b9dd09..7b02e62e1d82 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
@@ -392,7 +392,7 @@ public class PropertySet_Test
r[i++]= ret instanceof Any && util.anyEquals(value, ret);
- // ------------------------------------------------------------------------------
+
cl.resetPropertyMembers();
value= new Boolean(true);
cl.setPropertyValue("PropBoolClass", value);
@@ -573,7 +573,7 @@ public class PropertySet_Test
r[i++]= cl.propObjectA == null;
- //
+
}catch(java.lang.Exception e){
i++;