Author: keith
Date: Thu Jan 24 11:15:35 2008
New Revision: 12845
Log:
Adding a commented out testcase. PLease fix this issue
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/jdbc/VersionHandlingTest.java
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/jdbc/VersionHandlingTest.java
==============================================================================
---
trunk/registry/modules/core/src/test/java/org/wso2/registry/jdbc/VersionHandlingTest.java
(original)
+++
trunk/registry/modules/core/src/test/java/org/wso2/registry/jdbc/VersionHandlingTest.java
Thu Jan 24 11:15:35 2008
@@ -93,4 +93,24 @@
assertEquals("/wso2/wsas/v1/resource1", content1[1]);
}
+
+// public void testResourceVersioning() throws Exception{
+//
+// String mashupString = "testMashup";
+//
+// Resource mashup = new Resource();
+// mashup.setContent(mashupString);
+// registry.put("/wso2/mashup", mashup);
+//
+//
+// Resource wsas = new Resource();
+// wsas.setContent("testWSAS".getBytes());
+// registry.put("/wso2/wsas", wsas);
+//
+//
+// Resource myMashup = registry.get("/wso2/mashup");
+// String content = (String) myMashup.getContent();
+// assertNotNull(content);
+// assertEquals(mashupString,content);
+// }
}
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev