Package at.kugel.tool.buildtray.status

Examples of at.kugel.tool.buildtray.status.IntegrationStatusResult


   @Test
   public void testFailedNewest() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_failed.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("commons-solr-copy #2", res.projectName);
      assertEquals(Status.FAILED, res.status);
   }
View Full Code Here


   @Test
   public void testUnstable() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_unstable.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("collaboration #2", res.projectName);
      assertEquals(Status.FAILED, res.status);
   }
View Full Code Here

   @Test
   public void testBusy() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_busy.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("clients-bbc-searchplus #7", res.projectName);
      assertEquals(Status.BUSY, res.status);
      assertNull(res.date);
View Full Code Here

   public void testBusySkipped() {
      IntegrationTestConfig serverMockConf = createConfig();
      serverMockConf.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_busy.xml"));
      Config mockConfig = decorateCheckBusy(serverMockConf, CheckBusy.SKIP);

      IntegrationStatusResult res = refreshWith(mockConfig);

      assertNull(res.error);
      assertNull(res.projectName);
      assertNull(res.status);
      assertNull(res.date);
View Full Code Here

   @Test
   public void testSuccess() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_success.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("clients-bbc-iplayer #4", res.projectName);
      assertEquals(Status.OK, res.status);
      assertEquals("2011-05-01T18:11:17Z", res.date);
View Full Code Here

   @Test
   public void testFailedNewest() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("hudson-1.2_failed.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("Krimi Trunk ANT-M2 for Bea 10 #9", res.projectName);
      assertEquals(Status.FAILED, res.status);
      assertEquals("2009-03-03T06:18:53Z", res.date);
View Full Code Here

   @Test
   public void testSuccess() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("hudson-1.2_success.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("Krimi Trunk ANT-M2 for Bea 8 #48", res.projectName);
      assertEquals(Status.OK, res.status);
      assertEquals("2009-03-09T12:11:12Z", res.date);
View Full Code Here

   @Test
   public void testBusy() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("hudson-1.2_busy.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("Krimi Trunk ANT-M2 for Bea 10 #9", res.projectName);
      assertEquals(Status.BUSY, res.status);
      assertNull(res.date);
View Full Code Here

   @Test
   public void testFailedNewest() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("hudson-1.2_failed.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("Krimi Trunk ANT-M2 for Bea 10 #9", res.projectName);
      assertEquals(Status.FAILED, res.status);
      assertEquals("2009-03-03T06:18:53Z", res.date);
View Full Code Here

   @Test
   public void testSuccess() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("hudson-1.2_success.xml"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("Krimi Trunk ANT-M2 for Bea 8 #48", res.projectName);
      assertEquals(Status.OK, res.status);
      assertEquals("2009-03-09T12:11:12Z", res.date);
View Full Code Here

TOP

Related Classes of at.kugel.tool.buildtray.status.IntegrationStatusResult

Copyright © 2018 www.massapicom. 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.