Author: deepal
Date: Wed Jan 23 00:53:56 2008
New Revision: 12750

Log:

adding a test case to test version handling in APP

Added:
   
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPBasedVersionHandlingTest.java

Added: 
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPBasedVersionHandlingTest.java
==============================================================================
--- (empty file)
+++ 
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/APPBasedVersionHandlingTest.java
    Wed Jan 23 00:53:56 2008
@@ -0,0 +1,39 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.wso2.registry.app;
+
+import org.wso2.registry.jdbc.VersionHandlingTest;
+
+import java.net.URL;
+
+public class APPBasedVersionHandlingTest extends VersionHandlingTest {
+    RegistryServer server = new RegistryServer();
+
+     public void setUp() {
+        try {
+            if (registry == null) {
+                server.start();
+                registry = new RemoteRegistry(new 
URL("http://localhost:8081/wso2registry/atom";), "admin","admin");
+            }
+        } catch (Exception e) {
+            fail("Failed to initialize the registry.");
+        }
+    }
+
+}

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to