harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghar...@apache.org
Subject svn commit: r397637 - in /incubator/harmony/enhanced/classlib/trunk/modules/prefs: make/common/ src/test/java/org/ src/test/java/org/apache/ src/test/java/org/apache/harmony/ src/test/java/org/apache/harmony/prefs/ src/test/java/org/apache/harmony/pref...
Date Thu, 27 Apr 2006 21:10:08 GMT
Author: gharley
Date: Thu Apr 27 14:10:06 2006
New Revision: 397637

URL: http://svn.apache.org/viewcvs?rev=397637&view=rev
Log:
Merge all prefs tests into one package whose name meets naming convention. Other modules to
follow.

Added:
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/prefs/AllTests.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AbstractPreferencesTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AllTests.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AllTests.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/BackingStoreExceptionTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/BackingStoreExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/FilePreferencesImplTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/InvalidPreferencesFormatExceptionTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/InvalidPreferencesFormatExceptionTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockAbstractPreferences.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockAbstractPreferences.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockPreferencesFactory.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockPreferencesFactory.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockSecurityManager.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockSecurityManager.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeEventTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeEventTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeListenerTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeListenerTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeEventTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeEventTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeListenerTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeListenerTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesFactoryTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesFactoryTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java
      - copied, changed from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesTest.java
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/preferences.dtd
      - copied unchanged from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/preferences.dtd
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml
      - copied unchanged from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/userprefs-ascii.xml
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml
      - copied unchanged from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/userprefs-badencoding.xml
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml
      - copied unchanged from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/userprefs-badform.xml
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml
      - copied unchanged from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/userprefs-badtype.xml
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml
      - copied unchanged from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/userprefs-higherversion.xml
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/resources/prefs/java/util/prefs/userprefs.xml
      - copied unchanged from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/userprefs.xml
Removed:
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/
Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml

Modified: incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml?rev=397637&r1=397636&r2=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/make/common/build.xml Thu Apr
27 14:10:06 2006
@@ -45,7 +45,7 @@
     </target>
 
 
-    <target name="compile.tests">
+    <target name="compile.tests" depends="copy.test.resources">
         <echo message="Compiling PREFS tests from ${hy.prefs.src.test.java}" />
 
         <mkdir dir="${hy.prefs.bin.test}" />
@@ -99,9 +99,9 @@
 
                 <fileset dir="${hy.prefs.src.test.java}">
                     <include name="**/*Test.java"/>
-                    <exclude name="tests/api/java/util/prefs/AbstractPreferencesTest.java"/>
-                    <exclude name="tests/api/java/util/prefs/FilePreferencesImplTest.java"/>
-                    <exclude name="tests/api/java/util/prefs/PreferencesTest.java"/>
+                    <exclude name="org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java"/>
+                    <exclude name="org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java"/>
+                    <exclude name="org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java"/>
                 </fileset>
             </batchtest>
         </junit>
@@ -122,6 +122,15 @@
 
     <target name="copy.resources">
         <!-- Nothing for PREFS -->
+    </target>
+	
+    <target name="copy.test.resources">
+        <mkdir dir="${hy.prefs.bin.test}" />
+        <copy todir="${hy.prefs.bin.test}" includeemptydirs="false">
+            <fileset dir="${hy.prefs.src.test.resources}">
+                <exclude name="**/*.java" />
+            </fileset>
+        </copy>
     </target>
 </project>
 

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/prefs/AllTests.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/prefs/AllTests.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/prefs/AllTests.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/AllTests.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.prefs;
+package org.apache.harmony.prefs.tests;
 
 import junit.framework.Test;
 import junit.framework.TestSuite;
