A B C E F G H I L M N P R S T U 

A

add(int, int) - Static method in class com.carrotsearch.examples.randomizedrunner.Test003UsingRandomness.Adder
This method adds a and b and returns their sum.
after() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test003MultipleFailures
 
afterClass() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test002SuiteFailure
 
afterClass() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test003MultipleFailures
 
assumeMe() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test008BeforeClassAssumption
 
assumeMe() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test008BeforeClassAssumptionRR
 

B

beforeClass() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test002SuiteFailure
 

C

com.carrotsearch.examples.randomizedrunner - package com.carrotsearch.examples.randomizedrunner
 
com.carrotsearch.examples.randomizedrunner.reports - package com.carrotsearch.examples.randomizedrunner.reports
 

E

empty() - Static method in class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRandomized
 
error() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test001AllStatuses
 
errorOnMe() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test007BeforeClassError
 
errorOnMe() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test007BeforeClassErrorRR
 
executorLeak() - Method in class com.carrotsearch.examples.randomizedrunner.Test010Lingering
 
expectNoException() - Method in class com.carrotsearch.examples.randomizedrunner.Test003UsingRandomness
 

F

failOnMe() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test006BeforeClassFailure
 
failOnMe() - Static method in class com.carrotsearch.examples.randomizedrunner.reports.Test006BeforeClassFailureRR
 
failure() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test001AllStatuses
 
failure() - Method in class com.carrotsearch.examples.randomizedrunner.Test005RecoveringRandomSeed
 
failure() - Method in class com.carrotsearch.examples.randomizedrunner.Test014Listeners
 
fixedTesting() - Method in class com.carrotsearch.examples.randomizedrunner.Test003UsingRandomness
 

G

getContextByHand() - Method in class com.carrotsearch.examples.randomizedrunner.Test002ExtendingRandomizedTest
 
getContextFromSuper() - Method in class com.carrotsearch.examples.randomizedrunner.Test002ExtendingRandomizedTest
 
getTestMethods(Class<?>, ClassModel) - Method in class com.carrotsearch.examples.randomizedrunner.Test015CustomMethodProviders.MethodEndsWithTest
 

H

halfAndHalf() - Method in class com.carrotsearch.examples.randomizedrunner.Test006RepeatingTests
 

I

ignored() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test001AllStatuses
 
ignored_assumption() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test001AllStatuses
 

L

leftOverThread() - Method in class com.carrotsearch.examples.randomizedrunner.Test009ThreadLeaks
 
lingerForLeftOverThread() - Method in class com.carrotsearch.examples.randomizedrunner.Test010Lingering
 
longline() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test005WithOutput
 

M

method1() - Method in class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRandomized
 
method2() - Method in class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRandomized
 
method3() - Method in class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRandomized
 
myFirstTest() - Method in class com.carrotsearch.examples.randomizedrunner.Test015CustomMethodProviders.TestClass
 
mySecondTest() - Method in class com.carrotsearch.examples.randomizedrunner.Test015CustomMethodProviders.TestClass
 

N

nightlyOnly() - Method in class com.carrotsearch.examples.randomizedrunner.Test011NightlyTests
 
nightlyOnlyWithAssume() - Method in class com.carrotsearch.examples.randomizedrunner.Test011NightlyTests
 
noLeakHere() - Method in class com.carrotsearch.examples.randomizedrunner.Test009ThreadLeaks
 
noop() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test006BeforeClassFailure
 
noop() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test006BeforeClassFailureRR
 
noop() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test007BeforeClassError
 
noop() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test007BeforeClassErrorRR
 
noop() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test008BeforeClassAssumption
 
noop() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test008BeforeClassAssumptionRR
 

P

parameters() - Static method in class com.carrotsearch.examples.randomizedrunner.Test007ParameterizedTests
 
paramsWithRepeatAndSeeds() - Method in class com.carrotsearch.examples.randomizedrunner.Test007ParameterizedTests
 
passed() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test001AllStatuses
 
printContext() - Method in class com.carrotsearch.examples.randomizedrunner.Test005RecoveringRandomSeed
 
printMasterContext() - Static method in class com.carrotsearch.examples.randomizedrunner.Test005RecoveringRandomSeed
 

