コード例 #1
0
 protected void setUp() throws Exception {
   super.setUp();
   user = UserTestUtils.createUserInOrgOne();
   UserTestUtils.addMonitoring(user.getOrg());
   probeSuite = ProbeSuiteTest.createTestProbeSuite(user);
   probe =
       (TemplateProbe)
           MonitoringFactoryTest.createTestProbe(user, MonitoringConstants.getProbeTypeSuite());
   probeSuite.addProbe(probe, user);
   MonitoringFactory.saveProbeSuite(probeSuite, user);
   probeSuite = (ProbeSuite) reload(probeSuite);
   action = new ProbeSuiteProbeEditAction();
 }
コード例 #2
0
 public void setUp() throws Exception {
   super.setUp();
   action = new TestAction();
 }
コード例 #3
0
 public void setUp() throws Exception {
   super.setUp();
   lip = new LoggingInvocationProcessor();
   writer = new StringWriter();
 }