Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.5.5-RC1
-
Component/s: None
-
Labels:None
For example we would have a TagLibTestCase base class, or add some dynamic magic to scaffold the equivalent of:
def taglib def output void setUp() { taglib = new MyTagLib() output = new StringWriter(); taglib.out = new PrintWriter(output) } void tearDown() { taglib = null } void assertOutput(value) { assertEquals( value, output.toString()) }