svn commit: r3282 - trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java

damencho at dev.java.net damencho at dev.java.net
Tue Dec 4 13:48:29 CET 2007


Author: damencho
Date: 2007-12-04 12:48:27+0000
New Revision: 3282

Modified:
   trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java

Log:
Change configuration tests to see if configuration home directory name has changed through system property

Modified: trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java?view=diff&rev=3282&p1=trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java&p2=trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java&r1=3281&r2=3282
==============================================================================
--- trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java	(original)
+++ trunk/test/net/java/sip/communicator/slick/configuration/TestConfigurationServicePersistency.java	2007-12-04 12:48:27+0000
@@ -110,9 +110,14 @@
      */
     protected void setUp() throws Exception
     {
+        String confDirName = 
+            System.getProperty(
+                ConfigurationService.PNAME_SC_HOME_DIR_NAME, 
+                ".sip-communicator");
+        
         confFile = new File(System.getProperty("user.home")
                             + File.separator
-                            + ".sip-communicator"
+                            + confDirName
                             + File.separator
                             + ourConfFileName);
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: commits-help at sip-communicator.dev.java.net





More information about the commits mailing list