diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-02 04:29:04 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-02 04:29:04 +0000 |
commit | 36ff4f08abdcf2ccf0fc816ff7bbc54eec2f11c1 (patch) | |
tree | 688c11526a0a8ce0a66a2ba73cd174b6689fece6 /branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerCollectionImpl.java | |
parent | 60b0359c6b93e39dbfcdab2e62b3b0fb602e02c6 (diff) |
Conversion to JUnit 4.5 + Cleaning up System.out
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@810356 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerCollectionImpl.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerCollectionImpl.java b/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerCollectionImpl.java index 3c11fb70b9..0772bd67ee 100644 --- a/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerCollectionImpl.java +++ b/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/CustomerCollectionImpl.java @@ -69,12 +69,12 @@ public class CustomerCollectionImpl implements Collection { // entry.addHtmlLink(""+id, "", "edit"); // entry.addHtmlLink(""+id, "", "alternate"); entries.put(id, entry); - System.out.println(">>> id=" + id); + //System.out.println(">>> id=" + id); } } public Entry post(Entry entry) { - System.out.println(">>> ResourceCollectionImpl.post entry=" + entry.getTitle()); + //System.out.println(">>> ResourceCollectionImpl.post entry=" + entry.getTitle()); String id = "urn:uuid:customer-" + UUID.randomUUID().toString(); entry.setId(id); @@ -93,30 +93,30 @@ public class CustomerCollectionImpl implements Collection { // "alternate"); entries.put(id, entry); - System.out.println(">>> ResourceCollectionImpl.post return id=" + id); + //System.out.println(">>> ResourceCollectionImpl.post return id=" + id); return entry; } public Entry get(String id) { - System.out.println(">>> ResourceCollectionImpl.get id= " + id); + //System.out.println(">>> ResourceCollectionImpl.get id= " + id); return entries.get(id); } public void put(String id, Entry entry) { - System.out.println(">>> ResourceCollectionImpl.put id=" + id + " entry=" + entry.getTitle().getPlainText()); + //System.out.println(">>> ResourceCollectionImpl.put id=" + id + " entry=" + entry.getTitle().getPlainText()); entry.setUpdated(DateTime.now()); entries.put(id, entry); } public void delete(String id) { - System.out.println(">>> ResourceCollectionImpl.delete id=" + id); + //System.out.println(">>> ResourceCollectionImpl.delete id=" + id); entries.remove(id); } public Feed getFeed() { - System.out.println(">>> ResourceCollectionImpl.get collection"); + //System.out.println(">>> ResourceCollectionImpl.get collection"); Feed feed = new Feed(); feed.setTitle(new PlainTextConstruct("Feedtitle(LocalHostServlet)")); @@ -136,7 +136,7 @@ public class CustomerCollectionImpl implements Collection { //FIXME: need to be modified public Feed query(Query query) { - System.out.println(">>> ResourceCollectionImpl.query collection "); + //System.out.println(">>> ResourceCollectionImpl.query collection "); return getFeed(); } |