@@ -31,7 +31,7 @@
 	public static Test suite() {
 		TestSuite suite = new TestSuite("All Prefs test suites");
 		// $JUnit-BEGIN$
-		suite.addTest(tests.api.java.util.prefs.AllTests.suite());
+		suite.addTest(org.apache.harmony.prefs.tests.java.util.prefs.AllTests.suite());
 		// $JUnit-END$
 		return suite;
 	}

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AbstractPreferencesTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AbstractPreferencesTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AbstractPreferencesTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AllTests.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AllTests.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AllTests.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AllTests.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AllTests.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/AllTests.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/AllTests.java
Thu Apr 27 14:10:06 2006
@@ -13,13 +13,13 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
 /**
- * TODO Type description
+ * Suite for package org.apache.harmony.prefs.tests.java.util.prefs
  * 
  */
 public class AllTests {
@@ -29,7 +29,7 @@
 	}
 
 	public static Test suite() {
-		TestSuite suite = new TestSuite("Test for tests.api.java.util.prefs");
+		TestSuite suite = new TestSuite("Suite for org.apache.harmony.prefs.tests.java.util.prefs");
 		// $JUnit-BEGIN$
 		suite.addTestSuite(NodeChangeListenerTest.class);
 		suite.addTestSuite(PreferenceChangeListenerTest.class);
@@ -40,6 +40,7 @@
 		suite.addTestSuite(NodeChangeEventTest.class);
 		suite.addTestSuite(PreferencesTest.class);
 		suite.addTestSuite(AbstractPreferencesTest.class);
+        suite.addTestSuite(FilePreferencesImplTest.class);
 		// $JUnit-END$
 		return suite;
 	}

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/BackingStoreExceptionTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/BackingStoreExceptionTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/BackingStoreExceptionTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/BackingStoreExceptionTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/BackingStoreExceptionTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/BackingStoreExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/BackingStoreExceptionTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.io.NotSerializableException;
 import java.util.prefs.BackingStoreException;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/FilePreferencesImplTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/FilePreferencesImplTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/FilePreferencesImplTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.io.FilePermission;
 import java.io.IOException;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/InvalidPreferencesFormatExceptionTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/InvalidPreferencesFormatExceptionTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/InvalidPreferencesFormatExceptionTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/InvalidPreferencesFormatExceptionTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/InvalidPreferencesFormatExceptionTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/InvalidPreferencesFormatExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/InvalidPreferencesFormatExceptionTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.io.NotSerializableException;
 import java.util.prefs.InvalidPreferencesFormatException;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockAbstractPreferences.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockAbstractPreferences.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockAbstractPreferences.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockAbstractPreferences.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockAbstractPreferences.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockAbstractPreferences.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockAbstractPreferences.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.util.HashMap;
 import java.util.Properties;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockPreferencesFactory.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockPreferencesFactory.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockPreferencesFactory.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockPreferencesFactory.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockPreferencesFactory.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockPreferencesFactory.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockPreferencesFactory.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.util.prefs.Preferences;
 import java.util.prefs.PreferencesFactory;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockSecurityManager.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockSecurityManager.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockSecurityManager.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockSecurityManager.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockSecurityManager.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/MockSecurityManager.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/MockSecurityManager.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.security.Permission;
 

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeEventTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeEventTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeEventTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeEventTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeEventTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeEventTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeEventTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.io.NotSerializableException;
 import java.util.prefs.NodeChangeEvent;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeListenerTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeListenerTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeListenerTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeListenerTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeListenerTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/NodeChangeListenerTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/NodeChangeListenerTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.util.prefs.NodeChangeEvent;
 import java.util.prefs.NodeChangeListener;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeEventTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeEventTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeEventTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeEventTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeEventTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeEventTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeEventTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.io.NotSerializableException;
 import java.util.prefs.PreferenceChangeEvent;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeListenerTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeListenerTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeListenerTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeListenerTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeListenerTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferenceChangeListenerTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferenceChangeListenerTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.util.prefs.PreferenceChangeEvent;
 import java.util.prefs.PreferenceChangeListener;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesFactoryTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesFactoryTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesFactoryTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesFactoryTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesFactoryTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesFactoryTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesFactoryTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.util.prefs.Preferences;
 import java.util.prefs.PreferencesFactory;

Copied: incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java
(from r397478, incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesTest.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java?p2=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java&p1=incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesTest.java&r1=397478&r2=397637&rev=397637&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/tests/api/java/util/prefs/PreferencesTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/PreferencesTest.java
Thu Apr 27 14:10:06 2006
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package tests.api.java.util.prefs;
+package org.apache.harmony.prefs.tests.java.util.prefs;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
@@ -140,7 +140,7 @@
 
 			prefs.put("prefskey", "oldvalue");
 			prefs.put("prefskey2", "oldvalue2");
-			in = PreferencesTest.class.getResourceAsStream("userprefs.xml");
+			in = PreferencesTest.class.getResourceAsStream("/prefs/java/util/prefs/userprefs.xml");
 			Preferences.importPreferences(in);
 
 			prefs = Preferences.userNodeForPackage(PreferencesTest.class);
@@ -151,7 +151,7 @@
 			assertEquals("newvalue3", prefs.get("prefskey3", null));
 
 			in = PreferencesTest.class
-					.getResourceAsStream("userprefs-badform.xml");
+					.getResourceAsStream("/prefs/java/util/prefs/userprefs-badform.xml");
 			try {
 				Preferences.importPreferences(in);
 				fail();
@@ -159,7 +159,7 @@
 			}
 
 			in = PreferencesTest.class
-					.getResourceAsStream("userprefs-badtype.xml");
+					.getResourceAsStream("/prefs/java/util/prefs/userprefs-badtype.xml");
 			try {
 				Preferences.importPreferences(in);
 				fail();
@@ -167,7 +167,7 @@
 			}
 
 			in = PreferencesTest.class
-					.getResourceAsStream("userprefs-badencoding.xml");
+					.getResourceAsStream("/prefs/java/util/prefs/userprefs-badencoding.xml");
 			try {
 				Preferences.importPreferences(in);
 				fail();
@@ -175,7 +175,7 @@
 			}
 
 			in = PreferencesTest.class
-					.getResourceAsStream("userprefs-higherversion.xml");
+					.getResourceAsStream("/prefs/java/util/prefs/userprefs-higherversion.xml");
 			try {
 				Preferences.importPreferences(in);
 				fail();
@@ -183,7 +183,7 @@
 			}
 
 			in = PreferencesTest.class
-					.getResourceAsStream("userprefs-ascii.xml");
+					.getResourceAsStream("/prefs/java/util/prefs/userprefs-ascii.xml");
 			Preferences.importPreferences(in);
 			prefs = Preferences.userNodeForPackage(PreferencesTest.class);
 		} finally {



Mime
View raw message