public abstract static class LineCounterTests.CurrentLineNumberTests extends Object
| Constructor and Description |
|---|
LineCounterTests.CurrentLineNumberTests() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCurrentLineNumberFor(String text) |
protected abstract String |
getNewLine() |
void |
shouldBeDeterminedFromText() |
void |
shouldBeOneForBlankText() |
void |
shouldCountANewLineAtTheEndOfTheText() |
void |
shouldCountBlankLinesAtTheEndOfTheText() |
void |
shouldCountBlankLinesInTheMiddleOfText() |
public LineCounterTests.CurrentLineNumberTests()
protected abstract String getNewLine()
public void shouldBeDeterminedFromText()
public void shouldBeOneForBlankText()
public void shouldCountANewLineAtTheEndOfTheText()
public void shouldCountBlankLinesAtTheEndOfTheText()
public void shouldCountBlankLinesInTheMiddleOfText()
protected int getCurrentLineNumberFor(String text)
Copyright © 2016. All rights reserved.