incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monte...@apache.org
Subject svn commit: r791902 - in /incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src: main/java/org/apache/kato/hprof/java/ main/resources/META-INF/services/ test/java/test/apache/kato/hprof/java/
Date Tue, 07 Jul 2009 16:36:19 GMT
Author: monteith
Date: Tue Jul  7 16:36:19 2009
New Revision: 791902

URL: http://svn.apache.org/viewvc?rev=791902&view=rev
Log:
Export hprof api as a service, and add version strings.

Added:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/org.apache.kato.image.ImageFactory
Modified:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/java/org/apache/kato/hprof/java/JavaRuntimeImpl.java
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java

Modified: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/java/org/apache/kato/hprof/java/JavaRuntimeImpl.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/java/org/apache/kato/hprof/java/JavaRuntimeImpl.java?rev=791902&r1=791901&r2=791902&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/java/org/apache/kato/hprof/java/JavaRuntimeImpl.java
(original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/java/org/apache/kato/hprof/java/JavaRuntimeImpl.java
Tue Jul  7 16:36:19 2009
@@ -165,13 +165,13 @@
 	@Override
 	public String getFullVersion() throws CorruptDataException {
 		// TODO Auto-generated method stub
-		return null;
+		return "Hprof dump.";
 	}
 
 	@Override
 	public String getVersion() throws CorruptDataException {
 		// TODO Auto-generated method stub
-		return null;
+		return "Hprof dump.";
 	}
 	
 

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/org.apache.kato.image.ImageFactory
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/org.apache.kato.image.ImageFactory?rev=791902&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/org.apache.kato.image.ImageFactory
(added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/org.apache.kato.image.ImageFactory
Tue Jul  7 16:36:19 2009
@@ -0,0 +1 @@
+org.apache.kato.hprof.image.ImageFactoryImpl
\ No newline at end of file

Modified: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java?rev=791902&r1=791901&r2=791902&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java
(original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.hprof.api/src/test/java/test/apache/kato/hprof/java/TestJavaRuntime.java
Tue Jul  7 16:36:19 2009
@@ -32,13 +32,13 @@
 	public void testGetFullVersion() throws IOException, CorruptDataException {
 
 		JavaRuntime runtime=getJavaRuntime();
-		assertNull(runtime.getFullVersion());
+		assertNotNull(runtime.getFullVersion());
 
 	}
 	public void testGetVersion() throws IOException, CorruptDataException {
 
 		JavaRuntime runtime=getJavaRuntime();
-		assertNull(runtime.getVersion());
+		assertNotNull(runtime.getVersion());
 
 	}
 



Mime
View raw message