R

randomizedTesting() - Method in class com.carrotsearch.examples.randomizedrunner.Test003UsingRandomness
 
regression() - Method in class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRegression
 
repeatFailure() - Method in class com.carrotsearch.examples.randomizedrunner.Test006RepeatingTests
 
rule - Variable in class com.carrotsearch.examples.randomizedrunner.reports.Test003MultipleFailures
 

S

scaling() - Method in class com.carrotsearch.examples.randomizedrunner.Test011NightlyTests
 
simpleArgumentsConsumer() - Method in class com.carrotsearch.examples.randomizedrunner.Test007ParameterizedTests
 
standardAnnotation() - Method in class com.carrotsearch.examples.randomizedrunner.Test008Timeouts
 
stderr() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test005WithOutput
 
stderr_eol() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test005WithOutput
 
stderr_stdout_interwoven() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test005WithOutput
 
stdout() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test005WithOutput
 
stdout_eol() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test005WithOutput
 
success() - Method in class com.carrotsearch.examples.randomizedrunner.Test001SimpleUseCase
 

T

Test001AllStatuses - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test001AllStatuses() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test001AllStatuses
 
Test001SimpleUseCase - Class in com.carrotsearch.examples.randomizedrunner
This is a test-based tutorial introducing to randomized JUnit testing using RandomizedRunner.
Test001SimpleUseCase() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test001SimpleUseCase
 
Test002ExtendingRandomizedTest - Class in com.carrotsearch.examples.randomizedrunner
To start using pseudo-randomization we need to get hold of the RandomizedContext instance associated with the test.
Test002ExtendingRandomizedTest() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test002ExtendingRandomizedTest
 
Test002SuiteFailure - Class in com.carrotsearch.examples.randomizedrunner.reports
Suite-level failures.
Test002SuiteFailure() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test002SuiteFailure
 
Test003MultipleFailures - Class in com.carrotsearch.examples.randomizedrunner.reports
Multiple failures from a single test case (followed by a suite-failure).
Test003MultipleFailures() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test003MultipleFailures
 
Test003UsingRandomness - Class in com.carrotsearch.examples.randomizedrunner
So far we haven't really used the Random provided by RandomizedRunner.
Test003UsingRandomness() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test003UsingRandomness
 
Test003UsingRandomness.Adder - Class in com.carrotsearch.examples.randomizedrunner
 
Test003UsingRandomness.Adder() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test003UsingRandomness.Adder
 
Test004MoreRandomness - Class in com.carrotsearch.examples.randomizedrunner
Randomness is entwined everywhere in RandomizedRunner.
Test004MoreRandomness() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness
 
Test004MoreRandomness.OrderRandomized - Class in com.carrotsearch.examples.randomizedrunner
 
Test004MoreRandomness.OrderRandomized() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRandomized
 
Test004MoreRandomness.OrderRandomizedButFixed - Class in com.carrotsearch.examples.randomizedrunner
 
Test004MoreRandomness.OrderRandomizedButFixed() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRandomizedButFixed
 
Test004MoreRandomness.OrderRegression - Class in com.carrotsearch.examples.randomizedrunner
 
Test004MoreRandomness.OrderRegression() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test004MoreRandomness.OrderRegression
 
Test004SuiteOfNested - Class in com.carrotsearch.examples.randomizedrunner.reports
A suite of nested test classes.
Test004SuiteOfNested() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test004SuiteOfNested
 
Test004SuiteOfNested.Subclass1 - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test004SuiteOfNested.Subclass1() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test004SuiteOfNested.Subclass1
 
Test004SuiteOfNested.Subclass2 - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test004SuiteOfNested.Subclass2() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test004SuiteOfNested.Subclass2
 
Test004SuiteOfNested.Subclass3 - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test004SuiteOfNested.Subclass3() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test004SuiteOfNested.Subclass3
 
Test005RecoveringRandomSeed - Class in com.carrotsearch.examples.randomizedrunner
RandomizedRunner uses several "contexts", each of which is assigned a predictable Random and is modeled using a Randomness instance.
Test005RecoveringRandomSeed() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test005RecoveringRandomSeed
 
