Permalink
Browse files

indentation correction

  • Loading branch information...
1 parent 9e0701f commit 9d4822d1065f9ff3e102058fbfb917818173bcf3 @denlab committed May 1, 2011
Showing with 24 additions and 25 deletions.
  1. +24 −25 README.org
View
49 README.org
@@ -19,57 +19,56 @@
*** Maven setup
-***** TODO Add Maven repository to your =pom.xml=
+***** Add Maven repository to your =pom.xml=
#+BEGIN_SRC xml
<repositories>
-<repository>
-<id>fest-assert-goodies-repo</id>
-<url>https://denlab-maven-repository.googlecode.com/svn/repository</url>
-</repository>
+ <repository>
+ <id>fest-assert-goodies-repo</id>
+ <url>https://denlab-maven-repository.googlecode.com/svn/repository</url>
+ </repository>
</repositories>
#+END_SRC
-***** TODO Add dependency to your =pom.xml=
+***** Add dependency to your =pom.xml=
#+BEGIN_SRC xml
<dependencies>
-<dependency>
-<groupId>org</groupId>
-<artifactId>fest-assert-goodies</artifactId>
-<version>1.0.0</version>
-<scope>test</scope>
-</dependency>
+ <dependency>
+ <groupId>org</groupId>
+ <artifactId>fest-assert-goodies</artifactId>
+ <version>1.0.0</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
#+END_SRC
** Using
-***** =XmlEqual=
+***** XmlEqual
#+BEGIN_SRC java
- @Test
- public void testXmlEqual() {
- assertThat(new XmlEqual("<a><b x='1'></b></a>")).isXmlEqual(
- " <a><b x='2'></b></a>");
- }
+@Test
+public void testXmlEqual() {
+ assertThat(new XmlEqual("<a><b x='1'></b></a>")).isXmlEqual(
+ " <a><b x='2'></b></a>");
+}
#+END_SRC
- XML formating is ignored.
- Diff view in Eclipse :
[[http://img811.imageshack.us/img811/2521/comparisonxml.png]]
-***** =DeepEqual=
+***** DeepEqual
#+BEGIN_SRC java
- @Test
- public void testIsDeepEqual() throws Exception {
- OuterClass actual = new OuterClass(new InnerClass("inner_"), "outer");
- OuterClass expected = new OuterClass(new InnerClass("inner"), "outer");
-
+@Test
+public void testIsDeepEqual() throws Exception {
+ OuterClass actual = new OuterClass(new InnerClass("inner_"), "outer");
+ OuterClass expected = new OuterClass(new InnerClass("inner"), "outer");
assertThat(new DeepEqual(actual)).isDeepEqual(expected);
- }
+}
#+END_SRC
- Compared objects don't need to override =equals=.

0 comments on commit 9d4822d

Please sign in to comment.