Class TestTracingProcessor
- java.lang.Object
-
- io.quarkus.deployment.dev.testing.TestTracingProcessor
-
public class TestTracingProcessor extends Object
processor that instruments test and application classes to trace the code path that is in use during a test run.This allows for fine grained running of tests when a file changes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestTracingProcessor.TracingClassVisitor
-
Field Summary
Fields Modifier and Type Field Description (package private) static boolean
testingSetup
-
Constructor Summary
Constructors Constructor Description TestTracingProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) LogCleanupFilterBuildItem
handle()
void
instrumentTestClasses(CombinedIndexBuildItem combinedIndexBuildItem, LaunchModeBuildItem launchModeBuildItem, BuildProducer<BytecodeTransformerBuildItem> transformerProducer)
boolean
isAppClass(String theClassName)
(package private) TestListenerBuildItem
sharedStateListener()
(package private) void
startTesting(TestConfig config, LiveReloadBuildItem liveReloadBuildItem, LaunchModeBuildItem launchModeBuildItem, List<TestListenerBuildItem> testListenerBuildItems)
-
-
-
Method Detail
-
handle
LogCleanupFilterBuildItem handle()
-
sharedStateListener
TestListenerBuildItem sharedStateListener()
-
startTesting
void startTesting(TestConfig config, LiveReloadBuildItem liveReloadBuildItem, LaunchModeBuildItem launchModeBuildItem, List<TestListenerBuildItem> testListenerBuildItems)
-
instrumentTestClasses
public void instrumentTestClasses(CombinedIndexBuildItem combinedIndexBuildItem, LaunchModeBuildItem launchModeBuildItem, BuildProducer<BytecodeTransformerBuildItem> transformerProducer)
-
isAppClass
public boolean isAppClass(String theClassName)
-
-