Author: deepal
Date: Mon Jan 14 01:56:10 2008
New Revision: 12200
Log:
hmm ,replace sout with AssertNotNull
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/UserTest.java
Modified:
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/UserTest.java
==============================================================================
---
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/UserTest.java
(original)
+++
trunk/registry/modules/core/src/test/java/org/wso2/registry/app/UserTest.java
Mon Jan 14 01:56:10 2008
@@ -73,11 +73,11 @@
String path = "/c1/r2";
try {
r1 = registry.get(path);
- System.out.println(new String((byte[]) r1.getContent()));
- System.out.println(r1.getAuthorUserName());
- System.out.println(r1.getCreatedTime());
- System.out.println(r1.getLastModified());
- System.out.println(r1.getLastUpdaterUserName());
+ assertEquals("this is my content2" , new String((byte[])
r1.getContent()));
+ assertNotNull(r1.getAuthorUserName());
+ assertNotNull(r1.getCreatedTime());
+ assertNotNull(r1.getLastModified());
+ assertNotNull(r1.getLastUpdaterUserName());
} catch (RegistryException e) {
fail("Couldn't get content details from path c1/r1");
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev