Skip navigation links
A C D E F G I J L M N O R S T U V W 

A

AnyOrderLineSegmentedOutputVerifier - Class in org.gradle.exemplar.test.verifier
 
AnyOrderLineSegmentedOutputVerifier() - Constructor for class org.gradle.exemplar.test.verifier.AnyOrderLineSegmentedOutputVerifier
 
apply(Statement, Description) - Method in class org.gradle.exemplar.test.rule.Sample
 
AsciidoctorAnnotationOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
AsciidoctorAnnotationOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.AsciidoctorAnnotationOutputNormalizer
 

C

CliCommandExecutor - Class in org.gradle.exemplar.executor
 
CliCommandExecutor(File) - Constructor for class org.gradle.exemplar.executor.CliCommandExecutor
 
CommandExecutionResult - Class in org.gradle.exemplar.executor
 
CommandExecutionResult(Command, int, String, ExecutionMetadata) - Constructor for class org.gradle.exemplar.executor.CommandExecutionResult
 
CommandExecutor - Class in org.gradle.exemplar.executor
 
CommandExecutor() - Constructor for class org.gradle.exemplar.executor.CommandExecutor
 
CommandExecutor(File) - Constructor for class org.gradle.exemplar.executor.CommandExecutor
 
CommandExecutor.RunHandle - Class in org.gradle.exemplar.executor
 

D

DAEMON_WILL_BE_STOPPED_MESSAGE - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
DEPRECATED_GRADLE_FEATURES_MESSAGE - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
describeChild(Sample) - Method in class org.gradle.exemplar.test.runner.SamplesRunner
 
DOWNLOAD_MESSAGE_PREFIX - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
DOWNLOADING_WRAPPER_MESSAGE_PREFIX - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
DOWNLOADING_WRAPPER_PROGRESS_PREFIX - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 

E

EmbeddedSamplesRunner - Class in org.gradle.exemplar.test.runner
 
EmbeddedSamplesRunner(Class<?>) - Constructor for class org.gradle.exemplar.test.runner.EmbeddedSamplesRunner
Constructs a new ParentRunner that will run @TestClass
execute(Command, ExecutionMetadata) - Method in class org.gradle.exemplar.executor.CommandExecutor
 
ExecutionMetadata - Class in org.gradle.exemplar.executor
 
ExecutionMetadata(File, Map<String, String>) - Constructor for class org.gradle.exemplar.executor.ExecutionMetadata
 
EXPIRING_DAEMON_MESSAGE - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 

F

FileSeparatorOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
FileSeparatorOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.FileSeparatorOutputNormalizer
 
from(String) - Static method in class org.gradle.exemplar.test.rule.Sample
 
from(Sample.SourceSampleDirSupplier) - Static method in class org.gradle.exemplar.test.rule.Sample
 

G

GENERATING_JAR_PREFIX - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
getChildren() - Method in class org.gradle.exemplar.test.runner.EmbeddedSamplesRunner
 
getChildren() - Method in class org.gradle.exemplar.test.runner.GradleEmbeddedSamplesRunner
 
getChildren() - Method in class org.gradle.exemplar.test.runner.SamplesRunner
 
getCommand() - Method in class org.gradle.exemplar.executor.CommandExecutionResult
 
getDir() - Method in class org.gradle.exemplar.test.rule.Sample
 
getDir(String) - Method in interface org.gradle.exemplar.test.rule.Sample.SourceSampleDirSupplier
 
getDir() - Method in interface org.gradle.exemplar.test.rule.Sample.TargetBaseDirSupplier
 
getExecutionMetadata() - Method in class org.gradle.exemplar.executor.CommandExecutionResult
 
getExitCode() - Method in class org.gradle.exemplar.executor.CommandExecutionResult
 
getImplicitSamplesRootDir() - Method in class org.gradle.exemplar.test.runner.GradleSamplesRunner
 
getImplicitSamplesRootDir() - Method in class org.gradle.exemplar.test.runner.SamplesRunner
Allows a subclass to provide an implicit samples root dir when one is not explicitly defined using SamplesRoot.
getOutput() - Method in class org.gradle.exemplar.executor.CommandExecutionResult
 
getSamplesRootDir() - Method in class org.gradle.exemplar.test.runner.SamplesRunner
 
