Download test-utils-4.3.0.jar file

Introduction

You can download test-utils-4.3.0.jar in this page.

License

Open Source

Type List

test-utils-4.3.0.jar file has the following types.

META-INF/MANIFEST.MF
META-INF/maven/org.rhq/test-utils/pom.properties
META-INF/maven/org.rhq/test-utils/pom.xml
javac.sh
org.codehaus.plexus.compiler.javac.JavacCompiler9187614951074637756arguments
org.rhq.test.AssertUtils.class
org.rhq.test.CollectionEqualsChecker.class
org.rhq.test.CollectionMatchesChecker.class
org.rhq.test.DuplicatePackagesDetector.class
org.rhq.test.EqualsResult.class
org.rhq.test.JMockTest.class
org.rhq.test.JPAUtils.class
org.rhq.test.MatchResult.class
org.rhq.test.ObjectCollectionSerializer.class
org.rhq.test.PropertyMatchException.class
org.rhq.test.PropertyMatcher.class
org.rhq.test.TokenReplacingProperties.class
org.rhq.test.TokenReplacingReader.class
org.rhq.test.TransactionCallback.class
org.rhq.test.TransactionCallbackWithContext.class
org.rhq.test.jmock.PropertyMatcher.class
org.rhq.test.testng.StdoutReporter.class
unitils.properties

Pom

test-utils-4.3.0.pom file content.

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>rhq-modules-parent</artifactId>
    <groupId>org.rhq</groupId>
    <version>4.3.0</version>
  </parent>

  <artifactId>test-utils</artifactId>
  <name>RHQ Test Utils</name>

  <dependencies>
    <dependency>
      <groupId>javax.persistence</groupId>
      <artifactId>persistence-api</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>javax.transaction</groupId>
      <artifactId>jta</artifactId>
      <version>1.1</version>
    </dependency>
    <dependency>
      <groupId>org.testng</groupId>
      <artifactId>testng</artifactId>
      <version>${testng.version}</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.jmock</groupId>
      <artifactId>jmock</artifactId>
      <version>2.5.1</version>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>1.8.2</version>
    </dependency>
    <dependency>
      <groupId>net.sourceforge.cobertura</groupId>
      <artifactId>cobertura</artifactId>
      <version>${cobertura.version}</version>
      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.unitils</groupId>
       <artifactId>unitils-dbunit</artifactId>
       <version>3.1</version>
     </dependency>
     <dependency>
       <groupId>org.unitils</groupId>
       <artifactId>unitils-orm</artifactId>
       <version>3.1</version>
     </dependency>
     <dependency>
       <groupId>org.unitils</groupId>
       <artifactId>unitils-dbmaintainer</artifactId>
       <version>3.1</version>
       <exclusions>
         <!--
           Unitils depends on hibernate 3.2.5 and we are using a
           an earlier 3.2 build. The 3.2.5 version causes some
           dependencies clashes around asm which gets pulled
           in by cobertura. We are excluding hibernate here to
           avoid the dependency clash and to force unitils into
           using the version that we use else where.

           jsanda 10/20/2010
         -->
         <exclusion>
           <groupId>org.hibernate</groupId>
           <artifactId>hibernate</artifactId>
         </exclusion>
       </exclusions>
     </dependency>
     <dependency>
       <groupId>org.unitils</groupId>
       <artifactId>unitils-easymock</artifactId>
       <version>3.1</version>
     </dependency>
     <dependency>
       <groupId>org.unitils</groupId>
       <artifactId>unitils-testng</artifactId>
       <version>3.1</version>       
       <exclusions>
           <exclusion>
              <groupId>org.testng</groupId>
              <artifactId>testng</artifactId>
           </exclusion>
       </exclusions>
     </dependency>
     <dependency>
       <groupId>org.unitils</groupId>
       <artifactId>unitils-inject</artifactId>
       <version>3.1</version>
     </dependency>
     <dependency>
       <groupId>org.unitils</groupId>
       <artifactId>unitils-mock</artifactId>
       <version>3.1</version>
     </dependency>
  </dependencies>

  <profiles>
     <profile>
      <id>cobertura</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
        <build>
         <plugins>
           <plugin>
             <artifactId>maven-antrun-plugin</artifactId>
              <dependencies>
               <dependency>
                 <groupId>net.sourceforge.cobertura</groupId>
                 <artifactId>cobertura</artifactId>
                 <version>${cobertura.version}</version>
               </dependency>
             </dependencies>
             <executions>
              <execution>
               <id>cobertura-instrument</id>
               <phase>pre-integration-test</phase>
                 <configuration>
                   <tasks>
                   <!-- prepare directory structure for cobertura-->
                   <mkdir dir="target/cobertura" />
                   <mkdir dir="target/cobertura/backup" />
                   <!-- backup all classes so that we can instrument the original classes-->
                   <copy toDir="target/cobertura/backup" verbose="true" overwrite="true">
                      <fileset dir="target/classes">
                         <include name="**/*.class" />
                      </fileset>
                   </copy>
                   <!-- create a properties file and save there location of cobertura data file-->
                   <touch file="target/classes/cobertura.properties" />
                   <echo file="target/classes/cobertura.properties">net.sourceforge.cobertura.datafile=${project.build.directory}/cobertura/cobertura.ser</echo>
                   <taskdef classpathref="maven.plugin.classpath" resource="tasks.properties" />
                   <!-- instrument all classes in target/classes directory -->
                   <cobertura-instrument datafile="${project.build.directory}/cobertura/cobertura.ser" todir="${project.build.directory}/classes">
                     <fileset dir="${project.build.directory}/classes">
                        <include name="**/*.class" />
                      </fileset>
                    </cobertura-instrument>
                   </tasks>
                 </configuration>
               <goals>
                 <goal>run</goal>
               </goals>
              </execution>
              <execution>
               <id>cobertura-report</id>
               <phase>post-integration-test</phase>
                 <configuration>
                   <tasks>
                     <taskdef classpathref="maven.plugin.classpath" resource="tasks.properties" />
                     <!-- prepare directory structure for cobertura-->
                     <mkdir dir="target/cobertura" />
                     <mkdir dir="target/site/cobertura" />
                     <!-- restore classes from backup folder to classes folder -->
                     <copy toDir="target/classes" verbose="true" overwrite="true">
                      <fileset dir="target/cobertura/backup">
                         <include name="**/*.class" />
                      </fileset>
                     </copy>
                     <!-- delete backup folder-->
                     <delete dir="target/cobertura/backup" />
                     <!-- create a code coverage report -->
                     <cobertura-report format="html" datafile="${project.build.directory}/cobertura/cobertura.ser" destdir="${project.build.directory}/site/cobertura">
                      <fileset dir="${basedir}/src/main/java">
                         <include name="**/*.java" />
                      </fileset>
                     </cobertura-report>
                     <!-- delete cobertura.properties file -->
                     <delete file="target/classes/cobertura.properties" />
                   </tasks>
                 </configuration>
               <goals>
                 <goal>run</goal>
               </goals>
               </execution>
            </executions>
           </plugin>
          </plugins>
       </build>
     </profile>
  </profiles>

</project>

POM Entry

<dependency>
   <groupId>org.rhq</groupId>
   <artifactId>test-utils</artifactId>
   <version>4.3.0</version>
</dependency>

Download

If you think the following test-utils-4.3.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download test-utils-4.3.0.jar file




PreviousNext

Related