[CVS snippet] indenting to see if it works from CVS

Aslak Hellesoy <rinkrank-yCVjj/[email protected]> Tue, 18 May 2004 17:06:37 -0500
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
Commit in snippet/src/test/snippet on MAIN

SnippetReaderTest.java +15 -15 1.5 -> 1.6

SnippetTest.java +1 -1 1.1 -> 1.2

+16 -16

2 modified files

indenting to see if it works from CVS

----------

snippet /src /test /snippet

SnippetReaderTest.java 1.5 -> 1.6

diff -u -r1.5 -r1.6
--- SnippetReaderTest.java 26 Feb 2004 01:03:37 -0000 1.5
+++ SnippetReaderTest.java 18 May 2004 22:06:37 -0000 1.6
@@ -46,23 +46,23 @@

assertTrue(snippetReader.isDemarcator("id", "START", "// start \t snippet \t id"));
}

- public void testTheObviousIsTrue() {
- // START SNIPPET: mySnippetId
- assertEquals(2, 1 + 1);
- // END SNIPPET: mySnippetId
- }

+ public void testTheObviousIsTrue() {
+ // START SNIPPET: mySnippetId
+ assertEquals(2, 1 + 1);
+ // END SNIPPET: mySnippetId
+ }

- public void testTheObviousIsTrueSeveralTimes() {
- // START SNIPPET: multilineSnippet
- assertEquals(2, 1 + 1);
- if(true) {
- // START SNIPPET: nestedSnippet
- assertEquals(6, 2 * 3);
- // START SNIPPET: nestedSnippet

+ public void testTheObviousIsTrueSeveralTimes() {
+ // START SNIPPET: multilineSnippet
+ assertEquals(2, 1 + 1);
+ if(true) {
+ // START SNIPPET: nestedSnippet
+ assertEquals(6, 2 * 3);
+ // START SNIPPET: nestedSnippet
+ }
+ assertEquals(2, 4 / 2);
+ // END SNIPPET: multilineSnippet

}

- assertEquals(2, 4 / 2);
- // END SNIPPET: multilineSnippet
- }

public void testCanReadSnippetsWithSeveralLinesAndNestedSnippet() throws IOException {
SnippetReader snippetReader = new SnippetReader(getResource("SnippetReaderTest.java"));

----------

snippet /src /test /snippet

SnippetTest.java 1.1 -> 1.2

diff -u -r1.1 -r1.2
--- SnippetTest.java 26 Feb 2004 01:03:37 -0000 1.1
+++ SnippetTest.java 18 May 2004 22:06:37 -0000 1.2
@@ -8,7 +8,7 @@

/**
* @author Aslak Helles&oslash;y

- * @version $Revision: 1.1 $

+ * @version $Revision: 1.2 $

*/
public class SnippetTest extends TestCase {
private final Snippet nineLines = new Snippet(Arrays.asList(new String[]{