コード例 #1
0
 /**
  * Method setUp.
  *
  * @throws Exception
  */
 protected void setUp() throws Exception {
   try {
     TradeAppLoadConfig.loadAppProperties();
     this.tradestrategy = TradestrategyTest.getTestTradestrategy(symbol);
     TestCase.assertNotNull(this.tradestrategy);
   } catch (Exception e) {
     TestCase.fail("Error on setup " + e.getMessage());
   }
 }
コード例 #2
0
 /**
  * Method tearDown.
  *
  * @throws Exception
  */
 protected void tearDown() throws Exception {
   TradestrategyTest.clearDBData();
 }