组织ID: |
com.googlecode.jmockit |
项目ID: |
jmockit |
版本: |
1.6 |
最后修改时间: |
2018-08-02 11:36:44 |
包类型: |
jar |
标题: |
Main |
描述: |
JMockit is a Java toolkit for developer (unit/integration) testing.
It contains mocking APIs and other tools, supporting both JUnit and TestNG.
The mocking APIs allow all kinds of Java code, without testability restrictions, to be tested
in isolation from selected dependencies.
|
相关URL: |
http://code.google.com/p/jmockit |
大小: |
511.96KB |
|
Maven引入代码: |
<dependency>
<groupId>com.googlecode.jmockit</groupId>
<artifactId>jmockit</artifactId>
<version>1.6</version>
</dependency>
|
Gradle引入代码: |
com.googlecode.jmockit:jmockit:1.6
|
下载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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.jmockit</groupId><artifactId>jmockit</artifactId><version>1.6</version>
<packaging>jar</packaging>
<prerequisites><maven>3.0.4</maven></prerequisites>
<name>Main</name>
<description>
JMockit is a Java toolkit for developer (unit/integration) testing.
It contains mocking APIs and other tools, supporting both JUnit and TestNG.
The mocking APIs allow all kinds of Java code, without testability restrictions, to be tested
in isolation from selected dependencies.
</description>
<url>http://code.google.com/p/jmockit</url>
<licenses>
<license>
<name>MIT LICENSE</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>http://code.google.com/p/jmockit/source/browse/trunk</url>
<connection>scm:http://jmockit.googlecode.com/svn/trunk/ jmockit-read-only</connection>
</scm>
<developers>
<developer><name>Rog茅rio Liesenfeld</name></developer>
</developers>
<inceptionYear>2006</inceptionYear>
<issueManagement><url>http://code.google.com/p/jmockit/issues/list</url></issueManagement>
<mailingLists>
<mailingList>
<name>JMockit Users</name>
<archive>http://groups.google.com/group/jmockit-users</archive>
<post>jmockit-users@googlegroups.com</post>
</mailingList>
</mailingLists>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<outputDirectory>classes</outputDirectory>
<testOutputDirectory>test-classes</testOutputDirectory>
<resources>
<resource>
<directory>.</directory>
<includes><include>META-INF/services/org.testng.ITestNGListener</include></includes>
</resource>
<resource>
<directory>src</directory>
<includes><include>mockit/*.java</include></includes>
</resource>
<resource>
<directory>..</directory>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>test</directory>
<includes><include>**/*.zip</include></includes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId><version>2.5.1</version>
<configuration><source>1.5</source><target>1.5</target></configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId><version>2.4</version>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifestEntries>
<Premain-Class>mockit.internal.startup.Startup</Premain-Class>
<Agent-Class>mockit.internal.startup.Startup</Agent-Class>
<Can-Redefine-Classes>true</Can-Redefine-Classes>
</manifestEntries>
</archive>
<excludes><exclude>Temp.class</exclude></excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId><version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId><version>2.9</version>
<configuration>
<encoding>UTF-8</encoding>
<nodeprecated>true</nodeprecated>
<noindex>true</noindex>
<notree>true</notree>
<nohelp>true</nohelp>
<breakiterator>true</breakiterator>
<use>false</use>
<source>1.5</source>
<windowtitle>JMockit Toolkit API</windowtitle>
<doctitle>JMockit Toolkit API Documentation</doctitle>
<stylesheetfile>${basedir}/../www/javadoc/stylesheet.css</stylesheetfile>
<overview>${basedir}/../www/javadoc/overview.html</overview>
<header><![CDATA[<a href="http://code.google.com/p/jmockit" target="_top"><img src="resources/logo.png">JMockit Home</a>]]></header>
<footer><![CDATA[<a href="http://code.google.com/p/jmockit" target="_top"><img src="resources/logo.png">JMockit Home</a>]]></footer>
<notimestamp>true</notimestamp>
<quiet>true</quiet>
<sourcepath>${basedir}/src</sourcepath>
<subpackages>none</subpackages>
<additionalparam>mockit mockit.integration.logging mockit.integration.testng</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId><version>2.16</version>
<configuration>
<disableXmlReport>true</disableXmlReport>
<testNGArtifactName>none:none</testNGArtifactName>
<excludes>
<exclude>**/*$*</exclude>
<exclude>**/Base*Test.class</exclude>
<exclude>**/JUnit4DecoratorTest.class</exclude>
<exclude>**/testng/*Test.class</exclude>
<exclude>**/MockStateBetweenTestMethodsNGTest.class</exclude>
<exclude>**/mockit/integration/TestedClass.class</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId><version>1.4</version>
<configuration>
<executable>/gnupg/pub/gpg.exe</executable>
<homedir>/gnupg/mykey</homedir>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<goals><goal>sign</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>com.intellij</groupId><artifactId>annotations</artifactId><version>13.0</version>
<optional>true</optional>
<scope>system</scope><systemPath>E:/jmockit/lib/annotations.jar</systemPath>
</dependency>
<dependency>
<groupId>junit</groupId><artifactId>junit</artifactId><version>4.11</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.testng</groupId><artifactId>testng</artifactId><version>6.8.5</version>
<optional>true</optional>
<exclusions>
<exclusion><groupId>junit</groupId><artifactId>junit</artifactId></exclusion>
<exclusion><groupId>org.beanshell</groupId><artifactId>bsh</artifactId></exclusion>
<exclusion><groupId>com.beust</groupId><artifactId>jcommander</artifactId></exclusion>
<exclusion><groupId>org.yaml</groupId><artifactId>snakeyaml</artifactId></exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-logging</groupId><artifactId>commons-logging</artifactId><version>1.1.1</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId><artifactId>slf4j-api</artifactId><version>1.5.8</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>log4j</groupId><artifactId>log4j</artifactId><version>1.2.16</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.inject</groupId><artifactId>javax.inject</artifactId><version>1</version>
<optional>true</optional>
</dependency>
</dependencies>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
META-INF/services/org.testng.ITestNGListener
mockit/Injectable.java
mockit/Mocked.java
mockit/Verifications.java
mockit/Expectations.java
mockit/Invocation.java
mockit/Delegate.java
mockit/NonStrictExpectations.java
mockit/FullVerificationsInOrder.java
mockit/Cascading.java
mockit/Deencapsulation.java
mockit/package-info.java
mockit/UsingMocksAndStubs.java
mockit/FullVerifications.java
mockit/Tested.java
mockit/VerificationsInOrder.java
mockit/Mock.java
mockit/Capturing.java
mockit/Invocations.java
mockit/MockUp.java
mockit.Delegate.class
mockit.internal.expectations.argumentMatching.EqualityMatcher.class
mockit.internal.expectations.argumentMatching.ArgumentMatcher.class
mockit.internal.expectations.argumentMatching.ArgumentMismatch.class
mockit.internal.expectations.argumentMatching.ClassMatcher.class
mockit.internal.expectations.argumentMatching.StringContainmentMatcher.class
mockit.internal.expectations.argumentMatching.SubstringMatcher.class
mockit.internal.expectations.argumentMatching.InequalityMatcher.class
mockit.internal.expectations.argumentMatching.HamcrestAdapter.class
mockit.internal.expectations.argumentMatching.NonNullityMatcher.class
mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher.class
mockit.internal.expectations.argumentMatching.PatternMatcher.class
mockit.internal.expectations.argumentMatching.SamenessMatcher.class
mockit.internal.expectations.argumentMatching.NullityMatcher.class
mockit.internal.expectations.argumentMatching.StringSuffixMatcher.class
mockit.internal.expectations.argumentMatching.StringPrefixMatcher.class
mockit.internal.expectations.argumentMatching.ReflectiveMatcher.class
mockit.internal.expectations.argumentMatching.NumericEqualityMatcher.class
mockit.internal.expectations.TestOnlyPhase.class
mockit.internal.expectations.Phase.class
mockit.internal.expectations.Expectation.class
mockit.internal.expectations.RecordAndReplayExecution.class
mockit.internal.expectations.RecordPhase.class
mockit.internal.expectations.invocation.ExpectedInvocation.class
mockit.internal.expectations.invocation.InvocationConstraints.class
mockit.internal.expectations.invocation.InvocationHandlerResult.class
mockit.internal.expectations.invocation.DynamicInvocationResult.class
mockit.internal.expectations.invocation.InvocationResult$ReturnValueResult.class
mockit.internal.expectations.invocation.InvocationResult$ThrowableResult.class
mockit.internal.expectations.invocation.InvocationResult$DeferredReturnValues.class
mockit.internal.expectations.invocation.InvocationResult$DeferredResults.class
mockit.internal.expectations.invocation.InvocationResult.class
mockit.internal.expectations.invocation.InvocationResults.class
mockit.internal.expectations.invocation.InvocationArguments.class
mockit.internal.expectations.invocation.ExpectationError.class
mockit.internal.expectations.invocation.MockedTypeCascade.class
mockit.internal.expectations.invocation.ArgumentValuesAndMatchers.class
mockit.internal.expectations.invocation.ArgumentValuesAndMatchersWithVarargs$VarargsComparison.class
mockit.internal.expectations.invocation.ArgumentValuesAndMatchersWithVarargs.class
mockit.internal.expectations.invocation.DelegateInvocation.class
mockit.internal.expectations.invocation.DelegatedResult.class
mockit.internal.expectations.invocation.RealImplementationResult.class
mockit.internal.expectations.invocation.ArgumentValuesAndMatchersWithoutVarargs.class
mockit.internal.expectations.mocking.FieldTypeRedefinitions.class
mockit.internal.expectations.mocking.TypeRedefinitions.class
mockit.internal.expectations.mocking.DynamicPartialMocking.class
mockit.internal.expectations.mocking.MockedType.class
mockit.internal.expectations.mocking.CaptureOfNewInstances$Capture.class
mockit.internal.expectations.mocking.CaptureOfNewInstances$1.class
mockit.internal.expectations.mocking.CaptureOfNewInstances.class
mockit.internal.expectations.mocking.ParameterTypeRedefinitions.class
mockit.internal.expectations.mocking.MockingConfiguration$RegexMockFilter.class
mockit.internal.expectations.mocking.MockingConfiguration$1.class
mockit.internal.expectations.mocking.MockingConfiguration.class
mockit.internal.expectations.mocking.CascadingTypeRedefinition.class
mockit.internal.expectations.mocking.InstanceFactory$InterfaceInstanceFactory.class
mockit.internal.expectations.mocking.InstanceFactory$ClassInstanceFactory.class
mockit.internal.expectations.mocking.InstanceFactory$EnumInstanceFactory.class
mockit.internal.expectations.mocking.InstanceFactory.class
mockit.internal.expectations.mocking.BaseTypeRedefinition$MockedClass.class
mockit.internal.expectations.mocking.BaseTypeRedefinition$1.class
mockit.internal.expectations.mocking.BaseTypeRedefinition.class
mockit.internal.expectations.mocking.ExpectationsModifier$DynamicModifier.class
mockit.internal.expectations.mocking.ExpectationsModifier$DynamicConstructorModifier.class
mockit.internal.expectations.mocking.ExpectationsModifier$1.class
mockit.internal.expectations.mocking.ExpectationsModifier.class
mockit.internal.expectations.mocking.MockedTypeModifier.class
mockit.internal.expectations.mocking.TypeRedefinition.class
mockit.internal.expectations.mocking.CaptureOfNewInstancesForFields.class
mockit.internal.expectations.mocking.SharedFieldTypeRedefinitions.class
mockit.internal.expectations.mocking.LocalFieldTypeRedefinitions.class
mockit.internal.expectations.mocking.MockedTypeInfo.class
mockit.internal.expectations.mocking.MockedBridge.class
mockit.internal.expectations.mocking.InterfaceImplementationGenerator$MethodGeneratorForImplementedSuperInterface.class
mockit.internal.expectations.mocking.InterfaceImplementationGenerator.class
mockit.internal.expectations.mocking.SubclassGenerationModifier$BaseMethodModifier.class
mockit.internal.expectations.mocking.SubclassGenerationModifier$MethodModifierForSuperclass.class
mockit.internal.expectations.mocking.SubclassGenerationModifier$MethodModifierForImplementedInterface.class
mockit.internal.expectations.mocking.SubclassGenerationModifier.class
mockit.internal.expectations.PhasedExecutionState.class
mockit.internal.expectations.FailureState.class
mockit.internal.expectations.ReplayPhase.class
mockit.internal.expectations.BaseVerificationPhase.class
mockit.internal.expectations.VerifiedExpectation.class
mockit.internal.expectations.injection.TestedClassInstantiations$TestedField.class
mockit.internal.expectations.injection.TestedClassInstantiations$1.class
mockit.internal.expectations.injection.TestedClassInstantiations$TestedObjectCreation$ConstructorSearch$1.class
mockit.internal.expectations.injection.TestedClassInstantiations$TestedObjectCreation$ConstructorSearch.class
mockit.internal.expectations.injection.TestedClassInstantiations$TestedObjectCreation$ConstructorInjection.class
mockit.internal.expectations.injection.TestedClassInstantiations$TestedObjectCreation.class
mockit.internal.expectations.injection.TestedClassInstantiations$FieldInjection.class
mockit.internal.expectations.injection.TestedClassInstantiations.class
mockit.internal.expectations.injection.ParameterNameExtractor$MethodOrConstructorVisitor.class
mockit.internal.expectations.injection.ParameterNameExtractor$1.class
mockit.internal.expectations.injection.ParameterNameExtractor.class
mockit.internal.expectations.transformation.ExpectationsTransformer$EndOfBlockModifier.class
mockit.internal.expectations.transformation.ExpectationsTransformer$SuperClassAnalyser.class
mockit.internal.expectations.transformation.ExpectationsTransformer$1.class
mockit.internal.expectations.transformation.ExpectationsTransformer.class
mockit.internal.expectations.transformation.InvocationBlockModifier$Capture.class
mockit.internal.expectations.transformation.InvocationBlockModifier.class
mockit.internal.expectations.transformation.ArgumentCapturing.class
mockit.internal.expectations.transformation.ActiveInvocations.class
mockit.internal.expectations.ReturnTypeConversion.class
mockit.internal.expectations.OrderedVerificationPhase.class
mockit.internal.expectations.UnorderedVerificationPhase.class
mockit.internal.expectations.SequenceOfReturnValues.class
mockit.internal.util.TypeDescriptor.class
mockit.internal.util.GeneratedClasses.class
mockit.internal.util.Utilities.class
mockit.internal.util.FieldReflection.class
mockit.internal.util.RealMethod.class
mockit.internal.util.MethodFormatter.class
mockit.internal.util.TypeConversion.class
mockit.internal.util.GenericTypeReflection$GenericSignature.class
mockit.internal.util.GenericTypeReflection.class
mockit.internal.util.ParameterReflection.class
mockit.internal.util.MethodReflection.class
mockit.internal.util.AutoBoxing.class
mockit.internal.util.DefaultValues.class
mockit.internal.util.MockInvocationHandler.class
mockit.internal.util.EmptyProxy$Impl.class
mockit.internal.util.EmptyProxy.class
mockit.internal.util.ClassNaming.class
mockit.internal.util.StackTrace.class
mockit.internal.util.ConstructorReflection.class
mockit.internal.util.ObjectMethods.class
mockit.internal.util.ThrowOfCheckedException.class
mockit.internal.util.ClassLoad.class
mockit.internal.util.VisitInterruptedException.class
mockit.internal.capturing.CaptureTransformer$SuperTypeCollector.class
mockit.internal.capturing.CaptureTransformer$1.class
mockit.internal.capturing.CaptureTransformer.class
mockit.internal.capturing.CaptureOfImplementations.class
mockit.internal.capturing.CapturedType.class
mockit.internal.state.ExecutingTest.class
mockit.internal.state.MockFixture.class
mockit.internal.state.ParameterNames.class
mockit.internal.state.MockClasses.class
mockit.internal.state.MockInstances.class
mockit.internal.state.TestRun$1.class
mockit.internal.state.TestRun.class
mockit.internal.state.SavePoint.class
mockit.internal.state.CachedClassfiles.class
mockit.internal.UnexpectedInvocation.class
mockit.internal.MissingInvocation.class
mockit.internal.BaseClassModifier$1.class
mockit.internal.BaseClassModifier.class
mockit.internal.MockingBridge.class
mockit.internal.mockups.MockedImplementationClass$1.class
mockit.internal.mockups.MockedImplementationClass.class
mockit.internal.mockups.MockMethods$MockMethod.class
mockit.internal.mockups.MockMethods$1.class
mockit.internal.mockups.MockMethods.class
mockit.internal.mockups.MockState$1.class
mockit.internal.mockups.MockState.class
mockit.internal.mockups.MockStates.class
mockit.internal.mockups.MockInvocation.class
mockit.internal.mockups.MockMethodBridge.class
mockit.internal.mockups.InterfaceImplementationGenerator$MethodGeneratorForImplementedSuperInterface.class
mockit.internal.mockups.InterfaceImplementationGenerator.class
mockit.internal.mockups.MockupsModifier$1.class
mockit.internal.mockups.MockupsModifier.class
mockit.internal.mockups.MockMethodCollector$1.class
mockit.internal.mockups.MockMethodCollector$MockAnnotationVisitor.class
mockit.internal.mockups.MockMethodCollector.class
mockit.internal.mockups.MockupBridge.class
mockit.internal.mockups.ClassStubbing.class
mockit.internal.mockups.MockClassSetup.class
mockit.internal.startup.AgentInitialization.class
mockit.internal.startup.JMockitInitialization.class
mockit.internal.startup.StartupConfiguration.class
mockit.internal.startup.JDK6AgentLoader$1.class
mockit.internal.startup.JDK6AgentLoader.class
mockit.internal.startup.Startup$1.class
mockit.internal.startup.Startup.class
mockit.internal.startup.ToolLoader.class
mockit.internal.RedefinitionEngine.class
mockit.internal.SuperConstructorCollector.class
mockit.internal.ImplementationClass$1.class
mockit.internal.ImplementationClass.class
mockit.internal.StubOutModifier.class
mockit.internal.ClassFile$NotFoundException.class
mockit.internal.ClassFile$1.class
mockit.internal.ClassFile.class
mockit.external.asm4.Type.class
mockit.external.asm4.ClassReader.class
mockit.external.asm4.ClassVisitor.class
mockit.external.asm4.ClassWriter.class
mockit.external.asm4.Item.class
mockit.external.asm4.Attribute.class
mockit.external.asm4.MethodVisitor.class
#内容未全部加载,请点击展开加载全部代码(NowJava.com)
|
依赖Jar: |
annotations-13.0.jar
/com.intellij/annotations/13.0
查看annotations所有版本文件
junit-4.11.jar
/junit/junit/4.11
查看junit所有版本文件
testng-6.8.5.jar
/org.testng/testng/6.8.5
查看testng所有版本文件
commons-logging-1.1.1.jar
/commons-logging/commons-logging/1.1.1
查看commons-logging所有版本文件
slf4j-api-1.5.8.jar
/org.slf4j/slf4j-api/1.5.8
查看slf4j-api所有版本文件
log4j-1.2.16.jar
/log4j/log4j/1.2.16
查看log4j所有版本文件
javax.inject-1.jar
/javax.inject/javax.inject/1
查看javax.inject所有版本文件
|