incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r805715 - in /incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit: ImageFactoryTest.java TestPackageInformation.java
Date Wed, 19 Aug 2009 09:31:26 GMT
Author: spoole
Date: Wed Aug 19 09:31:26 2009
New Revision: 805715

URL: http://svn.apache.org/viewvc?rev=805715&view=rev
Log:
fixed compiler error in testsuite where it was referencing an obsolete method

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

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageFactoryTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageFactoryTest.java?rev=805715&r1=805714&r2=805715&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageFactoryTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageFactoryTest.java
Wed Aug 19 09:31:26 2009
@@ -24,7 +24,7 @@
 	 */
 	public void testGetDTFJMajorVersion()
 	{
-		assertTrue(getFactory().getKatoMajorVersion() >= 1);
+		assertTrue(getFactory().getMajorVersion() >= 1);
 	}
 
 	/**
@@ -34,7 +34,7 @@
 	 */
 	public void testGetDTFJMinorVersion()
 	{
-		assertTrue(getFactory().getKatoMinorVersion() >= 0);
+		assertTrue(getFactory().getMinorVersion() >= 0);
 	}
 	
 	/**
@@ -43,7 +43,7 @@
 	
 	public void testGetDTFJModificationLevel()
 	{
-		assertTrue(getFactory().getKatoModificationLevel() >= 0);
+		assertTrue(getFactory().getModificationLevel() >= 0);
 	}
 	
 	/**
@@ -61,6 +61,6 @@
 		} catch(NumberFormatException nfe) {
 			buildNumber=-1;
 		}
-		assertTrue(getFactory().getKatoModificationLevel()==buildNumber);
+		assertTrue(getFactory().getModificationLevel()==buildNumber);
 	}
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/TestPackageInformation.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/TestPackageInformation.java?rev=805715&r1=805714&r2=805715&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/TestPackageInformation.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/TestPackageInformation.java
Wed Aug 19 09:31:26 2009
@@ -43,7 +43,7 @@
 	 */
 	public void testSpecificationVersion() {
 
-		String versionString=ImageFactory.KATO_MAJOR_VERSION+"."+ImageFactory.KATO_MINOR_VERSION;
+		String versionString=ImageFactory.MAJOR_VERSION+"."+ImageFactory.MINOR_VERSION;
 		Package p = ImageFactory.class.getPackage();
 		assertEquals(versionString, p.getSpecificationVersion());
 	}



Mime
View raw message