コード例 #1
0
 /**
  * Called by JUnit before each test method. This implementation creates the default datagenerator
  * to test.
  *
  * @throws Exception if an error occurs
  */
 @Override
 protected void setUp() throws Exception {
   m_Generator = getGenerator();
   m_Output = new StringWriter();
   m_Generator.setOutput(new PrintWriter(m_Output));
   m_OptionTester = getOptionTester();
   m_GOETester = getGOETester();
 }