Package com.rupertjones.globalcron.server

Examples of com.rupertjones.globalcron.server.HostBuilder.build()


public class HostDAOTest extends AbstractSpringTest {

    @Test
    public void test_create() {
        HostBuilder builder = new HostBuilder();
        Host host = builder.build();

        hostDAO.upsert(host);

        Host result = hostDAO.findByHostName("hostname");
View Full Code Here


    private Host host = null;

    @Before
    public void before() {
        HostBuilder hostBuilder = new HostBuilder();
        host = hostBuilder.build();
        hostDAO.upsert(host);
    }
    @Test
    public void test_create() {
        JobDescriptorBuilder builder = new JobDescriptorBuilder();
View Full Code Here

    @Test
    public void test_date_in_used_timezones() {

        HostBuilder hostBuilder = new HostBuilder();
        hostBuilder.withHostname("foo");
        Host host = hostBuilder.build();
        hostDAO.upsert(host);

        JobDescriptor job = new JobDescriptor();
        job.setCron("* * * * ?");
        job.setTimezone("America/New_York");
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.