You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by wo...@apache.org on 2016/08/02 22:45:45 UTC
[3/3] commons-scxml git commit: SCXML-251: Correct indentation in test
SCXML-251: Correct indentation in test
Project: http://git-wip-us.apache.org/repos/asf/commons-scxml/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-scxml/commit/8847e59f
Tree: http://git-wip-us.apache.org/repos/asf/commons-scxml/tree/8847e59f
Diff: http://git-wip-us.apache.org/repos/asf/commons-scxml/diff/8847e59f
Branch: refs/heads/master
Commit: 8847e59f64c43651db01a5c066c844940ddbc475
Parents: de1d783
Author: Tobias Lippert <li...@fastmail.com>
Authored: Mon Aug 1 18:27:54 2016 +0200
Committer: Tobias Lippert <li...@fastmail.com>
Committed: Mon Aug 1 18:27:54 2016 +0200
----------------------------------------------------------------------
.../apache/commons/scxml2/io/SCXMLReaderTest.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-scxml/blob/8847e59f/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java b/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java
index 62812c6..feb7da3 100644
--- a/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java
+++ b/src/test/java/org/apache/commons/scxml2/io/SCXMLReaderTest.java
@@ -315,14 +315,14 @@ public class SCXMLReaderTest {
@Test
public void exprAttributeOfDataIsParsed() throws Exception {
- SCXML scxml = SCXMLTestHelper.parse("org/apache/commons/scxml2/io/data-with-expr.xml");
- Assert.assertNotNull(scxml);
- Assert.assertNotNull(scxml.getDatamodel());
- Assert.assertNotNull(scxml.getDatamodel().getData());
- Assert.assertEquals("Exactly one data element parsed.", 1, scxml.getDatamodel().getData().size());
- Data data = scxml.getDatamodel().getData().get(0);
- Assert.assertNotNull(data);
- Assert.assertEquals("'an expression'", data.getExpr());
+ SCXML scxml = SCXMLTestHelper.parse("org/apache/commons/scxml2/io/data-with-expr.xml");
+ Assert.assertNotNull(scxml);
+ Assert.assertNotNull(scxml.getDatamodel());
+ Assert.assertNotNull(scxml.getDatamodel().getData());
+ Assert.assertEquals("Exactly one data element parsed.", 1, scxml.getDatamodel().getData().size());
+ Data data = scxml.getDatamodel().getData().get(0);
+ Assert.assertNotNull(data);
+ Assert.assertEquals("'an expression'", data.getExpr());
}
private String serialize(final SCXML scxml) throws IOException, XMLStreamException {