8889909192939495969798
super(testName); } public void testTrim() throws Exception { TextScript script = new TextScript( " foo " ); script.trimWhitespace(); assertEquals( "foo", script.getText() ); script = new TextScript( " foo " ); script.trimWhitespace();
93949596979899100101102103
script.trimWhitespace(); assertEquals( "foo", script.getText() ); script = new TextScript( " foo " ); script.trimWhitespace(); assertEquals( "foo", script.getText() ); script = new TextScript( "foo" ); script.trimWhitespace();
9899100101102103104105106107108
script.trimWhitespace(); assertEquals( "foo", script.getText() ); script = new TextScript( "foo" ); script.trimWhitespace(); assertEquals( "foo", script.getText() ); } public void testTrimStart() throws Exception {
274275276277278279280281282283284
} } } else if ( body instanceof TextScript ) { TextScript textScript = (TextScript) body; textScript.trimWhitespace(); } this.hasTrimmed = true; } }
286287288289290291292293294295296
} } } else if ( body instanceof TextScript ) { TextScript textScript = (TextScript) body; textScript.trimWhitespace(); } } } /**
5354555657585960616263
ScriptBlock block = (ScriptBlock) body; block.trimWhitespace(); } else if ( body instanceof TextScript ) { TextScript textScript = (TextScript) body; textScript.trimWhitespace(); } } } }
4243444546474849505152
4748495051525354555657
5253545556575859606162