组织ID: |
javax.cache |
项目ID: |
cache-tests |
版本: |
1.1.1 |
最后修改时间: |
2019-06-26 19:50:44 |
包类型: |
jar |
标题: |
Cache Tests |
描述: |
Tests, that form part of the Technology Compatibility Kit for
JSR107. You should be able to test an implementation by:
1. Adding the dependency
2. Configuring the JUnit test fixtures
|
大小: |
75.63KB |
|
Maven引入代码: |
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-tests</artifactId>
<version>1.1.1</version>
</dependency>
|
Gradle引入代码: |
javax.cache:cache-tests:1.1.1
|
下载Jar包: |
|
POM文件内容: |
<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>
<groupId>javax.cache</groupId>
<artifactId>tck-parent</artifactId>
<version>1.1.1</version>
</parent>
<groupId>javax.cache</groupId>
<artifactId>cache-tests</artifactId>
<packaging>jar</packaging>
<name>Cache Tests</name>
<url>https://github.com/jsr107/jsr107tck</url>
<description>Tests, that form part of the Technology Compatibility Kit for
JSR107. You should be able to test an implementation by:
1. Adding the dependency
2. Configuring the JUnit test fixtures
</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
</dependency>
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
<version>${jcache.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<!--The rest come from the parent pom-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<goals>
<!--Reference this using a "tests" classifier-->
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<!--Required for CloudBees CI. Local builds will still work if you mvn
install jsr107api first -->
<repository>
<id>cloudbees-snapshots</id>
<url>https://repository-jsr107.forge.cloudbees.com/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jmockit-svn</id>
<url>http://jmockit.googlecode.com/svn/maven-repo</url>
<releases>
<checksumPolicy>ignore</checksumPolicy>
</releases>
</repository>
<repository>
<id>jboss.maven.repo</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/
</url>
</repository>
</repositories>
<profiles>
<!-- Turn this on to run TCK tests from the IDE. Without it no caching provider will be found. -->
<profile>
<id>run_tests_from_ide</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>${implementation-groupId}</groupId>
<artifactId>${implementation-artifactId}</artifactId>
<version>${implementation-version}</version>
</dependency>
<!--<dependency>-->
<!--<groupId>javax.cache</groupId>-->
<!--<!–<artifactId>spring-annotations-test-harness</artifactId>–>-->
<!--<!–<artifactId>guice-annotations-test-harness</artifactId>–>-->
<!--<artifactId>cdi-weld-annotations-test-harness</artifactId>-->
<!--<version>${project.parent.version}</version>-->
<!--</dependency>-->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<configuration>
<systemPropertyVariables>
<java.net.preferIPv4Stack>${java.net.preferIPv4Stack}</java.net.preferIPv4Stack>
<javax.cache.CacheManager>${CacheManagerImpl}</javax.cache.CacheManager>
<javax.cache.Cache>${CacheImpl}</javax.cache.Cache>
<javax.cache.Cache.Entry>${CacheEntryImpl}</javax.cache.Cache.Entry>
<javax.cache.annotation.CacheInvocationContext>$
{CacheInvocationContextImpl}
</javax.cache.annotation.CacheInvocationContext>
</systemPropertyVariables>
<excludes>
<exclude>**/annotation/*Test.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
org.jsr107.tck.integration.BatchPartialSuccessRecordingClassWriter.class
org.jsr107.tck.integration.CacheWriterServer.class
org.jsr107.tck.integration.CacheLoaderClient.class
org.jsr107.tck.integration.CacheLoaderClient$LoadOperation.class
org.jsr107.tck.integration.CacheWriterClient.class
org.jsr107.tck.integration.CacheLoaderClient$LoadAllOperation.class
org.jsr107.tck.processor.ThrowExceptionEntryProcessor.class
org.jsr107.tck.processor.MultiArgumentHandlingEntryProcessor.class
org.jsr107.tck.support.Client.class
org.jsr107.tck.event.CacheEntryListenerClient$OnCacheEntryEventHandler.class
domain.Dachshund.class
domain.BorderCollie.class
org.jsr107.tck.integration.CacheWriterServer$DeleteAllOperationHandler.class
org.jsr107.tck.integration.CacheWriterClient$WriteOperation.class
org.jsr107.tck.integration.CacheLoaderServer.class
org.jsr107.tck.processor.ReplaceEntryProcessor.class
org.jsr107.tck.support.CacheClient.class
org.jsr107.tck.expiry.ExpiryPolicyServer.class
manager.CacheNameOnEachMethodBlogManagerImpl.class
domain.Collie.class
META-INF/maven/javax.cache/cache-tests/pom.properties
org.jsr107.tck.integration.CacheLoaderServer$LoadAllOperationHandler.class
org.jsr107.tck.integration.RecordingCacheLoader.class
org.jsr107.tck.processor.SetEntryWithComputedValueProcessor.class
org.jsr107.tck.support.Server.class
META-INF/beans.xml
domain.Hound.class
org.jsr107.tck.integration.FailingCacheWriter.class
org.jsr107.tck.integration.CacheWriterClient$DeleteAllOperation.class
org.jsr107.tck.integration.FailingCacheLoader.class
org.jsr107.tck.integration.CacheWriterClient$DeleteOperation.class
org.jsr107.tck.processor.AssertNotPresentEntryProcessor.class
org.jsr107.tck.support.Server$2.class
org.jsr107.tck.expiry.ExpiryPolicyServer$GetExpiryOperationHandler.class
org.jsr107.tck.event.CacheEntryListenerServer$1.class
org.jsr107.tck.event.TestCacheEntryEvent.class
javax.cache.annotation.BeanProvider.class
domain.Beagle.class
org.jsr107.tck.integration.CacheWriterServer$WriteAllOperationHandler.class
org.jsr107.tck.processor.CombineEntryProcessor.class
org.jsr107.tck.support.Server$1.class
org.jsr107.tck.expiry.ExpiryPolicyServer$1.class
org.jsr107.tck.expiry.ExpiryPolicyServer$EntryOperation.class
org.jsr107.tck.expiry.ExpiryPolicyClient.class
org.jsr107.tck.expiry.ExpiryPolicyClient$GetExpiryOperation.class
org.jsr107.tck.event.CacheEntryListenerClient.class
manager.BlogManager.class
domain.Chihuahua.class
domain.Papillon.class
META-INF/maven/javax.cache/cache-tests/pom.xml
org.jsr107.tck.integration.RecordingCacheWriter.class
org.jsr107.tck.integration.CacheWriterServer$DeleteOperationHandler.class
org.jsr107.tck.integration.CacheWriterServer$WriteOperationHandler.class
org.jsr107.tck.processor.GetEntryProcessor.class
org.jsr107.tck.processor.RemoveEntryProcessor.class
org.jsr107.tck.support.Operation.class
org.jsr107.tck.event.CacheEntryListenerServer$CacheEntryEventOperationHandler.class
manager.UsingDefaultCacheNameBlogManagerImpl.class
domain.Identifier.class
#内容未全部加载,请点击展开加载全部代码(NowJava.com)
|
依赖Jar: |
junit-4.11.jar
/junit/junit/4.11
查看junit所有版本文件
cache-api-${jcache.version}.jar
/javax.cache/cache-api/${jcache.version}
查看cache-api所有版本文件
hamcrest-all-1.3.jar
/org.hamcrest/hamcrest-all/1.3
查看hamcrest-all所有版本文件
|