incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r883311 - in /incubator/kato/trunk/org.apache.kato: kato.tck.harness/src/main/java/org/apache/kato/tck/api/ kato.tck.harness/src/main/java/org/apache/kato/tck/harness/ kato.tck.testsuite.scenario.150/ kato.tck.testsuite.scenario.150/.settin...
Date Mon, 23 Nov 2009 11:51:00 GMT
Author: spoole
Date: Mon Nov 23 11:50:58 2009
New Revision: 883311

URL: http://svn.apache.org/viewvc?rev=883311&view=rev
Log:
refactored tck testcases to not use old style configuration.  Also renamed few outstanding
classes with "DTFJ" in name

Removed:
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/AbstractDumpCreator.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IDumpCreator.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IDumpDescriptor.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/TCKConfiguration.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKTestcaseRunner.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/tagvalidation/
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/AbstractDTFJTestcase.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/DTFJImageLoader.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/DTFJManifestTests.java
Modified:
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IImageCreator.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IJavaRuntimeCreator.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractLauncher.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractTCKTestcase.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKJavaRuntimeTestcase.java
    incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKProcessTestcase.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.classpath
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.settings/org.eclipse.jdt.core.prefs
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageAddressSpaceTest.java
    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/ImageModuleTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImagePointerTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageProcessTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageRegisterTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSectionTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageStackFrameTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSymbolTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageThreadTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassLoaderTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaFieldTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaHeapTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaLocationTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMethodTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMonitorTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaObjectTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaRuntimeTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaStackFrameTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaThreadTest.java
    incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IImageCreator.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IImageCreator.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IImageCreator.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IImageCreator.java
