diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-27 04:10:40 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-02-27 04:10:40 +0000 |
commit | 60646adbdaea14ad20182cfa9e2a4b71573201f4 (patch) | |
tree | a74fb78bfaf5c386a0353e8d440bfb1d4bb26e12 /sca-cpp/trunk | |
parent | a5e28530b5b092c287ff04db3b04e6a68267eeb6 (diff) |
Fix test case broken by XML document indentation format change.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk')
-rw-r--r-- | sca-cpp/trunk/kernel/xml-test.cpp | 61 |
1 files changed, 34 insertions, 27 deletions
diff --git a/sca-cpp/trunk/kernel/xml-test.cpp b/sca-cpp/trunk/kernel/xml-test.cpp index c83a65fd92..a06e7a540c 100644 --- a/sca-cpp/trunk/kernel/xml-test.cpp +++ b/sca-cpp/trunk/kernel/xml-test.cpp @@ -35,36 +35,43 @@ namespace tuscany { const string currencyXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" -"<composite xmlns=\"http://docs.oasis-open.org/ns/opencsa/sca/200912\" " -"xmlns:t=\"http://tuscany.apache.org/xmlns/sca/1.1\" " -"targetNamespace=\"http://services\" " -"name=\"currency\">" -"<component name=\"CurrencyConverterWebService\">" -"<implementation.java class=\"services.CurrencyConverterImpl\"/>" -"<service name=\"CurrencyConverter\">" -"<binding.ws/>" -"</service>" -"</component>" -"<component name=\"CurrencyConverterWebService2\">" -"<implementation.java class=\"services.CurrencyConverterImpl2\"/>" -"<service name=\"CurrencyConverter2\">" -"<binding.atom/>" -"</service>" -"<property name=\"currency\">US</property>" -"</component>" -"</composite>" -"\n"; +"<composite xmlns=\"http://docs.oasis-open.org/ns/opencsa/sca/200912\" xmlns:t=\"http://tuscany.apache.org/xmlns/sca/1.1\" targetNamespace=\"http://services\" name=\"currency\">\n" +" <component name=\"CurrencyConverterWebService\">\n" +" <implementation.java class=\"services.CurrencyConverterImpl\"/>\n" +" <service name=\"CurrencyConverter\">\n" +" <binding.ws/>\n" +" </service>\n" +" </component>\n" +" <component name=\"CurrencyConverterWebService2\">\n" +" <implementation.java class=\"services.CurrencyConverterImpl2\"/>\n" +" <service name=\"CurrencyConverter2\">\n" +" <binding.atom/>\n" +" </service>\n" +" <property name=\"currency\">US</property>\n" +" </component>\n" +"</composite>\n"; const string customerXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" -"<customer>" -"<name>jdoe</name>" -"<address><city>san francisco</city><state>ca</state></address>" -"<account><id>1234</id><balance>1000</balance></account>" -"<account><id>6789</id><balance>2000</balance></account>" -"<account><id>4567</id><balance>3000</balance></account>" -"</customer>" -"\n"; +"<customer>\n" +" <name>jdoe</name>\n" +" <address>\n" +" <city>san francisco</city>\n" +" <state>ca</state>\n" +" </address>\n" +" <account>\n" +" <id>1234</id>\n" +" <balance>1000</balance>\n" +" </account>\n" +" <account>\n" +" <id>6789</id>\n" +" <balance>2000</balance>\n" +" </account>\n" +" <account>\n" +" <id>4567</id>\n" +" <balance>3000</balance>\n" +" </account>\n" +"</customer>\n"; const bool isName(const value& token) { |