diff options
Diffstat (limited to 'jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/IndentingPrintWriterTests.java')
-rw-r--r-- | jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/IndentingPrintWriterTests.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/IndentingPrintWriterTests.java b/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/IndentingPrintWriterTests.java index c96213249b..b971895bc1 100644 --- a/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/IndentingPrintWriterTests.java +++ b/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/IndentingPrintWriterTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2005, 2007 Oracle. All rights reserved. + * Copyright (c) 2005, 2008 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0, which accompanies this distribution * and is available at http://www.eclipse.org/legal/epl-v10.html. @@ -41,31 +41,31 @@ public class IndentingPrintWriterTests extends TestCase { } public void testIndent() { - assertEquals("wrong indent level", 0, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 0, this.ipw1.indentLevel()); this.ipw1.indent(); - assertEquals("wrong indent level", 1, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 1, this.ipw1.indentLevel()); } public void testUndent() { - assertEquals("wrong indent level", 0, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 0, this.ipw1.indentLevel()); this.ipw1.indent(); - assertEquals("wrong indent level", 1, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 1, this.ipw1.indentLevel()); this.ipw1.undent(); - assertEquals("wrong indent level", 0, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 0, this.ipw1.indentLevel()); } public void testIncrementIndentLevel() { - assertEquals("wrong indent level", 0, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 0, this.ipw1.indentLevel()); this.ipw1.incrementIndentLevel(); - assertEquals("wrong indent level", 1, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 1, this.ipw1.indentLevel()); } public void testDecrementIndentLevel() { - assertEquals("wrong indent level", 0, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 0, this.ipw1.indentLevel()); this.ipw1.incrementIndentLevel(); - assertEquals("wrong indent level", 1, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 1, this.ipw1.indentLevel()); this.ipw1.decrementIndentLevel(); - assertEquals("wrong indent level", 0, this.ipw1.getIndentLevel()); + assertEquals("wrong indent level", 0, this.ipw1.indentLevel()); } public void testPrintTab() { |