Package at.kugel.tool.buildtray.config

Examples of at.kugel.tool.buildtray.config.IntegrationTestConfig


      return createConfig("./config/Jenkins-1.4.properties");
   }

   @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);
View Full Code Here


      assertEquals(Status.FAILED, res.status);
   }

   @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);
View Full Code Here

      assertEquals(Status.FAILED, res.status);
   }

   @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);
View Full Code Here

      assertNull(res.date);
   }

   @Test
   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);
View Full Code Here

      return (Config) Proxy.newProxyInstance(getClass().getClassLoader(), new Class[] { Config.class }, handler);
   }

   @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);
View Full Code Here

      return createConfig("./config/Hudson-1.2.properties");
   }

   @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);
View Full Code Here

      assertEquals("2009-03-03T06:18:53Z", res.date);
   }

   @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);
View Full Code Here

      assertEquals("2009-03-09T12:11:12Z", res.date);
   }

   @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);
View Full Code Here

      return createConfig("./config/Hudson-1.2-no_busy.properties");
   }

   @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);
View Full Code Here

      assertEquals("2009-03-03T06:18:53Z", res.date);
   }

   @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);
View Full Code Here

TOP

Related Classes of at.kugel.tool.buildtray.config.IntegrationTestConfig

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.