Author: deepal
Date: Tue Jan 29 00:53:16 2008
New Revision: 13118
Log:
adding assert to confirm the test REGISTRY-115
Modified:
branches/registry/1_0/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
Modified:
branches/registry/1_0/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
==============================================================================
---
branches/registry/1_0/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
(original)
+++
branches/registry/1_0/modules/core/src/test/java/org/wso2/registry/app/VersionTest.java
Tue Jan 29 00:53:16 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