diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-06 09:23:27 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-06 09:23:27 +0000 |
commit | a84a0e4d169efbc78b169aea3ab422182f156a41 (patch) | |
tree | a253d521d452a35ba51b5cd1300e1d482c3291c2 /sca-cpp/trunk/modules/atom/atom-test.cpp | |
parent | f59b38e4887e7ea04cc82bd4ca41ec2766a4ea6b (diff) |
Minor code cleanup, refactored some ATOM data conversion functions, simplified client test cases.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@919720 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/atom/atom-test.cpp')
-rw-r--r-- | sca-cpp/trunk/modules/atom/atom-test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-cpp/trunk/modules/atom/atom-test.cpp b/sca-cpp/trunk/modules/atom/atom-test.cpp index 560c383a23..316e8b44db 100644 --- a/sca-cpp/trunk/modules/atom/atom-test.cpp +++ b/sca-cpp/trunk/modules/atom/atom-test.cpp @@ -80,13 +80,13 @@ bool testEntry() { assert(str(os) == itemEntry); } { - const list<value> a = content(readEntry(mklist(itemEntry))); + const list<value> a = content(readATOMEntry(mklist(itemEntry))); ostringstream os; writeATOMEntry<ostream*>(writer, &os, a); assert(str(os) == itemEntry); } { - const list<value> a = content(readEntry(mklist(incompleteEntry))); + const list<value> a = content(readATOMEntry(mklist(incompleteEntry))); ostringstream os; writeATOMEntry<ostream*>(writer, &os, a); assert(str(os) == completedEntry); @@ -133,7 +133,7 @@ bool testFeed() { assert(str(os) == emptyFeed); } { - const list<value> a = content(readFeed(mklist(emptyFeed))); + const list<value> a = content(readATOMFeed(mklist(emptyFeed))); ostringstream os; writeATOMFeed<ostream*>(writer, &os, a); assert(str(os) == emptyFeed); @@ -169,7 +169,7 @@ bool testFeed() { assert(str(os) == itemFeed); } { - const list<value> a = content(readFeed(mklist(itemFeed))); + const list<value> a = content(readATOMFeed(mklist(itemFeed))); ostringstream os; writeATOMFeed<ostream*>(writer, &os, a); assert(str(os) == itemFeed); |