Package at.kugel.tool.buildtray.status

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


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

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("krimi_6.7.0_CS #5", res.projectName);
      assertEquals(Status.FAILED, res.status);
      assertEquals("2009-01-27T15:30:51Z", res.date);
View Full Code Here


      IntegrationTestConfig mockConf1 = createFirstConfig();
      mockConf1.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_failed.xml"));
      IntegrationTestConfig mockConf2 = createSecondConfig();
      mockConf2.setServerlUrl4Test(getTestDataUrl("hudson-1.2_success.xml"));

      IntegrationStatusResult res = refreshWith(new Config[] { mockConf1, mockConf2 });

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

      IntegrationTestConfig mockConf1 = createFirstConfig();
      mockConf1.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_success.xml"));
      IntegrationTestConfig mockConf2 = createSecondConfig();
      mockConf2.setServerlUrl4Test(getTestDataUrl("hudson-1.2_failed.xml"));

      IntegrationStatusResult res = refreshWith(new Config[] { mockConf1, mockConf2 });

      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

      IntegrationTestConfig mockConf1 = createFirstConfig();
      mockConf1.setServerlUrl4Test(getTestDataUrl("Jenkins-1.4_success.xml"));
      IntegrationTestConfig mockConf2 = createSecondConfig();
      mockConf2.setServerlUrl4Test(getTestDataUrl("hudson-1.2_success.xml"));

      IntegrationStatusResult res = refreshWith(new Config[] { mockConf1, mockConf2 });

      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("cruisecontrol-2.3_failed.html"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("KrimiCEE", res.projectName);
      assertEquals(Status.FAILED, res.status);
      assertEquals("20/01/2009 13:44:52", res.date);
View Full Code Here

   @Test
   public void testSuccess() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("cruisecontrol-2.3_success.html"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("KrimiCEE_PROD_5_2_SLSP", res.projectName);
      assertEquals(Status.OK, res.status);
      assertEquals("16/01/2009 22:29:06", res.date);
View Full Code Here

   @Test
   public void testFailedNewest() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("anthill-1.7_newest_failed.html"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("CVS_Fails_D", res.projectName);
      assertEquals(Status.FAILED, res.status);
      assertEquals("17.01.09 00:04", res.date);
View Full Code Here

   @Test
   public void testFailedOlder() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("anthill-1.7_older_failed.html"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("CVS_Fails_D", res.projectName);
      assertEquals(Status.FAILED, res.status);
      assertEquals("17.01.09 00:04", res.date);
View Full Code Here

   @Test
   public void testSuccess() {
      IntegrationTestConfig mockConf = createConfig();
      mockConf.setServerlUrl4Test(getTestDataUrl("anthil-1.7_success.html"));

      IntegrationStatusResult res = refreshWith(mockConf);

      assertNull(res.error);
      assertEquals("PVCS_Test", res.projectName);
      assertEquals(Status.OK, res.status);
      assertEquals("17.01.09 01:04", 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.