Package test.integration.util

Examples of test.integration.util.DependencyMatcher


   @Ignore("Not in default maven repo")
   public void installWAS7RemoteContainer() throws Exception
   {
      installContainer("was-remote-7",
            Arrays.asList(
                  new DependencyMatcher("arquillian-was-remote-7")));
   }
View Full Code Here


   @Ignore("Not in default maven repo")
   public void installWAS8EmbeddedContainer() throws Exception
   {
      installContainer("was-embedded-8",
            Arrays.asList(
                  new DependencyMatcher("arquillian-was-embedded-8")));
   }
View Full Code Here

   @Ignore("Not in default maven repo")
   public void installWAS8RemoteContainer() throws Exception
   {
      installContainer("was-remote-8",
            Arrays.asList(
                  new DependencyMatcher("arquillian-was-remote-8")));
   }
View Full Code Here

   @Test
   public void installTomcat6RemoteContainer() throws Exception
   {
      installContainer("tomcat-remote-6",
            Arrays.asList(
                  new DependencyMatcher("arquillian-tomcat-remote-6")));
   }
View Full Code Here

   @Test
   public void installWeldEEEmbeddedContainer() throws Exception
   {
      installContainer("weld-ee-embedded-1.1",
            Arrays.asList(
                  new DependencyMatcher("arquillian-weld-ee-embedded-1.1")));
   }
View Full Code Here

   @Test
   public void installWeldSEEmbeddedContainer() throws Exception
   {
      installContainer("weld-se-embedded-1",
            Arrays.asList(
                  new DependencyMatcher("arquillian-weld-se-embedded-1")));
   }
View Full Code Here

   @Test
   public void installWeldSEEmbedded1_1Container() throws Exception
   {
      installContainer("weld-se-embedded-1.1",
            Arrays.asList(
                  new DependencyMatcher("arquillian-weld-se-embedded-1.1")));
   }
View Full Code Here

   @Test
   public void installWWeblogicRemoteContainer() throws Exception
   {
      installContainer("wls-remote-10.3",
            Arrays.asList(
                  new DependencyMatcher("arquillian-wls-remote-10.3")));
   }
View Full Code Here

      assertThat(coreFacet.getPOM().getProfiles().size(), is(1));
      Profile profile = coreFacet.getPOM().getProfiles().get(0);

      assertThat(profile.getDependencies(), hasItems(
            new DependencyMatcher("arquillian-jbossas-managed-4.2"),
            new DependencyMatcher("jboss-server-manager"),
            new DependencyMatcher("dom4j"),
            new DependencyMatcher("jbossall-client")));

      assertThat(profile.getBuild().getPlugins().size(), is(2));
      assertThat(profile.getBuild().getPlugins().get(1).getArtifactId(), is("maven-dependency-plugin"));

   }
View Full Code Here

      queueInputLines("", "", "", "", "", "");
      getShell().execute("java new-class --named Bean --package com.test");
      getShell().execute(arquillianSetupCommand);
      getShell().execute("arquillian create-test --class com.test.Bean");

      assertThat(mavenCoreFacet.getPOM().getDependencies(), hasItem(new DependencyMatcher("junit")));
      assertThat(mavenCoreFacet.getPOM().getDependencies(), hasItem(new DependencyMatcher("arquillian-junit-container")));

      final JavaSource<?> testClass = project.getFacet(JavaSourceFacet.class)
                                             .getTestJavaResource("com.test.BeanTest")
                                             .getJavaSource();
      assertTrue("@RunWith custom runner should be used", testClass.getAnnotation(RunWith.class).getClassValue().equals(Arquillian.class));
View Full Code Here

TOP

Related Classes of test.integration.util.DependencyMatcher

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.