Mon Nov 23 11:50:58 2009
@@ -21,7 +21,7 @@
 
 public interface IImageCreator {
 	
-	public Image createProcessImage(TCKConfiguration config) throws IOException;
+	public Image createProcessImage() throws IOException;
 	
 	
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IJavaRuntimeCreator.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IJavaRuntimeCreator.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IJavaRuntimeCreator.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/api/IJavaRuntimeCreator.java
Mon Nov 23 11:50:58 2009
@@ -21,5 +21,5 @@
 
 public interface IJavaRuntimeCreator {
 
-	public JavaRuntime createJavaRuntime(TCKConfiguration config) throws IOException;
+	public JavaRuntime createJavaRuntime() throws IOException;
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractLauncher.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractLauncher.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractLauncher.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractLauncher.java
Mon Nov 23 11:50:58 2009
@@ -13,10 +13,6 @@
  ******************************************************************************/
 package org.apache.kato.tck.harness;
 
-import java.io.File;
-
-import org.apache.kato.tck.api.IDumpCreator;
-import org.apache.kato.tck.api.TCKConfiguration;
 import org.apache.kato.tck.api.TCKException;
 
 
@@ -24,10 +20,9 @@
 
 	private boolean verboseMode=true;
 
-	private TCKConfiguration config=null;
 
 	public AbstractLauncher() {
-		config=TCKConfiguration.getConfiguration();
+
 		
 	}
 	public void log(String message) {
@@ -83,14 +78,6 @@
 
 	
 
-	protected IDumpCreator loadDumpCreator() {
-		String className=config.getDumpCreatorClassname();
-		log("dump generator class="+className);
-		Object instance=createInstance(className);
-		return (IDumpCreator)instance;
-
-	}
-
 	private Object createInstance(String className) {
 
 		try {
@@ -111,32 +98,12 @@
 	}
 
 	
-	public int getRequiredType() {
-		String testdumptype = config.getTestcaseType();
-
-		int value = getTestType(testdumptype);
-
-		if (value == 0) {
-			raiseError("unable to determine test type required from " + testdumptype
-					+ " property");
-
-		}
-		return value;
-	}
+	
 
 	public boolean isVerboseMode() {
 		return verboseMode;
 	}
 	
-	public TCKConfiguration getProperties() {
-		return config;
-	}
-	public void setUserConfiguration(File userconfig) {
-		config=TCKConfiguration.getConfiguration(userconfig);
-		
-	}
-	public TCKConfiguration getConfig() {
-		return config;
-	}
+	
 
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractTCKTestcase.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractTCKTestcase.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractTCKTestcase.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/AbstractTCKTestcase.java
Mon Nov 23 11:50:58 2009
@@ -17,17 +17,10 @@
 package org.apache.kato.tck.harness;
 
 
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
+import junit.framework.TestCase;
 
-import org.apache.kato.tck.api.ICheckpoint;
-import org.apache.kato.tck.api.TCKConfiguration;
 import org.apache.kato.tck.api.TCKException;
 
-import junit.framework.AssertionFailedError;
-import junit.framework.TestCase;
-
 
 /**
  *
@@ -37,21 +30,9 @@
 	public AbstractTCKTestcase() {
 		
 		
-		if(theProperties==null)  {
-			
-			
-			theProperties=TCKConfiguration.getConfiguration();
-		}
-
-
 	}
 
 
-
-	
-	private static TCKConfiguration theProperties = null;
-
-	
 	
 
 	protected void report(Exception cause, String message) {
@@ -63,99 +44,4 @@
 
 	}
 
-
-
-	protected TCKConfiguration getConfiguration() {
-		
-		return theProperties;
-	}
-
-
-	public void getEnvironmentArguments(MapCollector collector) {
-
-
-		// get methods
-		Class me=getClass();
-		Method m[] = me.getDeclaredMethods();
-
-		// run all methods where the method name starts with configure
-		for (int j = 0; j < m.length; j++)
-		{
-			Method method=m[j];
-			String methodName=m[j].getName();
-			if (methodName.startsWith("env"))
-			{
-
-				try {
-					String[] result=(String[]) method.invoke(this, null);
-					if(result!=null && result.length>0) {
-						for(int r=0;r<result.length;r++) {
-							String var=result[r];
-							collector.collect(var,method);
-
-						}
-					}
-
-				} catch (SecurityException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				} catch (IllegalArgumentException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				} catch (IllegalAccessException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				} catch (InvocationTargetException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				}
-
-			}
-		}
-
-	}
-	public void getJVMArguments(ValueCollector collector) {
-
-
-		// get methods
-		Class me=getClass();
-		Method m[] = me.getDeclaredMethods();
-
-		// run all methods where the method name starts with configure
-		for (int j = 0; j < m.length; j++)
-		{
-			Method method=m[j];
-			String methodName=m[j].getName();
-			if (methodName.startsWith("jvm"))
-			{
-
-				try {
-					String[] result=(String[]) method.invoke(this, null);
-					if(result!=null && result.length>0) {
-						for(int r=0;r<result.length;r++) {
-							String var=result[r];
-							collector.collect(var,method);
-
-						}
-					}
-
-				} catch (SecurityException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				} catch (IllegalArgumentException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				} catch (IllegalAccessException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				} catch (InvocationTargetException e) {
-					// TODO Auto-generated catch block
-					e.printStackTrace();
-				}
-
-			}
-		}
-
-	}
-
 }

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKJavaRuntimeTestcase.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKJavaRuntimeTestcase.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKJavaRuntimeTestcase.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKJavaRuntimeTestcase.java
Mon Nov 23 11:50:58 2009
@@ -13,11 +13,12 @@
  ******************************************************************************/
 package org.apache.kato.tck.harness;
 
+import java.io.File;
 import java.io.IOException;
 import java.util.HashMap;
 import java.util.Iterator;
-import java.util.List;
 
+import javax.tools.diagnostics.FactoryRegistry;
 import javax.tools.diagnostics.image.CorruptData;
 import javax.tools.diagnostics.image.CorruptDataException;
 import javax.tools.diagnostics.runtime.java.JavaClass;
@@ -32,6 +33,10 @@
 
 public abstract class TCKJavaRuntimeTestcase extends AbstractTCKTestcase {
 
+	/**
+	 * 
+	 */
+	private static final String DUMPPATH_PROPERTY = "org.apache.kato.dumppath";
 	private static JavaRuntime runtime=null;
 	private static IJavaRuntimeCreator creator=null;
 
@@ -89,10 +94,12 @@
 	public JavaRuntime getJavaRuntime()
 	{
 		if(runtime==null) {
-			IJavaRuntimeCreator creator=getJavaRuntimeCreator();
 			try {
+				String dumpFileNamePath=System.getProperty(DUMPPATH_PROPERTY);
+				if(dumpFileNamePath==null) report("Missing dump path. Set System Property "+DUMPPATH_PROPERTY+"
to full path to the dump");
+				File dump=new File(dumpFileNamePath);
+				runtime=FactoryRegistry.getDefaultRegistry().getJavaRuntime(dump);
 				
-				runtime=creator.createJavaRuntime(getConfiguration());
 			} catch (IOException e) {
 				report(e,"unable to create Java runtime image from dump");
 			}
@@ -102,25 +109,6 @@
 	}
 
 	
-	protected IJavaRuntimeCreator getJavaRuntimeCreator() {
-		if(creator!=null) return creator;
-		
-		String className=getConfiguration().getImageCreatorClassName();
-		
-		Class clazz=null;
-		try {
-			clazz = Class.forName(className);
-		} catch (ClassNotFoundException e) {
-			report(e,"cannot locate JavaRuntime creator class "+className);
-
-		}
-		try {
-			creator=(IJavaRuntimeCreator) clazz.newInstance();
-		} catch (Exception e) {
-			report(e,"unable to instantiate JavaRuntime creator class "+className);
-		}
-		return creator;
-	}
 
 	/**
 	 * Returns the system classloader for runtime.

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKProcessTestcase.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKProcessTestcase.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKProcessTestcase.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.harness/src/main/java/org/apache/kato/tck/harness/TCKProcessTestcase.java
Mon Nov 23 11:50:58 2009
@@ -30,7 +30,7 @@
 			IImageCreator creator=getImageCreator();
 			
 			try {
-				image=creator.createProcessImage(getConfiguration());
+				image=creator.createProcessImage();
 			} catch (Exception e) {
 				
 				report(e,"unable to create process image from dump");
@@ -46,7 +46,7 @@
 	
 		if(imageCreator!=null) return imageCreator;
 
-		String className=getConfiguration().getImageCreatorClassName();
+		String className="fixme";
 	
 		Class clazz=null;
 		try {

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.classpath
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.classpath?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.classpath (original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.classpath Mon Nov
23 11:50:58 2009
@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
-	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
-	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
-	<classpathentry kind="output" path="target/classes"/>
-</classpath>
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.settings/org.eclipse.jdt.core.prefs?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.settings/org.eclipse.jdt.core.prefs
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite.scenario.150/.settings/org.eclipse.jdt.core.prefs
Mon Nov 23 11:50:58 2009
@@ -1,5 +1,5 @@
-#Tue Nov 17 14:36:03 GMT 2009
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.source=1.6
+#Sun Nov 22 17:33:39 GMT 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.source=1.5

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageAddressSpaceTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageAddressSpaceTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageAddressSpaceTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageAddressSpaceTest.java
Mon Nov 23 11:50:58 2009
@@ -21,7 +21,7 @@
 import javax.tools.diagnostics.image.ImageSection;
 
 
-public class ImageAddressSpaceTest extends AbstractDTFJTestcase {
+public class ImageAddressSpaceTest extends AbstractImageTestcase {
 	private ImageAddressSpace _space = null;
 	public static final long TEST_ADDRESS = 0x7FFFFFFF;	//TODO: don't test with this specific
value
 	

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=883311&r1=883310&r2=883311&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
Mon Nov 23 11:50:58 2009
@@ -15,7 +15,7 @@
 
 import javax.tools.diagnostics.image.ImageFactory;
 
-public class ImageFactoryTest extends AbstractDTFJTestcase
+public class ImageFactoryTest extends AbstractImageTestcase
 {
 	/**
 	 * Test method for 'javax.tools.diagnostics.image.ImageFactory.getDTFJMajorVersion()'

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageModuleTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageModuleTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageModuleTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageModuleTest.java
Mon Nov 23 11:50:58 2009
@@ -21,7 +21,7 @@
 import javax.tools.diagnostics.image.CorruptDataException;
 
 
-public class ImageModuleTest extends AbstractDTFJTestcase {
+public class ImageModuleTest extends AbstractImageTestcase {
 	
 
 	/**

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImagePointerTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImagePointerTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImagePointerTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImagePointerTest.java
Mon Nov 23 11:50:58 2009
@@ -19,7 +19,7 @@
 import javax.tools.diagnostics.image.ImagePointer;
 import javax.tools.diagnostics.image.MemoryAccessException;
 
-public class ImagePointerTest extends AbstractDTFJTestcase
+public class ImagePointerTest extends AbstractImageTestcase
 {
 	private static ImageAddressSpace _parent;	//used for comparisons
 	private static long _address;	//used for comparisons

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageProcessTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageProcessTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageProcessTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageProcessTest.java
Mon Nov 23 11:50:58 2009
@@ -26,7 +26,7 @@
 
 
 
-public class ImageProcessTest extends AbstractDTFJTestcase {
+public class ImageProcessTest extends AbstractImageTestcase {
 	
 	ImageProcess _proc=null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageRegisterTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageRegisterTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageRegisterTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageRegisterTest.java
Mon Nov 23 11:50:58 2009
@@ -18,7 +18,7 @@
 import javax.tools.diagnostics.image.CorruptDataException;
 import javax.tools.diagnostics.image.ImageRegister;
 
-public class ImageRegisterTest extends AbstractDTFJTestcase
+public class ImageRegisterTest extends AbstractImageTestcase
 {
 	private ImageRegister _testRegister;
 

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSectionTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSectionTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSectionTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSectionTest.java
Mon Nov 23 11:50:58 2009
@@ -20,7 +20,7 @@
 import javax.tools.diagnostics.runtime.java.JavaMethod;
 
 
-public class ImageSectionTest extends AbstractDTFJTestcase
+public class ImageSectionTest extends AbstractImageTestcase
 {
 	private ImageSection _section = null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageStackFrameTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageStackFrameTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageStackFrameTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageStackFrameTest.java
Mon Nov 23 11:50:58 2009
@@ -22,7 +22,7 @@
 import javax.tools.diagnostics.image.ImageThread;
 
 
-public class ImageStackFrameTest extends AbstractDTFJTestcase
+public class ImageStackFrameTest extends AbstractImageTestcase
 {
 	private ImageStackFrame _stackFrame;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSymbolTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSymbolTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSymbolTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageSymbolTest.java
Mon Nov 23 11:50:58 2009
@@ -19,7 +19,7 @@
 import javax.tools.diagnostics.image.ImageSymbol;
 
 
-public class ImageSymbolTest extends AbstractDTFJTestcase
+public class ImageSymbolTest extends AbstractImageTestcase
 {
 	private ImageSymbol _symbol;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageTest.java
Mon Nov 23 11:50:58 2009
@@ -27,7 +27,7 @@
  * A collection of simple test-cases to make sure that the DTFJ Image Interface agrees with
its documented
  * behaviour.
  */
-public class ImageTest extends AbstractDTFJTestcase
+public class ImageTest extends AbstractImageTestcase
 {
 	private Image _core=null;
 	protected void setUp() throws Exception

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageThreadTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageThreadTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageThreadTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/ImageThreadTest.java
Mon Nov 23 11:50:58 2009
@@ -23,7 +23,7 @@
 import javax.tools.diagnostics.image.ImageThread;
 
 
-public class ImageThreadTest extends AbstractDTFJTestcase
+public class ImageThreadTest extends AbstractImageTestcase
 {
 	private ImageThread _thread = null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassLoaderTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassLoaderTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassLoaderTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassLoaderTest.java
Mon Nov 23 11:50:58 2009
@@ -21,7 +21,7 @@
 import javax.tools.diagnostics.runtime.java.JavaObject;
 
 
-public class JavaClassLoaderTest extends AbstractDTFJTestcase
+public class JavaClassLoaderTest extends AbstractImageTestcase
 {
 	private JavaClassLoader _loader;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaClassTest.java
Mon Nov 23 11:50:58 2009
@@ -31,7 +31,7 @@
 import org.apache.kato.tests.scenarios.ArrayletTest;
 
 
-public class JavaClassTest extends AbstractDTFJTestcase
+public class JavaClassTest extends AbstractImageTestcase
 {
 	
 	public class Super {

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaFieldTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaFieldTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaFieldTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaFieldTest.java
Mon Nov 23 11:50:58 2009
@@ -23,7 +23,7 @@
 import javax.tools.diagnostics.runtime.java.JavaObject;
 
 
-public class JavaFieldTest extends AbstractDTFJTestcase
+public class JavaFieldTest extends AbstractImageTestcase
 {
 	private JavaObject _testInstance;
 	private JavaField _field;

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaHeapTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaHeapTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaHeapTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaHeapTest.java
Mon Nov 23 11:50:58 2009
@@ -19,7 +19,7 @@
 import javax.tools.diagnostics.runtime.java.JavaHeap;
 
 
-public class JavaHeapTest extends AbstractDTFJTestcase
+public class JavaHeapTest extends AbstractImageTestcase
 {
 	private JavaHeap _heap = null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaLocationTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaLocationTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaLocationTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaLocationTest.java
Mon Nov 23 11:50:58 2009
@@ -19,7 +19,7 @@
 import javax.tools.diagnostics.runtime.java.JavaLocation;
 import javax.tools.diagnostics.runtime.java.JavaStackFrame;
 
-public class JavaLocationTest extends AbstractDTFJTestcase
+public class JavaLocationTest extends AbstractImageTestcase
 {
 	private JavaLocation _location;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMethodTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMethodTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMethodTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMethodTest.java
Mon Nov 23 11:50:58 2009
@@ -22,7 +22,7 @@
 import javax.tools.diagnostics.runtime.java.JavaMethod;
 
 
-public class JavaMethodTest extends AbstractDTFJTestcase
+public class JavaMethodTest extends AbstractImageTestcase
 {
 	private JavaMethod _method = null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMonitorTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMonitorTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMonitorTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaMonitorTest.java
Mon Nov 23 11:50:58 2009
@@ -21,7 +21,7 @@
 import javax.tools.diagnostics.runtime.java.JavaThread;
 
 
-public class JavaMonitorTest extends AbstractDTFJTestcase
+public class JavaMonitorTest extends AbstractImageTestcase
 {
 	private JavaMonitor _monitor = null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaObjectTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaObjectTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaObjectTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaObjectTest.java
Mon Nov 23 11:50:58 2009
@@ -28,7 +28,7 @@
 import org.apache.kato.tck.api.ICheckpoint;
 
 
-public class JavaObjectTest extends AbstractDTFJTestcase
+public class JavaObjectTest extends AbstractImageTestcase
 {
 	protected static final char SIG_BOOLEAN = 'Z';
 	protected static final char SIG_BYTE = 'B';

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaRuntimeTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaRuntimeTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaRuntimeTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaRuntimeTest.java
Mon Nov 23 11:50:58 2009
@@ -31,7 +31,7 @@
 import javax.tools.diagnostics.runtime.java.JavaVMOption;
 
 
-public class JavaRuntimeTest extends AbstractDTFJTestcase
+public class JavaRuntimeTest extends AbstractImageTestcase
 {
 	private JavaRuntime _runtime = null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaStackFrameTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaStackFrameTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaStackFrameTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaStackFrameTest.java
Mon Nov 23 11:50:58 2009
@@ -22,7 +22,7 @@
 import javax.tools.diagnostics.runtime.java.JavaThread;
 
 
-public class JavaStackFrameTest extends AbstractDTFJTestcase
+public class JavaStackFrameTest extends AbstractImageTestcase
 {
 	private JavaStackFrame _frame = null;
 	

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaThreadTest.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaThreadTest.java?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaThreadTest.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tests/junit/JavaThreadTest.java
Mon Nov 23 11:50:58 2009
@@ -20,7 +20,7 @@
 import javax.tools.diagnostics.runtime.java.JavaThread;
 
 
-public class JavaThreadTest extends AbstractDTFJTestcase
+public class JavaThreadTest extends AbstractImageTestcase
 {
 	private JavaThread _thread = null;
 	private JavaThread _sameThread = null;

Modified: incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml?rev=883311&r1=883310&r2=883311&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck/src/test/ant/tck.xml Mon Nov 23 11:50:58
2009
@@ -34,7 +34,8 @@
 		
 		<!-- run the tck testsuite -->
 		
-		<junit >
+		<junit>
+			<sysproperty key="org.apache.kato.dumppath" value="foo"/>
 			<formatter type="plain"/>
 			<formatter type="xml"/>
 			<test name="org.apache.kato.tck.tests.javaruntime.AllJavaRuntimeTests" todir="${target}"/>



Mime
View raw message