incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r835328 [2/2] - in /incubator/kato/trunk/org.apache.kato: kato.tck.testsuite.scenario.142/src/main/java/org/apache/kato/tck/scenario142/ kato.tck.testsuite.scenario.142/src/main/java/org/apache/kato/tck/scenario142/javaruntime/ kato.tck.tes...
Date Thu, 12 Nov 2009 10:44:55 GMT
Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaRuntime_getHeapRoots.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaRuntime_getHeapRoots.java?rev=835328&r1=835327&r2=835328&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaRuntime_getHeapRoots.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaRuntime_getHeapRoots.java
Thu Nov 12 10:44:52 2009
@@ -33,8 +33,8 @@
 import javax.tools.diagnostics.runtime.java.JavaThread;
 
 import org.apache.kato.tck.harness.TCKJavaRuntimeTestcase;
-import org.apache.kato.tck.scenario.common.javaruntime.SetupJavaRuntime_getHeapRoots;
-import org.apache.kato.tck.scenario.common.javaruntime.SetupJavaRuntime_getHeapRoots.HeapRoot;
+import org.apache.kato.tck.scenario142.javaruntime.SetupJavaRuntime_getHeapRoots;
+import org.apache.kato.tck.scenario142.javaruntime.SetupJavaRuntime_getHeapRoots.HeapRoot;
 import org.apache.kato.tck.tests.javaruntime.TestJavaStackFrame_getHeapRoots.HeapRootsTestLocalVariable;
 import org.apache.kato.tck.tests.javaruntime.TestJavaStackFrame_getHeapRoots.HeapRootsTestParam;
 

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaStackFrame_getHeapRoots.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaStackFrame_getHeapRoots.java?rev=835328&r1=835327&r2=835328&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaStackFrame_getHeapRoots.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaStackFrame_getHeapRoots.java
Thu Nov 12 10:44:52 2009
@@ -31,7 +31,7 @@
 
 import org.apache.kato.tck.api.ICheckpoint;
 import org.apache.kato.tck.harness.TCKJavaRuntimeTestcase;
-import org.apache.kato.tck.scenario.common.javaruntime.SetupJavaRuntime_getHeapRoots.HeapRoot;
+import org.apache.kato.tck.scenario142.javaruntime.SetupJavaRuntime_getHeapRoots.HeapRoot;
 
 
 

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThreadInspection.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThreadInspection.java?rev=835328&r1=835327&r2=835328&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThreadInspection.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThreadInspection.java
Thu Nov 12 10:44:52 2009
@@ -21,7 +21,6 @@
 import javax.tools.diagnostics.runtime.java.JavaObject;
 import javax.tools.diagnostics.runtime.java.JavaThread;
 
-import org.apache.kato.tck.api.ICheckpoint;
 import org.apache.kato.tck.harness.TCKJavaRuntimeTestcase;
 
 

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getName.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getName.java?rev=835328&r1=835327&r2=835328&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getName.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getName.java
Thu Nov 12 10:44:52 2009
@@ -21,7 +21,7 @@
 import javax.tools.diagnostics.runtime.java.JavaThread;
 
 import org.apache.kato.tck.harness.TCKJavaRuntimeTestcase;
-import org.apache.kato.tck.scenario.common.javaruntime.SetupJavaThread_getName;
+import org.apache.kato.tck.scenario142.javaruntime.SetupJavaThread_getName;
 
 
 public class TestJavaThread_getName extends TCKJavaRuntimeTestcase {

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getStackFrames.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getStackFrames.java?rev=835328&r1=835327&r2=835328&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getStackFrames.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/javaruntime/TestJavaThread_getStackFrames.java
Thu Nov 12 10:44:52 2009
@@ -22,7 +22,7 @@
 import javax.tools.diagnostics.runtime.java.JavaThread;
 
 import org.apache.kato.tck.harness.TCKJavaRuntimeTestcase;
-import org.apache.kato.tck.scenario.common.javaruntime.SetupJavaThread_getStackFrames;
+import org.apache.kato.tck.scenario142.javaruntime.SetupJavaThread_getStackFrames;
 
 
 /**

Modified: incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/process/TestEnvironmentVariables.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/process/TestEnvironmentVariables.java?rev=835328&r1=835327&r2=835328&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/process/TestEnvironmentVariables.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.tck.testsuite/src/main/java/org/apache/kato/tck/tests/process/TestEnvironmentVariables.java
Thu Nov 12 10:44:52 2009
@@ -22,24 +22,13 @@
 import javax.tools.diagnostics.image.ImageAddressSpace;
 import javax.tools.diagnostics.image.ImageProcess;
 import org.apache.kato.tck.harness.TCKProcessTestcase;
+import org.apache.kato.tck.scenario142.process.SetupEnvironmentVariables;
 
 
 public class TestEnvironmentVariables extends TCKProcessTestcase {
 
-	private static final String VALUE = "org.apache.kato.tck.environment.test-value-176453";
-	private static final String KEY1 = "org.apache.kato.tck.evironment-test-key-176453";
-	private static final String KEY2 = "org.apache.kato.tck.evironment-test-key-93222";
-	private static final String KEY3 = "org.apache.kato.tck.evironment-test-key-96545";
 	
 	/**
-	 * Env method called by collection stage of TCK to set envvars
-	 * @return
-	 */
-	public String[] envEnvironmentVariableRetrieved() {
-		return new String[]{KEY1+"="+VALUE,KEY2+"=",KEY3};
-	}
-
-	/**
 	 * Tests that provided environmental variable is in dump and has
 	 * correct value
 	 * @throws CorruptDataException 
@@ -56,8 +45,8 @@
 		// get environment 
 	
 			Properties properties=process.getEnvironment();
-			String value=properties.getProperty(KEY1);
-			assertEquals(VALUE,value);
+			String value=properties.getProperty(SetupEnvironmentVariables.KEY1);
+			assertEquals(SetupEnvironmentVariables.VALUE,value);
 		
 
 	
@@ -79,7 +68,7 @@
 		// get environment 
 	
 			Properties properties=process.getEnvironment();
-			String value=properties.getProperty(KEY2);
+			String value=properties.getProperty(SetupEnvironmentVariables.KEY2);
 			assertEquals("key2 value should be empty String","",value);
 			
 
@@ -102,8 +91,8 @@
 		// get environment 
 	
 			Properties properties=process.getEnvironment();
-			String value=properties.getProperty(KEY3);
-			System.out.println("KEY3 "+KEY3+" value \""+value+"\"");
+			String value=properties.getProperty(SetupEnvironmentVariables.KEY3);
+			System.out.println("KEY3 "+SetupEnvironmentVariables.KEY3+" value \""+value+"\"");
 			assertNull(value);
 			
 



Mime
View raw message