getSystemProperties() - Method in class org.gradle.exemplar.executor.ExecutionMetadata
 
getTempSampleProjectDir() - Method in class org.gradle.exemplar.executor.ExecutionMetadata
 
GradleEmbeddedSamplesRunner - Class in org.gradle.exemplar.test.runner
A custom implementation of SamplesRunner that uses the Gradle Tooling API to execute sample builds.
GradleEmbeddedSamplesRunner(Class<?>) - Constructor for class org.gradle.exemplar.test.runner.GradleEmbeddedSamplesRunner
GradleOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
GradleOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
GradleRunnerCommandExecutor - Class in org.gradle.exemplar.executor
 
GradleRunnerCommandExecutor(File, File, boolean) - Constructor for class org.gradle.exemplar.executor.GradleRunnerCommandExecutor
 
GradleSamplesRunner - Class in org.gradle.exemplar.test.runner
A custom implementation of SamplesRunner that uses the Gradle Tooling API to execute sample builds.
GradleSamplesRunner(Class<?>) - Constructor for class org.gradle.exemplar.test.runner.GradleSamplesRunner

I

INCUBATING_FEATURE_SUFFIX - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
into(TemporaryFolder) - Method in class org.gradle.exemplar.test.rule.Sample
into(Sample.TargetBaseDirSupplier) - Method in class org.gradle.exemplar.test.rule.Sample
Copy the samples into a folder returned by the supplied Sample.TargetBaseDirSupplier.
intoTemporaryFolder() - Method in class org.gradle.exemplar.test.rule.Sample
Copy the samples into a temporary folder that is attempted to be deleted afterwards.
intoTemporaryFolder(File) - Method in class org.gradle.exemplar.test.rule.Sample
Copy the samples into a temporary folder that is attempted to be deleted afterwards.
isIgnored(Sample) - Method in class org.gradle.exemplar.test.runner.GradleSamplesRunner
Gradle samples tests are ignored on Java 7 and below.

J

JAVA_7_DEPRECATION_MESSAGE - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
JavaObjectSerializationOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
JavaObjectSerializationOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.JavaObjectSerializationOutputNormalizer
 

L

LeadingNewLineOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
LeadingNewLineOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.LeadingNewLineOutputNormalizer
 

M

modify(Sample) - Method in interface org.gradle.exemplar.test.runner.SampleModifier
 

N

normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.AsciidoctorAnnotationOutputNormalizer
 
normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.FileSeparatorOutputNormalizer
 
normalize(String, ExecutionMetadata, char) - Method in class org.gradle.exemplar.test.normalizer.FileSeparatorOutputNormalizer
 
normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.JavaObjectSerializationOutputNormalizer
 
normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.LeadingNewLineOutputNormalizer
 
normalize(String, ExecutionMetadata) - Method in interface org.gradle.exemplar.test.normalizer.OutputNormalizer
Remove and update output that is unrelated the the sample output.
normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.StripTrailingOutputNormalizer
 
normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.TrailingNewLineOutputNormalizer
 
normalize(String, ExecutionMetadata) - Method in class org.gradle.exemplar.test.normalizer.WorkingDirectoryOutputNormalizer
 

O

org.gradle.exemplar.executor - package org.gradle.exemplar.executor
 
org.gradle.exemplar.test.normalizer - package org.gradle.exemplar.test.normalizer
 
org.gradle.exemplar.test.rule - package org.gradle.exemplar.test.rule
 
org.gradle.exemplar.test.runner - package org.gradle.exemplar.test.runner
 
org.gradle.exemplar.test.verifier - package org.gradle.exemplar.test.verifier
 
OutputNormalizer - Interface in org.gradle.exemplar.test.normalizer
 
OutputVerifier - Interface in org.gradle.exemplar.test.verifier
 

R

run(String, List<String>, List<String>, OutputStream) - Method in class org.gradle.exemplar.executor.CliCommandExecutor
 
run(String, List<String>, List<String>, OutputStream) - Method in class org.gradle.exemplar.executor.CommandExecutor
 
run(ProcessBuilder, OutputStream) - Method in class org.gradle.exemplar.executor.CommandExecutor
 
