commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r608642 - /commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
Date Thu, 03 Jan 2008 21:44:35 GMT
Author: rahul
Date: Thu Jan  3 13:44:34 2008
New Revision: 608642

URL: http://svn.apache.org/viewvc?rev=608642&view=rev
Log:
Fix broken test (should have been part of r608635).

Modified:
    commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java

Modified: commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java?rev=608642&r1=608641&r2=608642&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
(original)
+++ commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/io/SCXMLSerializerTest.java
Thu Jan  3 13:44:34 2008
@@ -55,13 +55,12 @@
     
     public void testSerializeSCXMLNoStates() {
         SCXML scxml = new SCXML();
-        scxml.setXmlns("namespace");
         scxml.setVersion("version1");
         scxml.setInitialstate("off");
         scxml.addChild(new State());
         
         String assertValue = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
-            + "<scxml xmlns=\"namespace\" version=\"version1\" "
+            + "<scxml xmlns=\"http://www.w3.org/2005/07/scxml\" version=\"version1\" "
             + "initialstate=\"off\">\n <state>\n </state>\n</scxml>\n";
         
         assertEquals(assertValue, SCXMLSerializer.serialize(scxml));



Mime
View raw message