incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r772965 - in /incubator/kato/trunk/org.apache.kato.tck.tests: .classpath src/org/apache/kato/tests/junit/ImageFactoryTest.java src/org/apache/kato/tests/junit/ImageProcessTest.java src/org/apache/kato/tests/junit/TestPackageInformation.java
Date Fri, 08 May 2009 13:11:53 GMT
Author: spoole
Date: Fri May  8 13:11:53 2009
New Revision: 772965

URL: http://svn.apache.org/viewvc?rev=772965&view=rev
Log:
updated TCK tests that used the DTFJ constants and DTFJException to the Kato versions

Modified:
    incubator/kato/trunk/org.apache.kato.tck.tests/.classpath
    incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageFactoryTest.java
    incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageProcessTest.java
    incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/TestPackageInformation.java

Modified: incubator/kato/trunk/org.apache.kato.tck.tests/.classpath
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.tck.tests/.classpath?rev=772965&r1=772964&r2=772965&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.tck.tests/.classpath (original)
+++ incubator/kato/trunk/org.apache.kato.tck.tests/.classpath Fri May  8 13:11:53 2009
@@ -2,8 +2,8 @@
 <classpath>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
 	<classpathentry kind="src" path="src"/>
-	<classpathentry combineaccessrules="false" kind="src" path="/org.apache.kato.api"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
 	<classpathentry combineaccessrules="false" kind="src" path="/org.apache.kato.tck.harness"/>
+	<classpathentry combineaccessrules="false" kind="src" path="/org.apache.kato.api"/>
 	<classpathentry kind="output" path="bin"/>
 </classpath>

Modified: incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageFactoryTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageFactoryTest.java?rev=772965&r1=772964&r2=772965&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageFactoryTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageFactoryTest.java
Fri May  8 13:11:53 2009
@@ -24,7 +24,7 @@
 	 */
 	public void testGetDTFJMajorVersion()
 	{
-		assertTrue(getFactory().getDTFJMajorVersion() >= 1);
+		assertTrue(getFactory().getKatoMajorVersion() >= 1);
 	}
 
 	/**
@@ -34,7 +34,7 @@
 	 */
 	public void testGetDTFJMinorVersion()
 	{
-		assertTrue(getFactory().getDTFJMinorVersion() >= 0);
+		assertTrue(getFactory().getKatoMinorVersion() >= 0);
 	}
 	
 	/**
@@ -43,7 +43,7 @@
 	
 	public void testGetDTFJModificationLevel()
 	{
-		assertTrue(getFactory().getDTFJModificationLevel() >= 0);
+		assertTrue(getFactory().getKatoModificationLevel() >= 0);
 	}
 	
 	/**
@@ -61,6 +61,6 @@
 		} catch(NumberFormatException nfe) {
 			buildNumber=-1;
 		}
-		assertTrue(getFactory().getDTFJModificationLevel()==buildNumber);
+		assertTrue(getFactory().getKatoModificationLevel()==buildNumber);
 	}
 }

Modified: incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageProcessTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageProcessTest.java?rev=772965&r1=772964&r2=772965&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageProcessTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/ImageProcessTest.java
Fri May  8 13:11:53 2009
@@ -18,7 +18,7 @@
 
 import org.apache.kato.image.CorruptData;
 import org.apache.kato.image.CorruptDataException;
-import org.apache.kato.image.DTFJException;
+import org.apache.kato.image.KatoException;
 import org.apache.kato.image.DataUnavailable;
 import org.apache.kato.image.ImageProcess;
 import org.apache.kato.image.ImageThread;
@@ -41,7 +41,7 @@
 	{
 		try {
 			assertNotNull(_proc.getCommandLine());
-		} catch (DTFJException e) {
+		} catch (KatoException e) {
 			//acceptable
 			assertTrue(true);
 		}

Modified: incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/TestPackageInformation.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/TestPackageInformation.java?rev=772965&r1=772964&r2=772965&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/TestPackageInformation.java
(original)
+++ incubator/kato/trunk/org.apache.kato.tck.tests/src/org/apache/kato/tests/junit/TestPackageInformation.java
Fri May  8 13:11:53 2009
@@ -43,7 +43,7 @@
 	 */
 	public void testSpecificationVersion() {
 
-		String versionString=ImageFactory.DTFJ_MAJOR_VERSION+"."+ImageFactory.DTFJ_MINOR_VERSION;
+		String versionString=ImageFactory.KATO_MAJOR_VERSION+"."+ImageFactory.KATO_MINOR_VERSION;
 		Package p = ImageFactory.class.getPackage();
 		assertEquals(versionString, p.getSpecificationVersion());
 	}



Mime
View raw message