Examples of ERQSJobDescription4Test


Examples of er.quartzscheduler.foundation.ERQSJobDescription4Test

{

  @Ignore
  private ERQSJobDescription4Test initialize()
  {
    ERQSJobDescription4Test jd = new ERQSJobDescription4Test();
    jd.setClassPath("er.quartzscheduler.foundation.ERQSJob4Test");
    return jd;
  }
View Full Code Here

Examples of er.quartzscheduler.foundation.ERQSJobDescription4Test

  }

  @Test
  public void testCreateJobInstance() throws COJobInstanciationException
  {
    ERQSJobDescription4Test jd = initialize();
    ERQSJob4Test aJob = (ERQSJob4Test) ERQSUtilities.createJobInstance(jd);
    assertNotNull(aJob);
  }
View Full Code Here

Examples of er.quartzscheduler.foundation.ERQSJobDescription4Test

  }

  @Test
  public void testWillDelete() throws COJobInstanciationException
  {
    ERQSJobDescription4Test jd = initialize();
    ERQSJob4Test aJob = (ERQSJob4Test) ERQSUtilities.willDelete(jd);
    assertTrue(aJob.isWillDeleteMethodCalled);
  }
View Full Code Here

Examples of er.quartzscheduler.foundation.ERQSJobDescription4Test

  }

  @Test
  public void testWillSave() throws COJobInstanciationException
  {
    ERQSJobDescription4Test jd = initialize();
    ERQSJob4Test aJob = (ERQSJob4Test) ERQSUtilities.willSave(jd);
    assertTrue(aJob.isWillSaveMethodCalled);
  }
View Full Code Here

Examples of er.quartzscheduler.foundation.ERQSJobDescription4Test

  }

  @Test
  public void testValidateForDelete() throws COJobInstanciationException
  {
    ERQSJobDescription4Test jd = initialize();
    ERQSJob4Test aJob = (ERQSJob4Test) ERQSUtilities.validateForDelete(jd);
    assertTrue(aJob.isValidateForDeleteMethodCalled);
  }
View Full Code Here

Examples of er.quartzscheduler.foundation.ERQSJobDescription4Test

  }

  @Test
  public void testValidateForSave() throws COJobInstanciationException
  {
    ERQSJobDescription4Test jd = initialize();
    ERQSJob4Test aJob = (ERQSJob4Test) ERQSUtilities.validateForSave(jd);
    assertTrue(aJob.isValidateForSaveMethodCalled);
  }
View Full Code Here

Examples of er.quartzscheduler.foundation.ERQSJobDescription4Test

  }

  @Test (expected=COJobInstanciationException.class)
  public void testWrongClass() throws COJobInstanciationException
  {
    ERQSJobDescription4Test jd = initialize();
    jd.setClassPath("NoClass");
    ERQSJob4Test aJob = null;
    aJob = (ERQSJob4Test) ERQSUtilities.validateForSave(jd);
    assertTrue(aJob.isValidateForSaveMethodCalled);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.