Class ColumnCounterTests.CurrentColumnNumberTests

    • Constructor Detail

      • CurrentColumnNumberTests

        public CurrentColumnNumberTests()
    • Method Detail

      • getNewLine

        protected abstract String getNewLine()
      • shouldBeDeterminedFromText

        public void shouldBeDeterminedFromText()
      • shouldBeOneWhenThereIsNoText

        public void shouldBeOneWhenThereIsNoText()
      • shouldNotIncludeTextOnLinesOtherThanTheLast

        public void shouldNotIncludeTextOnLinesOtherThanTheLast()
                                                         throws Exception
        Throws:
        Exception
      • shouldBeOneWhenThereIsNoTextOnTheCurrentLine

        public void shouldBeOneWhenThereIsNoTextOnTheCurrentLine()
      • shouldBeOneAfterSeveralBlankLines

        public void shouldBeOneAfterSeveralBlankLines()
      • shouldCountNumberOfColumnsInLastLineAfterSeveralBlankLines

        public void shouldCountNumberOfColumnsInLastLineAfterSeveralBlankLines()
      • aTabShouldOccupyOneColumn

        public void aTabShouldOccupyOneColumn()
      • getCurrentColumnNumberFrom

        protected int getCurrentColumnNumberFrom​(String text)