ingwarsw / arquillian-suite-extension

Arquillian extension that will force single deployment for all tests
Apache License 2.0
67 stars 20 forks source link

Error java.lang.NoSuchMethodError: org.jboss.arquillian.test.spi.TestResult.setEnd(J) #29

Open rjesususa opened 9 years ago

rjesususa commented 9 years ago

I get the follow error when I try run my test: java.lang.NoSuchMethodError: org.jboss.arquillian.test.spi.TestResult.setEnd(J)

My class base is:

@RunWith(Arquillian.class)
@RunAsClient
@ArquillianSuiteDeployment
public abstract class BaseAPITest<T> {...}

my pom is:

        <!-- Arquiilian/tomcat-embedded-7 Dependencies -->
        <dependency>
                    <groupId>org.eu.ingwar.tools</groupId>
                    <artifactId>arquillian-suite-extension</artifactId>
                    <version>1.1.1</version>
                  <scope>test</scope>
                </dependency>
        <dependency>
            <groupId>org.jboss.arquillian.junit</groupId>
            <artifactId>arquillian-junit-container</artifactId>
            <version>1.1.5.Final</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.arquillian.protocol</groupId>
            <artifactId>arquillian-protocol-servlet</artifactId>
            <version>1.1.7.Final</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.arquillian.container</groupId>
            <artifactId>arquillian-tomcat-embedded-7</artifactId>
            <version>1.0.0.CR5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-core</artifactId>
            <version>7.0.29</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.tomcat</groupId>
            <artifactId>tomcat-jasper</artifactId>
            <version>7.0.29</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-logging-juli</artifactId>
            <version>7.0.29</version>
            <scope>provided</scope>
        </dependency>
        <!-- END -->
rjesususa commented 9 years ago

The test passed, but not have the method result.setEnd(System.currentTimeMillis());

rjesususa commented 9 years ago

this method reside in: org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter

A Handler for executing the Test Method.

public void execute(@Observes LocalExecutionEvent event)