run(ProcessBuilder, OutputStream, OutputStream, InputStream) - Method in class org.gradle.exemplar.executor.CommandExecutor
 
run(String, List<String>, List<String>, OutputStream) - Method in class org.gradle.exemplar.executor.GradleRunnerCommandExecutor
 
runChild(Sample, RunNotifier) - Method in class org.gradle.exemplar.test.runner.SamplesRunner
 

S

SAFE_SYSTEM_PROPERTIES - Static variable in class org.gradle.exemplar.test.runner.SamplesRunner
 
Sample - Class in org.gradle.exemplar.test.rule
A JUnit rule which copies a sample into the test directory before the test executes.
Sample.SourceSampleDirSupplier - Interface in org.gradle.exemplar.test.rule
 
Sample.TargetBaseDirSupplier - Interface in org.gradle.exemplar.test.rule
Supplier for the base directory into which samples are copied.
SampleModifier - Interface in org.gradle.exemplar.test.runner
Modifies a given Sample before it is processed.
SampleModifiers - Annotation Type in org.gradle.exemplar.test.runner
Specifies execution update classes to invoke before the execution.
SamplesOutputNormalizers - Annotation Type in org.gradle.exemplar.test.runner
Specifies output normalizer classes to invoke on a given subset of samples.
SamplesRoot - Annotation Type in org.gradle.exemplar.test.runner
Specifies the directory to find samples, be they external or embedded.
SamplesRunner - Class in org.gradle.exemplar.test.runner
A JUnit test runner that verifies all samples discovered in the directory specified by the SamplesRoot annotation.
SamplesRunner(Class<?>) - Constructor for class org.gradle.exemplar.test.runner.SamplesRunner
Constructs a new ParentRunner that will run @TestClass
selectExecutor(ExecutionMetadata, File, Command) - Method in class org.gradle.exemplar.test.runner.GradleSamplesRunner
 
selectExecutor(ExecutionMetadata, File, Command) - Method in class org.gradle.exemplar.test.runner.SamplesRunner
Allows a subclass to provide a custom CommandExecutor.
STARTING_A_GRADLE_DAEMON_MESSAGE - Static variable in class org.gradle.exemplar.test.normalizer.GradleOutputNormalizer
 
StrictOrderLineSegmentedOutputVerifier - Class in org.gradle.exemplar.test.verifier
 
StrictOrderLineSegmentedOutputVerifier() - Constructor for class org.gradle.exemplar.test.verifier.StrictOrderLineSegmentedOutputVerifier
 
StripTrailingOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
StripTrailingOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.StripTrailingOutputNormalizer
 

T

tempGradleUserHomeDir - Variable in class org.gradle.exemplar.test.runner.GradleSamplesRunner
 
tmpDir - Variable in class org.gradle.exemplar.test.runner.SamplesRunner
 
TrailingNewLineOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
TrailingNewLineOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.TrailingNewLineOutputNormalizer
 
transform(IN) - Method in interface org.gradle.exemplar.test.runner.Transformer
Transforms the given object, and returns the transformed value.
Transformer<OUT,IN> - Interface in org.gradle.exemplar.test.runner
A Transformer transforms objects of type.

U

UsesSample - Annotation Type in org.gradle.exemplar.test.rule
Specifies the relative path of the sample to use for a test.

V

verify(String, String, boolean) - Method in class org.gradle.exemplar.test.verifier.AnyOrderLineSegmentedOutputVerifier
 
verify(String, String, boolean) - Method in interface org.gradle.exemplar.test.verifier.OutputVerifier
 
verify(String, String, boolean) - Method in class org.gradle.exemplar.test.verifier.StrictOrderLineSegmentedOutputVerifier
 

W

waitForSuccess() - Method in class org.gradle.exemplar.executor.CommandExecutor.RunHandle
 
withDefaultSample(String) - Method in class org.gradle.exemplar.test.rule.Sample
 
WorkingDirectoryOutputNormalizer - Class in org.gradle.exemplar.test.normalizer
 
WorkingDirectoryOutputNormalizer() - Constructor for class org.gradle.exemplar.test.normalizer.WorkingDirectoryOutputNormalizer
 
A C D E F G I J L M N O R S T U V W 
Skip navigation links