You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2013/04/09 19:43:13 UTC

svn commit: r1466153 - /juddi/trunk/juddi-core/src/test/java/org/apache/juddi/config/ReleaseVersionTest.java

Author: kstam
Date: Tue Apr  9 17:43:13 2013
New Revision: 1466153

URL: http://svn.apache.org/r1466153
Log:
JUDDI-585 add test

Added:
    juddi/trunk/juddi-core/src/test/java/org/apache/juddi/config/ReleaseVersionTest.java

Added: juddi/trunk/juddi-core/src/test/java/org/apache/juddi/config/ReleaseVersionTest.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-core/src/test/java/org/apache/juddi/config/ReleaseVersionTest.java?rev=1466153&view=auto
==============================================================================
--- juddi/trunk/juddi-core/src/test/java/org/apache/juddi/config/ReleaseVersionTest.java (added)
+++ juddi/trunk/juddi-core/src/test/java/org/apache/juddi/config/ReleaseVersionTest.java Tue Apr  9 17:43:13 2013
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2001-2009 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.juddi.config;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+/**
+ * @author <a href="mailto:kstam@apache.org">Kurt T Stam</a>
+ */
+public class ReleaseVersionTest 
+{
+	@Test
+	public void readRegistryVersion()
+	{
+		String registryVersion = Release.getRegistryVersion();
+		System.out.println(registryVersion);
+		Assert.assertTrue(registryVersion.startsWith("3."));
+	}
+	
+	
+	
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org