Test005WithOutput - Class in com.carrotsearch.examples.randomizedrunner.reports
A suite of nested test classes.
Test005WithOutput() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test005WithOutput
 
Test006BeforeClassFailure - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test006BeforeClassFailure() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test006BeforeClassFailure
 
Test006BeforeClassFailureRR - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test006BeforeClassFailureRR() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test006BeforeClassFailureRR
 
Test006RepeatingTests - Class in com.carrotsearch.examples.randomizedrunner
In example Test005RecoveringRandomSeed we presented Randomness contexts and how they are derived from a master seed.
Test006RepeatingTests() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test006RepeatingTests
 
Test007BeforeClassError - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test007BeforeClassError() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test007BeforeClassError
 
Test007BeforeClassErrorRR - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test007BeforeClassErrorRR() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test007BeforeClassErrorRR
 
Test007ParameterizedTests - Class in com.carrotsearch.examples.randomizedrunner
Parameterized tests are tricky.
Test007ParameterizedTests(int, String) - Constructor for class com.carrotsearch.examples.randomizedrunner.Test007ParameterizedTests
 
Test008BeforeClassAssumption - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test008BeforeClassAssumption() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test008BeforeClassAssumption
 
Test008BeforeClassAssumptionRR - Class in com.carrotsearch.examples.randomizedrunner.reports
 
Test008BeforeClassAssumptionRR() - Constructor for class com.carrotsearch.examples.randomizedrunner.reports.Test008BeforeClassAssumptionRR
 
Test008Timeouts - Class in com.carrotsearch.examples.randomizedrunner
RandomizedRunner has built-in support for enforcing test timeouts.
Test008Timeouts() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test008Timeouts
 
Test009ThreadLeaks - Class in com.carrotsearch.examples.randomizedrunner
Leaked background threads can crash tests randomly even if all seeds are known and predictable.
Test009ThreadLeaks() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test009ThreadLeaks
 
Test010Lingering - Class in com.carrotsearch.examples.randomizedrunner
In many cases the creation of background threads lies beyond our control (and their direct termination or even awaiting for their termination) is not possible.
Test010Lingering() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test010Lingering
 
Test011NightlyTests - Class in com.carrotsearch.examples.randomizedrunner
Running tests on a developer machine is often a pain, in particular when certain tests are long and repetitive.
Test011NightlyTests() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test011NightlyTests
 
Test012TestGroups - Class in com.carrotsearch.examples.randomizedrunner
We introduced the notion of Nightly tests in Test011NightlyTests.
Test012TestGroups() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test012TestGroups
 
Test012TestGroups.RequiresDisplay - Annotation Type in com.carrotsearch.examples.randomizedrunner
 
Test014Listeners - Class in com.carrotsearch.examples.randomizedrunner
RandomizedRunner respects an on-suite class Listeners annotation and instantiates classes that implement RunListener.
Test014Listeners() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test014Listeners
 
Test015CustomMethodProviders - Class in com.carrotsearch.examples.randomizedrunner
Because many people are nearly religious about how test methods should be annotated or structured RandomizedRunner can use a custom method selector for designating test methods.
Test015CustomMethodProviders() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test015CustomMethodProviders
 
Test015CustomMethodProviders.MethodEndsWithTest - Class in com.carrotsearch.examples.randomizedrunner
 
Test015CustomMethodProviders.MethodEndsWithTest() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test015CustomMethodProviders.MethodEndsWithTest
 
Test015CustomMethodProviders.TestClass - Class in com.carrotsearch.examples.randomizedrunner
 
Test015CustomMethodProviders.TestClass() - Constructor for class com.carrotsearch.examples.randomizedrunner.Test015CustomMethodProviders.TestClass
 
testCase() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test002SuiteFailure
 
testCase() - Method in class com.carrotsearch.examples.randomizedrunner.reports.Test003MultipleFailures
 
timeoutAnnotation() - Method in class com.carrotsearch.examples.randomizedrunner.Test008Timeouts
 

U

usesDisplay() - Method in class com.carrotsearch.examples.randomizedrunner.Test012TestGroups
 
A B C E F G H I L M N P R S T U 

Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.