Package org.netmelody.cieye.core.domain

Examples of org.netmelody.cieye.core.domain.TargetDetail.status()


            allowing(contact).makeJsonRestCall("jobUrl/api/json", JobDetail.class); will(returnValue(new JobDetail()));
        }});
       
        TargetDetail target = jobLab.analyseJob(job);
       
        assertThat(target.status(), Matchers.is(Status.GREEN));
    }

    @Test public void
    includesLastStartTimeForGreenBuild() {
        final JobDetail jobDetail = new JobDetail();
View Full Code Here


            allowing(contact).makeJsonRestCall("jobUrl/api/json", JobDetail.class); will(returnValue(jobDetail));
        }});
       
        TargetDetail target = jobLab.analyseJob(job);
       
        assertThat(target.status(), Matchers.is(Status.BROKEN));
    }
   
    private Job defaultJob() {
        final Job job = new Job();
        job.name = "jobName";
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.