A B C D E F G H I J M N P R S T U V W

A

aber() - Method in class com.tngtech.jgiven.lang.de.Schritte
 
AbstractJGivenConfiguraton - Class in com.tngtech.jgiven.config
 
AbstractJGivenConfiguraton() - Constructor for class com.tngtech.jgiven.config.AbstractJGivenConfiguraton
 
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
accept(ReportModelVisitor) - Method in class com.tngtech.jgiven.report.model.StepModel
 
act(Class<?>) - Method in interface com.tngtech.jgiven.impl.util.ReflectionUtil.ClassAction
 
act(Object, Field) - Method in interface com.tngtech.jgiven.impl.util.ReflectionUtil.FieldAction
 
act(Object, Method) - Method in interface com.tngtech.jgiven.impl.util.ReflectionUtil.MethodAction
 
addArguments(String...) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
addCase(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addIntroWord(String) - Method in class com.tngtech.jgiven.impl.Scenario
 
addIntroWord(String) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
 
addParameterNames(String...) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addScenarioModel(ScenarioModel) - Method in class com.tngtech.jgiven.report.model.ReportModel
 
addStage(Class<T>) - Method in class com.tngtech.jgiven.base.ScenarioTestBase
Add a new stage class to the scenario.
addStage(Class<T>) - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
addStage(Class<T>) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
 
addStep(String, List<Word>, boolean) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
addStep(StepModel) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
addStepMethod(Method, List<Object>) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
addTag(Tag) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
addWords(Word...) - Method in class com.tngtech.jgiven.report.model.StepModel
 
AfterScenario - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed after the whole Scenario has been executed.
AfterStage - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed after a stage has been executed.
allFields() - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
 
AmbiguousResolutionException - Exception in com.tngtech.jgiven.exception
Thrown when a field cannot be uniquely resolved by the name or type
AmbiguousResolutionException(String) - Constructor for exception com.tngtech.jgiven.exception.AmbiguousResolutionException
 
analyze(ReportModel) - Method in class com.tngtech.jgiven.report.impl.CaseArgumentAnalyser
 
analyze(ScenarioModel) - Method in class com.tngtech.jgiven.report.impl.CaseArgumentAnalyser
 
and() - Method in class com.tngtech.jgiven.Stage
 
append(String) - Method in class com.tngtech.jgiven.report.model.Word
 
apply(File) - Method in class com.tngtech.jgiven.report.json.ReportModelFileReader
 
apply(File) - Method in class com.tngtech.jgiven.report.json.ScenarioJsonReader
 
ArgumentFormatter<T> - Interface in com.tngtech.jgiven.format
Interface for defining customer argument formatters.
ArgumentInfo - Class in com.tngtech.jgiven.report.model
 
ArgumentInfo() - Constructor for class com.tngtech.jgiven.report.model.ArgumentInfo
 
arguments - Variable in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
argWord(String) - Static method in class com.tngtech.jgiven.report.model.Word
 
as(String) - Method in class com.tngtech.jgiven.impl.Scenario
Alias for Scenario.startScenario(String)

B

BeforeScenario - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed before the whole Scenario has been executed.
BeforeStage - Annotation Type in com.tngtech.jgiven.annotation
Marks methods to be executed before a stage is executed, i.e.
BooleanFormatter - Class in com.tngtech.jgiven.format
General formatter to format boolean values
BooleanFormatter() - Constructor for class com.tngtech.jgiven.format.BooleanFormatter
 
buildFormattedWords() - Method in class com.tngtech.jgiven.report.model.StepFormatter
 
but() - Method in class com.tngtech.jgiven.Stage
 

C

CanWire - Interface in com.tngtech.jgiven.integration
 
capitalize(String) - Static method in class com.tngtech.jgiven.impl.util.WordUtil
Returns the given text with the first letter in upper case
CaseArgumentAnalyser - Class in com.tngtech.jgiven.report.impl
Analyzes a report model and tries to infer which step method arguments match to which case argument
CaseArgumentAnalyser() - Constructor for class com.tngtech.jgiven.report.impl.CaseArgumentAnalyser
 
caseNr - Variable in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
CasesAsTable - Annotation Type in com.tngtech.jgiven.annotation
Deprecated. since v0.2.2, data tables are the default, so this annotation has no effect anymore
className - Variable in class com.tngtech.jgiven.report.model.ReportModel
Full qualified name of the test class
className - Variable in class com.tngtech.jgiven.report.model.ScenarioModel
 
clearCases() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
close(Closeable...) - Static method in class com.tngtech.jgiven.impl.util.ResourceUtil
 
com.tngtech.jgiven - package com.tngtech.jgiven
 
com.tngtech.jgiven.annotation - package com.tngtech.jgiven.annotation
 
com.tngtech.jgiven.base - package com.tngtech.jgiven.base
 
com.tngtech.jgiven.config - package com.tngtech.jgiven.config
 
com.tngtech.jgiven.exception - package com.tngtech.jgiven.exception
 
com.tngtech.jgiven.format - package com.tngtech.jgiven.format
 
com.tngtech.jgiven.impl - package com.tngtech.jgiven.impl
 
com.tngtech.jgiven.impl.inject - package com.tngtech.jgiven.impl.inject
 
com.tngtech.jgiven.impl.intercept - package com.tngtech.jgiven.impl.intercept
 
com.tngtech.jgiven.impl.util - package com.tngtech.jgiven.impl.util
 
com.tngtech.jgiven.integration - package com.tngtech.jgiven.integration
 
com.tngtech.jgiven.lang.de - package com.tngtech.jgiven.lang.de
 
com.tngtech.jgiven.report.html - package com.tngtech.jgiven.report.html
 
com.tngtech.jgiven.report.impl - package com.tngtech.jgiven.report.impl
 
com.tngtech.jgiven.report.json - package com.tngtech.jgiven.report.json
 
com.tngtech.jgiven.report.model - package com.tngtech.jgiven.report.model
 
com.tngtech.jgiven.report.text - package com.tngtech.jgiven.report.text
 
CommonReportHelper - Class in com.tngtech.jgiven.report.impl
 
CommonReportHelper() - Constructor for class com.tngtech.jgiven.report.impl.CommonReportHelper
 
Config - Class in com.tngtech.jgiven.impl
Helper class to access all system properties to configure JGiven
Config() - Constructor for class com.tngtech.jgiven.impl.Config
 
config() - Static method in class com.tngtech.jgiven.impl.Config
 
ConfigurationUtil - Class in com.tngtech.jgiven.config
 
ConfigurationUtil() - Constructor for class com.tngtech.jgiven.config.ConfigurationUtil
 
configure() - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguraton
 
configure() - Method in class com.tngtech.jgiven.config.DefaultConfiguration
 
configureTag(Class<? extends Annotation>) - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguraton
 
copyFileToTargetDir(String) - Method in class com.tngtech.jgiven.report.html.FrameBasedHtmlReportGenerator
 
create(Class<GIVEN>, Class<WHEN>, Class<THEN>) - Static method in class com.tngtech.jgiven.impl.Scenario
Creates a scenario with 3 different steps classes.
create(Class<STEPS>) - Static method in class com.tngtech.jgiven.impl.Scenario
Creates a scenario with a single steps class.
createNewScenario() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
Creates a new scenario for this test
createScenario() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
createScenario() - Method in class com.tngtech.jgiven.base.SimpleScenarioTestBase
 
currentCaseModel - Variable in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
currentScenarioModel - Variable in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
customCssFile - Variable in class com.tngtech.jgiven.report.html.HtmlReportGenerator
 

D

dann() - Method in class com.tngtech.jgiven.lang.de.Schritte
 
dann() - Method in class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 
DataTablePlainTextScenarioWriter - Class in com.tngtech.jgiven.report.text
 
DataTablePlainTextScenarioWriter(PrintStream, boolean) - Constructor for class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
DataTableScenarioHtmlWriter - Class in com.tngtech.jgiven.report.html
 
DataTableScenarioHtmlWriter(PrintWriter) - Constructor for class com.tngtech.jgiven.report.html.DataTableScenarioHtmlWriter
 
DefaultConfiguration - Class in com.tngtech.jgiven.config
 
DefaultConfiguration() - Constructor for class com.tngtech.jgiven.config.DefaultConfiguration
 
DefaultFormatter<T> - Class in com.tngtech.jgiven.format
A default formatter that merely use String.valueOf(Object), except for arrays where Arrays.deepToString(Object[]) is used.
DefaultFormatter() - Constructor for class com.tngtech.jgiven.format.DefaultFormatter
 
defaultValue(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
Description - Annotation Type in com.tngtech.jgiven.annotation
This annotation can be used to define an alternate description for a step method.
description(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
description - Variable in class com.tngtech.jgiven.report.model.ReportModel
An optional description of the test class
description - Variable in class com.tngtech.jgiven.report.model.ScenarioModel
 
disableMethodExecution() - Method in class com.tngtech.jgiven.impl.intercept.StepMethodInterceptor
 

E

enableMethodHandling() - Method in class com.tngtech.jgiven.impl.intercept.StepMethodInterceptor
 
endsWith(String) - Static method in class com.tngtech.jgiven.impl.util.FilePredicates
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.Tag
 
equals(Object) - Method in class com.tngtech.jgiven.report.model.Word
 
errorMessage - Variable in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
executor - Variable in class com.tngtech.jgiven.impl.ScenarioBase
 
ExpectedScenarioState - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be expected by a scenario stage.
explodeArray(boolean) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 

F

failed(Throwable) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
 
failed - Variable in class com.tngtech.jgiven.report.model.StepModel
 
file - Variable in class com.tngtech.jgiven.report.model.ReportModelFile
 
FilePredicates - Class in com.tngtech.jgiven.impl.util
 
FilePredicates() - Constructor for class com.tngtech.jgiven.impl.util.FilePredicates
 
findMethod(Class<?>, String) - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
 
findMethodTransitively(Class<?>, String) - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
 
finished() - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
finished() - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
Has to be called when the scenario is finished in order to execute after methods
finishReport(ReportModel) - Method in class com.tngtech.jgiven.report.impl.CommonReportHelper
 
forEachField(Object, Class<?>, ReflectionUtil.FieldPredicate, ReflectionUtil.FieldAction) - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
Iterates over all fields of the given class and all its super classes and calls action.act() for the fields that are annotated with the given annotation.
forEachMethod(Object, Class<?>, Class<? extends Annotation>, ReflectionUtil.MethodAction) - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
Iterates over all methods of the given class and all its super classes and calls action.act() for the methods that are annotated with the given annotation.
forEachSuperClass(Class<?>, ReflectionUtil.ClassAction) - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
Iterates over all super classes of the given class (including the class itself) and calls action.act() for these classes.
Format - Annotation Type in com.tngtech.jgiven.annotation
Allows arguments of step methods to be formatted with an ArgumentFormatter
format(T, String...) - Method in interface com.tngtech.jgiven.format.ArgumentFormatter
Format a single argument by taking optional formatter arguments into account
format(Boolean, String...) - Method in class com.tngtech.jgiven.format.BooleanFormatter
 
format(T, String...) - Method in class com.tngtech.jgiven.format.DefaultFormatter
 
format(Boolean, String...) - Method in class com.tngtech.jgiven.format.NotFormatter
 
format(Object, String...) - Method in class com.tngtech.jgiven.format.PrintfFormatter
 
format(T) - Method in class com.tngtech.jgiven.report.model.StepFormatter.Formatting
 
Formatf - Annotation Type in com.tngtech.jgiven.annotation
A special format annotation that uses the formatting known from the String.format method.
FrameBasedHtmlReportGenerator - Class in com.tngtech.jgiven.report.html
 
FrameBasedHtmlReportGenerator() - Constructor for class com.tngtech.jgiven.report.html.FrameBasedHtmlReportGenerator
 
frames - Variable in class com.tngtech.jgiven.report.html.HtmlReportGenerator
 
fromIsTag(IsTag) - Static method in class com.tngtech.jgiven.config.TagConfiguration
 

G

gegeben() - Method in class com.tngtech.jgiven.lang.de.Schritte
 
gegeben() - Method in class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 
generate(File, File) - Method in class com.tngtech.jgiven.report.html.FrameBasedHtmlReportGenerator
 
generate() - Method in class com.tngtech.jgiven.report.html.HtmlReportGenerator
 
generate(File, String, File) - Method in class com.tngtech.jgiven.report.html.SingleFileHtmlReportGenerator
 
getArgumentInfo() - Method in class com.tngtech.jgiven.report.model.Word
 
getCase(int) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getCompleteSentence() - Method in class com.tngtech.jgiven.report.model.StepModel
 
getConfiguration(Class<? extends Object>) - Static method in class com.tngtech.jgiven.config.ConfigurationUtil
 
getDefaultValue() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getDescription() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getDescription() - Method in class com.tngtech.jgiven.report.model.Tag
 
getExecutor() - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
getFirstStepModelOfLastScenario() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getGivenStage() - Method in class com.tngtech.jgiven.impl.Scenario
 
getImplementationStatus() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getLastScenarioModel() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getModel() - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
getModelBuilder() - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
getName() - Method in class com.tngtech.jgiven.report.model.Tag
 
getParameterIndex() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
getPrintWriter(File) - Static method in class com.tngtech.jgiven.report.html.HtmlWriter
 
getReportDir() - Method in class com.tngtech.jgiven.impl.Config
 
getScenario() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
getScenarioCases() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getScenarioCollectionModel() - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
getSimpleClassName() - Method in class com.tngtech.jgiven.report.model.ReportModel
 
getSortedTags() - Method in class com.tngtech.jgiven.report.html.HtmlTocWriter
 
getStep(int) - Method in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
getTagConfiguration(Class<? extends Annotation>) - Method in class com.tngtech.jgiven.config.AbstractJGivenConfiguraton
 
getTags() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
getThenStage() - Method in class com.tngtech.jgiven.impl.Scenario
 
getType() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
getValue() - Method in class com.tngtech.jgiven.report.model.Tag
 
getValueByName(String) - Method in class com.tngtech.jgiven.impl.inject.ValueInjectorState
 
getValueByType(Class<?>) - Method in class com.tngtech.jgiven.impl.inject.ValueInjectorState
 
getValueString() - Method in class com.tngtech.jgiven.report.model.Tag
 
getWhenStage() - Method in class com.tngtech.jgiven.impl.Scenario
 
given() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
given() - Method in class com.tngtech.jgiven.impl.Scenario
 
given(String) - Method in class com.tngtech.jgiven.impl.Scenario
 
given() - Method in class com.tngtech.jgiven.Stage
 

H

handleMethod(Object, Method, Object[]) - Method in interface com.tngtech.jgiven.impl.intercept.StepMethodHandler
 
handleReportModel(ReportModel, File) - Method in class com.tngtech.jgiven.report.html.FrameBasedHtmlReportGenerator
 
handleReportModel(ReportModel, File) - Method in class com.tngtech.jgiven.report.html.SingleFileHtmlReportGenerator
 
handleReportModel(ReportModel, File) - Method in interface com.tngtech.jgiven.report.json.ReportModelFileHandler
 
handleThrowable(Throwable) - Method in interface com.tngtech.jgiven.impl.intercept.StepMethodHandler
 
hasAtLeastOneAnnotation(Class<? extends Annotation>...) - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
 
hashCode() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
hashCode() - Method in class com.tngtech.jgiven.report.model.Tag
 
hashCode() - Method in class com.tngtech.jgiven.report.model.Word
 
Hidden - Annotation Type in com.tngtech.jgiven.annotation
Annotates a step method to be hidden in reports.
HtmlReportGenerator - Class in com.tngtech.jgiven.report.html
 
HtmlReportGenerator() - Constructor for class com.tngtech.jgiven.report.html.HtmlReportGenerator
 
HtmlTocWriter - Class in com.tngtech.jgiven.report.html
 
HtmlTocWriter(Map<Tag, List<ScenarioModel>>, List<FrameBasedHtmlReportGenerator.ModelFile>) - Constructor for class com.tngtech.jgiven.report.html.HtmlTocWriter
 
HtmlWriter - Class in com.tngtech.jgiven.report.html
 
HtmlWriter(PrintWriter) - Constructor for class com.tngtech.jgiven.report.html.HtmlWriter
 
HtmlWriterUtils - Class in com.tngtech.jgiven.report.html
 
HtmlWriterUtils(PrintWriter) - Constructor for class com.tngtech.jgiven.report.html.HtmlWriterUtils
 

I

ignoreValue(boolean) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
ImplementationStatus - Enum in com.tngtech.jgiven.report.model
 
injectSteps(Object) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
 
injectValueByName(String, T) - Method in class com.tngtech.jgiven.impl.inject.ValueInjector
 
injectValueByType(Class<T>, T) - Method in class com.tngtech.jgiven.impl.inject.ValueInjector
 
intercept(Object, Method, Object[], MethodProxy) - Method in class com.tngtech.jgiven.impl.intercept.StepMethodInterceptor
 
IntroWord - Annotation Type in com.tngtech.jgiven.annotation
Marks a method as an introduction word of a step Examples for introduction words are given, when, then, and, etc.
introWord(String) - Static method in class com.tngtech.jgiven.report.model.Word
 
introWordAdded(String) - Method in class com.tngtech.jgiven.impl.intercept.NoOpScenarioListener
 
introWordAdded(String) - Method in interface com.tngtech.jgiven.impl.intercept.ScenarioListener
 
introWordAdded(String) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
isArg() - Method in class com.tngtech.jgiven.report.model.Word
 
isCaseArg() - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
isCasesAsTable() - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
isExplodeArray() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
isIgnoreValue() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
isIntroWord - Variable in class com.tngtech.jgiven.report.model.Word
 
isPrependType() - Method in class com.tngtech.jgiven.config.TagConfiguration
 
isPrependType() - Method in class com.tngtech.jgiven.report.model.Tag
 
isReportEnabled() - Method in class com.tngtech.jgiven.impl.Config
 
isStepMethod(Method) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
IsTag - Annotation Type in com.tngtech.jgiven.annotation
Marks an annotation to be used as a tag in JGiven reports.
isTrue(Field) - Method in interface com.tngtech.jgiven.impl.util.ReflectionUtil.FieldPredicate
 

J

JGivenConfiguration - Annotation Type in com.tngtech.jgiven.annotation
 
JsonModelTraverser - Class in com.tngtech.jgiven.report.json
 
JsonModelTraverser() - Constructor for class com.tngtech.jgiven.report.json.JsonModelTraverser
 

M

main(String...) - Static method in class com.tngtech.jgiven.report.html.HtmlReportGenerator
 
mit() - Method in class com.tngtech.jgiven.lang.de.Schritte
 
model - Variable in class com.tngtech.jgiven.report.model.ReportModelFile
 
modelBuilder - Variable in class com.tngtech.jgiven.impl.ScenarioBase
 
MultiCaseScenarioHtmlWriter - Class in com.tngtech.jgiven.report.html
 
MultiCaseScenarioHtmlWriter(PrintWriter) - Constructor for class com.tngtech.jgiven.report.html.MultiCaseScenarioHtmlWriter
 

N

name - Variable in class com.tngtech.jgiven.report.model.StepModel
 
newInstance(Class<T>) - Static method in class com.tngtech.jgiven.impl.util.ReflectionUtil
 
NoOpScenarioListener - Class in com.tngtech.jgiven.impl.intercept
 
NoOpScenarioListener() - Constructor for class com.tngtech.jgiven.impl.intercept.NoOpScenarioListener
 
NotFormatter - Class in com.tngtech.jgiven.format
Translates false to the word "not" and true to the empty word ""
NotFormatter() - Constructor for class com.tngtech.jgiven.format.NotFormatter
 
NotImplementedYet - Annotation Type in com.tngtech.jgiven.annotation
Marks methods of step definitions as not implemented yet.
notImplementedYet - Variable in class com.tngtech.jgiven.report.model.StepModel
 

P

parameterNames - Variable in class com.tngtech.jgiven.report.model.ScenarioModel
 
PlainTextReporter - Class in com.tngtech.jgiven.report.text
 
PlainTextReporter() - Constructor for class com.tngtech.jgiven.report.text.PlainTextReporter
 
PlainTextReporter(boolean) - Constructor for class com.tngtech.jgiven.report.text.PlainTextReporter
 
PlainTextReporter(OutputStream, boolean) - Constructor for class com.tngtech.jgiven.report.text.PlainTextReporter
 
PlainTextScenarioWriter - Class in com.tngtech.jgiven.report.text
 
PlainTextScenarioWriter(PrintStream, boolean) - Constructor for class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
PlainTextWriter - Class in com.tngtech.jgiven.report.text
 
PlainTextWriter(PrintStream, boolean) - Constructor for class com.tngtech.jgiven.report.text.PlainTextWriter
 
prependType(boolean) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 
printCaseLine(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
printCaseLine(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
PrintfFormatter - Class in com.tngtech.jgiven.format
Formatter to use a Java format string to format arguments
PrintfFormatter() - Constructor for class com.tngtech.jgiven.format.PrintfFormatter
 
ProvidedScenarioState - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be provided by a scenario stage.

R

readScenarioState(Object) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
 
readValues(Object) - Method in class com.tngtech.jgiven.impl.inject.ValueInjector
 
ReflectionUtil - Class in com.tngtech.jgiven.impl.util
 
ReflectionUtil() - Constructor for class com.tngtech.jgiven.impl.util.ReflectionUtil
 
ReflectionUtil.ClassAction - Interface in com.tngtech.jgiven.impl.util
 
ReflectionUtil.FieldAction - Interface in com.tngtech.jgiven.impl.util
 
ReflectionUtil.FieldPredicate - Interface in com.tngtech.jgiven.impl.util
 
ReflectionUtil.MethodAction - Interface in com.tngtech.jgiven.impl.util
 
ReportModel - Class in com.tngtech.jgiven.report.model
 
ReportModel() - Constructor for class com.tngtech.jgiven.report.model.ReportModel
 
ReportModelBuilder - Class in com.tngtech.jgiven.report.model
Builds up the report model while the scenario is executed
ReportModelBuilder() - Constructor for class com.tngtech.jgiven.report.model.ReportModelBuilder
 
ReportModelBuilder(ReportModel) - Constructor for class com.tngtech.jgiven.report.model.ReportModelBuilder
 
ReportModelFile - Class in com.tngtech.jgiven.report.model
 
ReportModelFile() - Constructor for class com.tngtech.jgiven.report.model.ReportModelFile
 
ReportModelFileHandler - Interface in com.tngtech.jgiven.report.json
 
ReportModelFileReader - Class in com.tngtech.jgiven.report.json
 
ReportModelFileReader() - Constructor for class com.tngtech.jgiven.report.json.ReportModelFileReader
 
ReportModelVisitor - Class in com.tngtech.jgiven.report.model
 
ReportModelVisitor() - Constructor for class com.tngtech.jgiven.report.model.ReportModelVisitor
 
ResourceUtil - Class in com.tngtech.jgiven.impl.util
 
ResourceUtil() - Constructor for class com.tngtech.jgiven.impl.util.ResourceUtil
 

S

scenario - Variable in class com.tngtech.jgiven.base.ScenarioTestBase
 
Scenario<GIVEN,WHEN,THEN> - Class in com.tngtech.jgiven.impl
A default scenario implementation that takes three type arguments, one for each stage.
Scenario(Class<GIVEN>, Class<WHEN>, Class<THEN>) - Constructor for class com.tngtech.jgiven.impl.Scenario
 
ScenarioBase - Class in com.tngtech.jgiven.impl
 
ScenarioBase() - Constructor for class com.tngtech.jgiven.impl.ScenarioBase
 
ScenarioCaseModel - Class in com.tngtech.jgiven.report.model
 
ScenarioCaseModel() - Constructor for class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
ScenarioDescription - Annotation Type in com.tngtech.jgiven.annotation
Can be used to annotated test methods to give a scenario a complex description that cannot be directly represented by a Java method name.
ScenarioExecutor - Class in com.tngtech.jgiven.impl
Main class of JGiven for executing scenarios
ScenarioExecutor() - Constructor for class com.tngtech.jgiven.impl.ScenarioExecutor
 
ScenarioExecutor.State - Enum in com.tngtech.jgiven.impl
 
scenarioFailed(Throwable) - Method in class com.tngtech.jgiven.impl.intercept.NoOpScenarioListener
 
scenarioFailed(Throwable) - Method in interface com.tngtech.jgiven.impl.intercept.ScenarioListener
 
scenarioFailed(Throwable) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
ScenarioHtmlWriter - Class in com.tngtech.jgiven.report.html
 
ScenarioHtmlWriter(PrintWriter) - Constructor for class com.tngtech.jgiven.report.html.ScenarioHtmlWriter
 
ScenarioJsonReader - Class in com.tngtech.jgiven.report.json
 
ScenarioJsonReader() - Constructor for class com.tngtech.jgiven.report.json.ScenarioJsonReader
 
ScenarioJsonWriter - Class in com.tngtech.jgiven.report.json
 
ScenarioJsonWriter(ReportModel) - Constructor for class com.tngtech.jgiven.report.json.ScenarioJsonWriter
 
ScenarioListener - Interface in com.tngtech.jgiven.impl.intercept
 
ScenarioModel - Class in com.tngtech.jgiven.report.model
 
ScenarioModel() - Constructor for class com.tngtech.jgiven.report.model.ScenarioModel
 
ScenarioRule - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be Scenario rules.
scenarios - Variable in class com.tngtech.jgiven.report.model.ReportModel
 
ScenarioStage - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be stage instances This is useful to reuse stages within stages.
scenarioStarted(String) - Method in class com.tngtech.jgiven.impl.intercept.NoOpScenarioListener
 
scenarioStarted(Method, List<?>) - Method in class com.tngtech.jgiven.impl.intercept.NoOpScenarioListener
 
scenarioStarted(String) - Method in interface com.tngtech.jgiven.impl.intercept.ScenarioListener
 
scenarioStarted(Method, List<?>) - Method in interface com.tngtech.jgiven.impl.intercept.ScenarioListener
 
scenarioStarted(String) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
scenarioStarted(Method, List<?>) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
ScenarioState - Annotation Type in com.tngtech.jgiven.annotation
Marks fields to be read and/or written by a scenario stage.
ScenarioState.Resolution - Enum in com.tngtech.jgiven.annotation
 
scenarioSucceeded() - Method in class com.tngtech.jgiven.impl.intercept.NoOpScenarioListener
 
scenarioSucceeded() - Method in interface com.tngtech.jgiven.impl.intercept.ScenarioListener
 
scenarioSucceeded() - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
ScenarioTestBase<GIVEN,WHEN,THEN> - Class in com.tngtech.jgiven.base
Base class for Scenario tests.
ScenarioTestBase() - Constructor for class com.tngtech.jgiven.base.ScenarioTestBase
 
Schritte<SELF extends Schritte<?>> - Class in com.tngtech.jgiven.lang.de
A German version for step definitions
Schritte() - Constructor for class com.tngtech.jgiven.lang.de.Schritte
 
self() - Method in class com.tngtech.jgiven.base.StageBase
 
setArguments(List<String>) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
setCasesAsTable(boolean) - Method in class com.tngtech.jgiven.report.model.ScenarioModel
 
setClassName(String) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
setDescription(String) - Method in class com.tngtech.jgiven.report.model.Tag
 
setErrorMessage(String) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
setListener(ScenarioListener) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
 
setMethodName(String) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
setModel(ReportModel) - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
setModel(ReportModel) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
setParameterIndex(int) - Method in class com.tngtech.jgiven.report.model.ArgumentInfo
 
setParameterNames(List<String>) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
setPrependType(boolean) - Method in class com.tngtech.jgiven.report.model.Tag
 
setSuccess(boolean) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
setValue(Object) - Method in class com.tngtech.jgiven.report.model.Tag
 
SimpleScenarioTestBase<STEPS> - Class in com.tngtech.jgiven.base
ScenarioTest that only takes a single type parameter that is used for all three step definition types.
SimpleScenarioTestBase() - Constructor for class com.tngtech.jgiven.base.SimpleScenarioTestBase
 
SingleFileHtmlReportGenerator - Class in com.tngtech.jgiven.report.html
Writes all scenarios into a single file.
SingleFileHtmlReportGenerator() - Constructor for class com.tngtech.jgiven.report.html.SingleFileHtmlReportGenerator
 
skipped - Variable in class com.tngtech.jgiven.report.model.StepModel
 
sourceDir - Variable in class com.tngtech.jgiven.report.html.HtmlReportGenerator
 
Stage<SELF extends Stage<?>> - Class in com.tngtech.jgiven
Base class for Stages.
Stage() - Constructor for class com.tngtech.jgiven.Stage
 
StageBase<SELF extends StageBase<?>> - Class in com.tngtech.jgiven.base
Useful base class for step definitions as it provides a StageBase.self() method to create fluent interfaces.
StageBase() - Constructor for class com.tngtech.jgiven.base.StageBase
 
startScenario(String) - Method in class com.tngtech.jgiven.impl.Scenario
Describes the scenario.
startScenario(String) - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
startScenario(String) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
Starts a scenario with the given description.
startScenario(Method, List<?>) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
Starts the scenario with the given method and arguments.
StepFormatter - Class in com.tngtech.jgiven.report.model
 
StepFormatter(String, List<?>, List<StepFormatter.Formatting<?>>) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter
 
StepFormatter.Formatting<T> - Class in com.tngtech.jgiven.report.model
 
StepFormatter.Formatting(ArgumentFormatter<T>, String...) - Constructor for class com.tngtech.jgiven.report.model.StepFormatter.Formatting
 
StepMethodHandler - Interface in com.tngtech.jgiven.impl.intercept
 
StepMethodInterceptor - Class in com.tngtech.jgiven.impl.intercept
 
StepMethodInterceptor(StepMethodHandler, AtomicInteger) - Constructor for class com.tngtech.jgiven.impl.intercept.StepMethodInterceptor
 
stepMethodInvoked(Method, List<Object>) - Method in class com.tngtech.jgiven.impl.intercept.NoOpScenarioListener
 
stepMethodInvoked(Method, List<Object>) - Method in interface com.tngtech.jgiven.impl.intercept.ScenarioListener
 
stepMethodInvoked(Method, List<Object>) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
StepModel - Class in com.tngtech.jgiven.report.model
 
StepModel() - Constructor for class com.tngtech.jgiven.report.model.StepModel
 
steps - Variable in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
stream - Variable in class com.tngtech.jgiven.report.text.PlainTextWriter
 
succeeded() - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
 
success - Variable in class com.tngtech.jgiven.report.model.ScenarioCaseModel
 
SzenarioTestBasis<GEGEBEN,WENN,DANN> - Class in com.tngtech.jgiven.lang.de
 
SzenarioTestBasis() - Constructor for class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 

T

Tag - Class in com.tngtech.jgiven.report.model
A tag represents a Java annotation of a scenario-test
Tag(String) - Constructor for class com.tngtech.jgiven.report.model.Tag
 
Tag(String, Object) - Constructor for class com.tngtech.jgiven.report.model.Tag
 
TagConfiguration - Class in com.tngtech.jgiven.config
 
TagConfiguration() - Constructor for class com.tngtech.jgiven.config.TagConfiguration
 
TagConfiguration.Builder - Class in com.tngtech.jgiven.config
 
tags - Variable in class com.tngtech.jgiven.report.model.ScenarioModel
 
tagToHtml(Tag) - Static method in class com.tngtech.jgiven.report.html.ScenarioHtmlWriter
 
testMethodName - Variable in class com.tngtech.jgiven.report.model.ScenarioModel
 
textColorEnabled() - Method in class com.tngtech.jgiven.impl.Config
 
textReport() - Method in class com.tngtech.jgiven.impl.Config
 
then() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
then() - Method in class com.tngtech.jgiven.impl.Scenario
 
then(String) - Method in class com.tngtech.jgiven.impl.Scenario
 
then() - Method in class com.tngtech.jgiven.Stage
 
toDir - Variable in class com.tngtech.jgiven.report.html.HtmlReportGenerator
 
toString(ScenarioModel) - Static method in class com.tngtech.jgiven.report.html.HtmlWriter
 
toString(ReportModel) - Static method in class com.tngtech.jgiven.report.html.HtmlWriter
 
toString(Function<PrintWriter, Void>) - Static method in class com.tngtech.jgiven.report.html.HtmlWriter
 
toString() - Method in class com.tngtech.jgiven.report.json.ScenarioJsonWriter
 
toString() - Method in class com.tngtech.jgiven.report.model.Tag
 
toString() - Method in class com.tngtech.jgiven.report.model.Word
 
toString(ReportModel) - Static method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
toTags(Annotation) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
traverseModels(File, ReportModelFileHandler) - Method in class com.tngtech.jgiven.report.json.JsonModelTraverser
 
type(String) - Method in class com.tngtech.jgiven.config.TagConfiguration.Builder
 

U

und() - Method in class com.tngtech.jgiven.lang.de.Schritte
 
updateValueByName(String, Object) - Method in class com.tngtech.jgiven.impl.inject.ValueInjectorState
 
updateValueByType(Class<?>, Object) - Method in class com.tngtech.jgiven.impl.inject.ValueInjectorState
 
updateValues(Object) - Method in class com.tngtech.jgiven.impl.inject.ValueInjector
 
utils - Variable in class com.tngtech.jgiven.report.html.HtmlWriter
 
utils - Variable in class com.tngtech.jgiven.report.html.SingleFileHtmlReportGenerator
 

V

validateFields(Object) - Method in class com.tngtech.jgiven.impl.inject.ValueInjector
 
value - Variable in class com.tngtech.jgiven.report.model.Word
 
ValueInjector - Class in com.tngtech.jgiven.impl.inject
Used by Scenario to inject and read values from objects.
ValueInjector() - Constructor for class com.tngtech.jgiven.impl.inject.ValueInjector
 
ValueInjectorState - Class in com.tngtech.jgiven.impl.inject
Holds values based on their type or name
ValueInjectorState() - Constructor for class com.tngtech.jgiven.impl.inject.ValueInjectorState
 
valueOf(String) - Static method in enum com.tngtech.jgiven.annotation.ScenarioState.Resolution
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.impl.ScenarioExecutor.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.tngtech.jgiven.report.model.ImplementationStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.tngtech.jgiven.annotation.ScenarioState.Resolution
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.impl.ScenarioExecutor.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.tngtech.jgiven.report.model.ImplementationStatus
Returns an array containing the constants of this enum type, in the order they are declared.
visit(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.html.DataTableScenarioHtmlWriter
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.html.DataTableScenarioHtmlWriter
 
visit(ReportModel) - Method in class com.tngtech.jgiven.report.html.HtmlWriter
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.html.HtmlWriter
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.html.ScenarioHtmlWriter
 
visit(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.html.ScenarioHtmlWriter
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.html.ScenarioHtmlWriter
 
visit(ReportModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
visit(ReportModel) - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
visit(ScenarioModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
visit(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
visit(StepModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.html.DataTableScenarioHtmlWriter
 
visitEnd(ScenarioModel) - Method in class com.tngtech.jgiven.report.html.DataTableScenarioHtmlWriter
 
visitEnd(ReportModel) - Method in class com.tngtech.jgiven.report.html.HtmlWriter
 
visitEnd(ScenarioModel) - Method in class com.tngtech.jgiven.report.html.ScenarioHtmlWriter
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.html.ScenarioHtmlWriter
 
visitEnd(ReportModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visitEnd(ScenarioModel) - Method in class com.tngtech.jgiven.report.model.ReportModelVisitor
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
visitEnd(ScenarioModel) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
visitEnd(ScenarioCaseModel) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 

W

wenn() - Method in class com.tngtech.jgiven.lang.de.Schritte
 
wenn() - Method in class com.tngtech.jgiven.lang.de.SzenarioTestBasis
 
when() - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
when() - Method in class com.tngtech.jgiven.impl.Scenario
 
when(String) - Method in class com.tngtech.jgiven.impl.Scenario
 
when() - Method in class com.tngtech.jgiven.Stage
 
wire(Object) - Method in interface com.tngtech.jgiven.integration.CanWire
 
wireSteps(CanWire) - Method in class com.tngtech.jgiven.base.ScenarioTestBase
 
wireSteps(CanWire) - Method in class com.tngtech.jgiven.impl.ScenarioBase
 
wireSteps(CanWire) - Method in class com.tngtech.jgiven.impl.ScenarioExecutor
Used for DI frameworks to inject values into stages
with() - Method in class com.tngtech.jgiven.Stage
 
withColor - Variable in class com.tngtech.jgiven.report.text.PlainTextWriter
 
Word - Class in com.tngtech.jgiven.report.model
 
Word() - Constructor for class com.tngtech.jgiven.report.model.Word
 
Word(String) - Constructor for class com.tngtech.jgiven.report.model.Word
 
Word(String, boolean) - Constructor for class com.tngtech.jgiven.report.model.Word
 
words - Variable in class com.tngtech.jgiven.report.model.StepModel
 
wordToString(Word) - Method in class com.tngtech.jgiven.report.text.DataTablePlainTextScenarioWriter
 
wordToString(Word) - Method in class com.tngtech.jgiven.report.text.PlainTextScenarioWriter
 
WordUtil - Class in com.tngtech.jgiven.impl.util
 
WordUtil() - Constructor for class com.tngtech.jgiven.impl.util.WordUtil
 
write(ScenarioModel) - Method in class com.tngtech.jgiven.report.html.HtmlWriter
 
write(ReportModel, HtmlTocWriter) - Method in class com.tngtech.jgiven.report.html.HtmlWriter
 
write(File) - Method in class com.tngtech.jgiven.report.json.ScenarioJsonWriter
 
write(ReportModel) - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
write(ScenarioModel) - Method in class com.tngtech.jgiven.report.text.PlainTextReporter
 
writeEnd() - Method in class com.tngtech.jgiven.report.html.FrameBasedHtmlReportGenerator
 
writeEnd() - Method in class com.tngtech.jgiven.report.html.SingleFileHtmlReportGenerator
 
writeHtmlFooter() - Method in class com.tngtech.jgiven.report.html.HtmlWriter
 
writeHtmlFooter() - Method in class com.tngtech.jgiven.report.html.HtmlWriterUtils
 
writeHtmlHeader(String) - Method in class com.tngtech.jgiven.report.html.HtmlWriter
 
writeHtmlHeader(String) - Method in class com.tngtech.jgiven.report.html.HtmlWriterUtils
 
writeModelToFile(ReportModel, HtmlTocWriter, File) - Static method in class com.tngtech.jgiven.report.html.HtmlWriter
 
writer - Variable in class com.tngtech.jgiven.report.html.HtmlTocWriter
 
writer - Variable in class com.tngtech.jgiven.report.html.HtmlWriter
 
writer - Variable in class com.tngtech.jgiven.report.html.SingleFileHtmlReportGenerator
 
writeStart() - Method in class com.tngtech.jgiven.report.html.SingleFileHtmlReportGenerator
 
writeStep(String, List<Word>, boolean) - Method in class com.tngtech.jgiven.report.model.ReportModelBuilder
 
writeToc(PrintWriter) - Method in class com.tngtech.jgiven.report.html.HtmlTocWriter
 
writeToFile(File, ReportModel, HtmlTocWriter) - Static method in class com.tngtech.jgiven.report.html.HtmlWriter
 

A B C D E F G H I J M N P R S T U V W

Copyright © 2014 TNG Technology Consulting. All rights reserved.