@@ -16,7 +16,7 @@ suite("RowViewModelFactory.buildRow() tests", () => {
1616 _separatorPadCalculator = Mock . ofType < PadCalculator > ( ) ;
1717 } ) ;
1818
19- test ( "padCalculator called for all columns with expected values" , ( ) => {
19+ test ( "PadCalculator called for all columns with expected values" , ( ) => {
2020 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
2121 const row = 1 ;
2222 const table = threeColumnTable ( ) ;
@@ -32,7 +32,7 @@ suite("RowViewModelFactory.buildRow() tests", () => {
3232 _contentPadCalculator . verify ( _ => _ . getRightPadding ( table , row , 2 ) , Times . once ( ) ) ;
3333 } ) ;
3434
35- test ( "value returned from padCalculator.getLeftPadding is used to start the row value" , ( ) => {
35+ test ( "Value returned from padCalculator.getLeftPadding is used to start the row value" , ( ) => {
3636 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
3737 const row = 1 ;
3838 const table = threeColumnTable ( ) ;
@@ -43,7 +43,7 @@ suite("RowViewModelFactory.buildRow() tests", () => {
4343 assert . equal ( rowViewModel . getValueAt ( 1 ) . startsWith ( "test" ) , true ) ;
4444 } ) ;
4545
46- test ( "value returned from padCalculator.getRightPadding is used to end the row value" , ( ) => {
46+ test ( "Value returned from padCalculator.getRightPadding is used to end the row value" , ( ) => {
4747 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
4848 const row = 1 ;
4949 const table = threeColumnTable ( ) ;
@@ -54,7 +54,7 @@ suite("RowViewModelFactory.buildRow() tests", () => {
5454 assert . equal ( rowViewModel . getValueAt ( 1 ) . endsWith ( "test" ) , true ) ;
5555 } ) ;
5656
57- test ( "Empty middle column uses left and right pad and also the pad char " , ( ) => {
57+ test ( "Empty middle column uses only left and right pad to create the value " , ( ) => {
5858 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
5959 const row = 1 ;
6060 const table = threeColumnTableWithEmptyMiddleColumn ( ) ;
@@ -65,7 +65,7 @@ suite("RowViewModelFactory.buildRow() tests", () => {
6565 const rowViewModel = sut . buildRow ( row , table ) ;
6666
6767 assertExt . isNotNull ( rowViewModel ) ;
68- assert . equal ( rowViewModel . getValueAt ( 1 ) , "LxR " ) ;
68+ assert . equal ( rowViewModel . getValueAt ( 1 ) , "LR " ) ;
6969 } ) ;
7070} ) ;
7171
@@ -78,7 +78,7 @@ suite("RowViewModelFactory.buildSeparator() tests", () => {
7878 _separatorPadCalculator = Mock . ofType < PadCalculator > ( ) ;
7979 } ) ;
8080
81- test ( "padCalculator called for all columns with expected values" , ( ) => {
81+ test ( "PadCalculator called for all columns with expected values" , ( ) => {
8282 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
8383 const table = threeColumnTable ( ) ;
8484
@@ -93,7 +93,7 @@ suite("RowViewModelFactory.buildSeparator() tests", () => {
9393 _separatorPadCalculator . verify ( _ => _ . getRightPadding ( It . isAny ( ) , It . isAny ( ) , 2 ) , Times . once ( ) ) ;
9494 } ) ;
9595
96- test ( "value returned from padCalculator.getLeftPadding is used to start the row value" , ( ) => {
96+ test ( "Value returned from padCalculator.getLeftPadding is used to start the row value" , ( ) => {
9797 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
9898 const table = threeColumnTable ( ) ;
9999 _separatorPadCalculator . setup ( _ => _ . getLeftPadding ( It . isAny ( ) , It . isAny ( ) , 0 ) ) . returns ( ( ) => "test" ) ;
@@ -103,7 +103,7 @@ suite("RowViewModelFactory.buildSeparator() tests", () => {
103103 assert . equal ( separatorRowViewModel . getValueAt ( 0 ) . startsWith ( "test" ) , true ) ;
104104 } ) ;
105105
106- test ( "value returned from padCalculator.getRightPadding is used to end the row value" , ( ) => {
106+ test ( "Value returned from padCalculator.getRightPadding is used to end the row value" , ( ) => {
107107 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
108108 const table = threeColumnTable ( ) ;
109109 _separatorPadCalculator . setup ( _ => _ . getRightPadding ( It . isAny ( ) , It . isAny ( ) , It . isAny ( ) ) ) . returns ( ( ) => "test" ) ;
@@ -113,7 +113,7 @@ suite("RowViewModelFactory.buildSeparator() tests", () => {
113113 assert . equal ( separatorRowViewModel . getValueAt ( 1 ) . endsWith ( "test" ) , true ) ;
114114 } ) ;
115115
116- test ( "Empty middle column does not use pad char " , ( ) => {
116+ test ( "Empty middle column uses only left and right pad to create the value " , ( ) => {
117117 const sut = createFactory ( _contentPadCalculator . object , _separatorPadCalculator . object ) ;
118118 const table = threeColumnTableWithEmptyMiddleColumn ( ) ;
119119 _separatorPadCalculator . setup ( _ => _ . getLeftPadding ( It . isAny ( ) , It . isAny ( ) , It . isAny ( ) ) ) . returns ( ( ) => "Left" ) ;
0 commit comments