mockit.internal.state.TestRun.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmockit-coverage Show documentation
Show all versions of jmockit-coverage Show documentation
JMockit Coverage is a code coverage tool with several metrics (line, path, data) capable of generating HTML
reports. It is designed with ease of use in mind, avoiding the need for complex configuration.
Instead, smart (but overridable) defaults are employed, such as the selection of which classes to consider for
coverage, and where to find sources files for report generation.
???? 2 ?
# y z
y { |
y } ~
y ?
? ? ?
? ? ? ? ? ?
?
? ?
?
?
? ?
?
?
?
? ?
? ?
y ?
! y ? InnerClasses INSTANCE Lmockit/internal/state/TestRun; noMockingCount Ljava/lang/ThreadLocal; Signature ,Ljava/lang/ThreadLocal; testId I currentTestClass Ljava/lang/Class; Ljava/lang/Class<*>; RuntimeInvisibleAnnotations $Lorg/jetbrains/annotations/Nullable; currentTestInstance Ljava/lang/Object; sharedFieldTypeRedefinitions CLmockit/internal/expectations/mocking/SharedFieldTypeRedefinitions; mockFixture #Lmockit/internal/state/MockFixture; #Lorg/jetbrains/annotations/NotNull;
executingTest %Lmockit/internal/state/ExecutingTest; mockClasses #Lmockit/internal/state/MockClasses; ()V Code LineNumberTable LocalVariableTable this isInsideNoMockingZone ()Z
StackMapTable getCurrentTestClass ()Ljava/lang/Class; ()Ljava/lang/Class<*>; getCurrentTestInstance ()Ljava/lang/Object; getTestId ()I getSharedFieldTypeRedefinitions E()Lmockit/internal/expectations/mocking/SharedFieldTypeRedefinitions; %()Lmockit/internal/state/MockFixture; getExecutingTest '()Lmockit/internal/state/ExecutingTest; getRecordAndReplayForRunningTest 9()Lmockit/internal/expectations/RecordAndReplayExecution; (getOrCreateRecordAndReplayForRunningTest getMockClasses %()Lmockit/internal/state/MockClasses;
getMockStates &()Lmockit/internal/mockups/MockStates; setCurrentTestClass (Ljava/lang/Class;)V testClass LocalVariableTypeTable (Ljava/lang/Class<*>;)V $RuntimeInvisibleParameterAnnotations prepareForNextTest enterNoMockingZone exitNoMockingZone setRunningIndividualTest (Ljava/lang/Object;)V testInstance setSharedFieldTypeRedefinitions F(Lmockit/internal/expectations/mocking/SharedFieldTypeRedefinitions;)V
redefinitions finishCurrentTestExecution (Z)V clearSharedMocks Z updateMockState ((Ljava/lang/String;Ljava/lang/Object;I)Z mockUpClassDesc Ljava/lang/String; mockedInstance mockStateIndex mockUp ? getMock 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
SourceFile TestRun.java = > !mockit/internal/state/MockFixture 6 7 #mockit/internal/state/ExecutingTest 9 : !mockit/internal/state/MockClasses ; < ' ( ? ? J java/lang/Integer ? L % & - . 2 3 + , 4 5 ? S ? S ? ? ? ? ? ? ? c ? i t u W X ? l ? t ? mockit/internal/state/TestRun mockit/internal/state/TestRun$1 java/lang/Object java/lang/ThreadLocal get intValue getCurrentRecordAndReplay getOrCreateRecordAndReplay
mockStates $Lmockit/internal/mockups/MockStates; setRecordAndReplay :(Lmockit/internal/expectations/RecordAndReplayExecution;)V valueOf (I)Ljava/lang/Integer; set finishExecution "mockit/internal/mockups/MockStates (Ljava/lang/Object;I)Z 5(Ljava/lang/String;Ljava/lang/Object;)Lmockit/MockUp; 1 # % &