Author: deepal
Date: Tue Jan 29 00:53:38 2008
New Revision: 13119
Log:
adding assert to confirm the test REGISTRY-115
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
==============================================================================
---
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
(original)
+++
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
Tue Jan 29 00:53:38 2008
@@ -67,7 +67,9 @@
registry.restoreVersion("/wso2/wsas?v=2");
resource1 = registry.get("/wso2/wsas/v1");
+ assertNotNull(resource1.getAuthorUserName());
content1 = ((String[])resource1.getContent());
+ assertNotNull(resource1.getLastUpdaterUserName());
assertEquals(2, content1.length);
assertEquals("/wso2/wsas/v1/r1", content1[0]);
assertEquals("/wso2/wsas/v1/resource1", content1[1]);
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev