From 585f81b9436e137c3ed784d9a91efa9e6e792e03 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 23 Nov 2009 05:25:33 +0000 Subject: Refactored httpd server integration, split http support and server logic in two modules. Added functions to load component implementations packaged as dynamic libraries. Minor monad code cleanup, converted cast operators to separate functions. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@883249 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/atom/atom-test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sca-cpp/trunk/modules/atom/atom-test.cpp') diff --git a/sca-cpp/trunk/modules/atom/atom-test.cpp b/sca-cpp/trunk/modules/atom/atom-test.cpp index 7c14b954a0..ba651e8eb2 100644 --- a/sca-cpp/trunk/modules/atom/atom-test.cpp +++ b/sca-cpp/trunk/modules/atom/atom-test.cpp @@ -82,13 +82,13 @@ bool testEntry() { assert(os.str() == itemEntry); } { - const list a = readEntry(mklist(itemEntry)); + const list a = content(readEntry(mklist(itemEntry))); std::ostringstream os; writeATOMEntry(writer, &os, a); assert(os.str() == itemEntry); } { - const list a = readEntry(mklist(incompleteEntry)); + const list a = content(readEntry(mklist(incompleteEntry))); std::ostringstream os; writeATOMEntry(writer, &os, a); assert(os.str() == completedEntry); @@ -135,7 +135,7 @@ bool testFeed() { assert(os.str() == emptyFeed); } { - const list a = readFeed(mklist(emptyFeed)); + const list a = content(readFeed(mklist(emptyFeed))); std::ostringstream os; writeATOMFeed(writer, &os, a); assert(os.str() == emptyFeed); @@ -171,7 +171,7 @@ bool testFeed() { assert(os.str() == itemFeed); } { - const list a = readFeed(mklist(itemFeed)); + const list a = content(readFeed(mklist(itemFeed))); std::ostringstream os; writeATOMFeed(writer, &os, a); assert(os.str() == itemFeed); -- cgit v1.2.3