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.ExcludePatternCommand
static class
TestTracingProcessor.ExcludeTagsCommand
static class
TestTracingProcessor.IncludePatternCommand
static class
TestTracingProcessor.IncludeTagsCommand
static class
TestTracingProcessor.PatternCommand
static class
TestTracingProcessor.TagCompleter
static class
TestTracingProcessor.TagsCommand
static class
TestTracingProcessor.TestCommand
(package private) static class
TestTracingProcessor.TestSelectionCommand
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)
ServiceStartBuildItem
searchForTags(CombinedIndexBuildItem combinedIndexBuildItem, LaunchModeBuildItem launchModeBuildItem)
(package private) TestListenerBuildItem
sharedStateListener()
(package private) void
startTesting(TestConfig config, LiveReloadBuildItem liveReloadBuildItem, LaunchModeBuildItem launchModeBuildItem, List<TestListenerBuildItem> testListenerBuildItems)
(package private) ConsoleCommandBuildItem
testConsoleCommand(CombinedIndexBuildItem indexBuildItem)
-
-
-
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)
-
searchForTags
public ServiceStartBuildItem searchForTags(CombinedIndexBuildItem combinedIndexBuildItem, LaunchModeBuildItem launchModeBuildItem)
-
isAppClass
public boolean isAppClass(String theClassName)
-
testConsoleCommand
ConsoleCommandBuildItem testConsoleCommand(CombinedIndexBuildItem indexBuildItem)
-
-