Package org.eclipse.epsilon.egl.output
Class LineCounterTests.CurrentLineNumberTests
- java.lang.Object
-
- org.eclipse.epsilon.egl.output.LineCounterTests.CurrentLineNumberTests
-
- Direct Known Subclasses:
LineCounterTests.WhenNewlineIsSingleChar
,LineCounterTests.WhenNewlineIsTwoChars
- Enclosing class:
- LineCounterTests
public abstract static class LineCounterTests.CurrentLineNumberTests extends Object
-
-
Constructor Summary
Constructors Constructor Description CurrentLineNumberTests()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected int
getCurrentLineNumberFor(String text)
protected abstract String
getNewLine()
void
shouldBeDeterminedFromText()
void
shouldBeOneForBlankText()
void
shouldCountANewLineAtTheEndOfTheText()
void
shouldCountBlankLinesAtTheEndOfTheText()
void
shouldCountBlankLinesInTheMiddleOfText()
-
-
-
Method Detail
-
getNewLine
protected abstract String getNewLine()
-
shouldBeDeterminedFromText
public void shouldBeDeterminedFromText()
-
shouldBeOneForBlankText
public void shouldBeOneForBlankText()
-
shouldCountANewLineAtTheEndOfTheText
public void shouldCountANewLineAtTheEndOfTheText()
-
shouldCountBlankLinesAtTheEndOfTheText
public void shouldCountBlankLinesAtTheEndOfTheText()
-
shouldCountBlankLinesInTheMiddleOfText
public void shouldCountBlankLinesInTheMiddleOfText()
-
getCurrentLineNumberFor
protected int getCurrentLineNumberFor(String text)
-
-