A B C D E F G H I J L M N O P Q R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- absFile2cls(File, JavaPath.ClsSrc) - Method in class eu.simuline.util.JavaPath
- Accessor<T> - Class in eu.simuline.testhelpers
-
Provides access even to private fields, methods, constructors and inner classes, static or not, via reflection.
- Accessor() - Constructor for class eu.simuline.testhelpers.Accessor
-
Formally to create a new
Accessorinstance but intended in contrary to prevent anAccessorfrom being instantiated. - AccessorTest - Class in eu.simuline.testhelpers
-
Testclass for class
Accessor. - AccessorTest() - Constructor for class eu.simuline.testhelpers.AccessorTest
- AccessorTest.ForTests - Class in eu.simuline.testhelpers
- AccessorTest.ForTestsB - Class in eu.simuline.testhelpers
- AccessorTest.NonStatic - Class in eu.simuline.testhelpers
- AccessorTest.NonStatic.NonStatic1 - Class in eu.simuline.testhelpers
- AccessorTest.Static - Class in eu.simuline.testhelpers
- AccessorTest.Static.Static2 - Class in eu.simuline.testhelpers
- AccessorTest.TestAll - Class in eu.simuline.testhelpers
- actionPerformed(ActionEvent) - Method in class eu.simuline.testhelpers.Actions.BreakAction
- actionPerformed(ActionEvent) - Method in class eu.simuline.testhelpers.Actions.ExitAction
- actionPerformed(ActionEvent) - Method in class eu.simuline.testhelpers.Actions.OpenAction
- actionPerformed(ActionEvent) - Method in class eu.simuline.testhelpers.Actions.StartAction
- actionPerformed(ActionEvent) - Method in class eu.simuline.testhelpers.Actions.StopAction
- actions - Variable in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
This is used only by
GUIRunner.HierarchyWrapper.valueChanged(TreeSelectionEvent)to set the filter viaActions.setFilter(Description). - Actions - Class in eu.simuline.testhelpers
-
Represents the actions of the test GUI inspired by old junit GUI. **** Moreover provides a wrapper to access junit and the access point to run the gui started from the class to be tested. **** The fundamental methods are
Actions.runFromMain()which runs the test class from its main method andActions.runTestClass(String)which runs a testclass with the given name. - Actions(String) - Constructor for class eu.simuline.testhelpers.Actions
-
Creates a new
Actionsinstance. - Actions.BreakAction - Class in eu.simuline.testhelpers
-
The action of breaking the sequence of testcases currently running.
- Actions.CoreRunner - Class in eu.simuline.testhelpers
-
A thread in which a testclass is executed or at least a single testcase out of this testclass.
- Actions.ExitAction - Class in eu.simuline.testhelpers
-
The action of exiting the tester application.
- Actions.OpenAction - Class in eu.simuline.testhelpers
-
The action of opening a
java-file defining a test class and starting the tests defined by it. - Actions.StartAction - Class in eu.simuline.testhelpers
-
The action of starting the testcases in the loaded testclass.
- Actions.StopAction - Class in eu.simuline.testhelpers
-
The action of stopping the test run// after having finished the currently running testcase.
- add(Finder.Filter) - Method in class eu.simuline.util.Finder
-
Returns a finder by attachig the given filter.
- addSelectedTestCaseByNeed(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
Adds
testCaseto the failure list if not yet listed. - aFinalField - Static variable in class eu.simuline.testhelpers.AccessorTest.ForTests
- and(Finder.Filter[]) - Method in class eu.simuline.util.Finder
-
Convenience method: Returns a finder by attaching an and-filter.
- and(Finder.Filter[]) - Static method in class eu.simuline.util.Finder.Filter
-
Returns a filter which passes a file iff so do all filters in
filters. - AndFilter(Finder.Filter[]) - Constructor for class eu.simuline.util.Finder.AndFilter
- aPrimitiveField - Variable in class eu.simuline.testhelpers.AccessorTest.ForTests
- aPrimitiveField - Variable in class eu.simuline.testhelpers.AccessorTest.ForTestsB
- areCompatible(Class<?>, Object) - Static method in class eu.simuline.util.BasicTypesCompatibilityChecker
-
Decides whether the given class and object are compatible.
- Assert<E> - Class in eu.simuline.testhelpers
-
Extends the framework of assertions provided by
junit.framework.Assert. - Assert() - Constructor for class eu.simuline.testhelpers.Assert
- Assert.CmpObj - Enum in eu.simuline.testhelpers
-
Represents an ordering relation.
- assertAbsEquals(double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if the absolute deviation between
expectedandactualexceedsabsdivin absolute value. - assertAbsEquals(String, double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if the absolute deviation between
expectedandactualexceedsabsdivin absolute value. - assertAbsRelEquals(double, double, double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
For
expected<= separateAbsRelbehaves likeAssert.assertEquals(String,double,double,double)ignoringreldev, whereas otherwise behaves likeAssert.assertEquals(String, double, double, double)ignoringabsdev. - assertAbsRelEquals(String, double, double, double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
For
expected<= separateAbsRelbehaves likeAssert.assertEquals(String,double,double,double)ignoringreldev, whereas otherwise behaves likeAssert.assertEquals(String, double, double, double)ignoringabsdev. - assertArraysEquals(Object, Object) - Static method in class eu.simuline.testhelpers.Assert
- assertArraysEquals(Object, Object, double) - Static method in class eu.simuline.testhelpers.Assert
-
Is a deep version of method
junit.framework.Assert.assertEquals(Object, Object)for arrays: checks whether the two arguments are arrays and whether they are arrays, recursively whether the lengths coincide and if the entries do so. - assertArraysEquals(String, Object, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Is a deep version of method
junit.framework.Assert.assertEquals(Object, Object)for arrays: checks whether the two arguments are arrays and whether they are arrays, recursively whether the lengths coincide and if the entries do so. - assertEquals(Object, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Fails for
! - assertEquals(String, Object, Object) - Static method in class eu.simuline.testhelpers.Assert
- assertIs(Assert.CmpObj, E, E, Comparator<E>) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
cmp.compare(expected, actual)is not as expected and raises an exception if this expression cannot be evaluated. - assertIs(Assert.CmpObj, Comparable<E>, E) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
expected.compareTo(actual)is not as expected and raises an exception if this expression cannot be evaluated. - assertIs(Assert.CmpObj, String, E, E, Comparator<E>) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
cmp.compare(expected, actual)is not as expected and raises an exception if this expression cannot be evaluated. - assertIs(Assert.CmpObj, String, Comparable<E>, E) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
expected.compareTo(actual)is not as expected and raises an exception if this expression cannot be evaluated. - assertIsContainedAll(Collection<E>, Collection<E>) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
actualis not a subcollection ofexpected. - assertIsIn(Collection<E>, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
actualElementis not an element ofexpectedContainer. - assertNormAbsEquals(Object, Object, String, double) - Static method in class eu.simuline.testhelpers.Assert
- assertNormAbsEquals(String, Object, Object, String, double) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
actualisnulloractualdeviates fromexpectedby at leastdelta, provided the test can be executed at all. - assertNormRelEquals(Object, Object, String, double) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if
actualisnulloractualdeviates fromexpectedby at leastdelta, provided the test can be executed at all. - assertNormRelEquals(String, Object, Object, String, double) - Static method in class eu.simuline.testhelpers.Assert
- assertRecArraysEquals(Object, Object, int[]) - Static method in class eu.simuline.testhelpers.Assert
-
Is a deep version of method
junit.framework.Assert.assertEquals(Object, Object)for arrays: checks recursively whether the lengths coincide and if the entries do so. - assertRecArraysEquals(Object, Object, int[], double) - Static method in class eu.simuline.testhelpers.Assert
-
Is a deep version of method
junit.framework.Assert.assertEquals(Object, Object)for arrays: checks recursively whether the lengths coincide and if the entries do so. - assertRelEquals(double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
Fails reporting a standard message if the relative deviation between
expectedandactualexceedsreldivin absolute value. - assertRelEquals(String, double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if the relative deviation between
expectedandactualexceedsreldivin absolute value. - assertStringEquals(String, String) - Static method in class eu.simuline.testhelpers.Assert
-
Special case of
assertEquals(Object, Object)which provides an error message specifying the common prefix ofexpectedwithactual. - AssumptionFailure - Class in eu.simuline.junit
-
Represents the testcase AssumptionFailure icon in JUnit.
- AssumptionFailure() - Constructor for class eu.simuline.junit.AssumptionFailure
- aStaticPrimitiveField - Static variable in class eu.simuline.testhelpers.AccessorTest.ForTests
- aStaticPrimitiveField - Static variable in class eu.simuline.testhelpers.AccessorTest.ForTestsB
B
- BasicTypesCompatibilityChecker - Class in eu.simuline.util
-
Provides methods to map basic types to their wrappers, to map wrapper types to the corresponding basic types and for compatibility checks.
- BasicTypesCompatibilityChecker() - Constructor for class eu.simuline.util.BasicTypesCompatibilityChecker
-
Prevents
BasicTypesCompatibilityCheckerfrom being instantiated. - BORDER_DESC - Static variable in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer
- breakAction - Variable in class eu.simuline.testhelpers.Actions
-
The action to break execution of testcases.
- BreakAction() - Constructor for class eu.simuline.testhelpers.Actions.BreakAction
C
- call(File) - Method in interface eu.simuline.util.Finder.Callable
-
Applies some filter on the given file and returns whether the called operation succeeded.
- callable - Variable in class eu.simuline.util.Finder.ExecJavaFilter
-
The instance to be executed to decide whether a given file passes the filter invoking
Finder.Callable.call(File). - CAN_EXEC - Static variable in class eu.simuline.util.Finder
-
Filter passing the file received iff it is executable.
- CAN_READ - Static variable in class eu.simuline.util.Finder
-
Filter passing the file received iff it is readable.
- CAN_WRITE - Static variable in class eu.simuline.util.Finder
-
Filter passing the file received iff it is writable.
- checkArraysSameClass(Object, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Checks whether
expectedis an array and whether its type coincides with the type ofactual. - checkNulls(String, Object, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Throws an error if exactly one of the parameters are
nulland otherwise returns whether both arenull. - checkNullsB(String, Object, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Fails if the test can be executed, i.e.
- children - Variable in class eu.simuline.testhelpers.TestCase
-
The list of children if this is a suite according to
TestCase.isTest()ornullif this is a (singular) test. - CHOOSE_CLASSPATH - Static variable in class eu.simuline.testhelpers.GUIRunner
-
The name of the system property the value of which points to the directory which is opened by the file chooser.
- Class - eu.simuline.util.JavaPath.ClsSrc
- CLASS - Static variable in class eu.simuline.util.images.GifResource
-
target/classes/: the directory of the classfiles within the simuline-developing environment. **** bad: path is hardcoded **** - CLASS_END - Static variable in class eu.simuline.util.images.GifResource
-
The ending of a java class file.
- CLASS_SEP - Static variable in class eu.simuline.util.JavaPath
-
Java's class separator
.separating classes from their packages and also packages from their subpackages. - classChooser - Variable in class eu.simuline.testhelpers.GUIRunner
-
A chooser for testclasses.
- ClassChooser() - Constructor for class eu.simuline.testhelpers.GUIRunner.ClassChooser
- className - Variable in class eu.simuline.testhelpers.GUIRunner
-
Contains the fully qualified name of the testclasse currently under consideration.
- clearSelection() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
- clearSelection() - Method in interface eu.simuline.testhelpers.GUIRunner.Selector
-
Clears the selection.
- clearSelection() - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
- clearStack() - Method in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
Clears the represented stack including
GUIRunner.StackTraceLister.thrwand text. - close() - Method in class eu.simuline.util.JavaPath.ZipEntryWrapper.WrappedInputStream
- cls2locFile(String, JavaPath.ClsSrc) - Method in class eu.simuline.util.JavaPath
-
Converts a class name into the into the corresponding name of a local source file or class file.
- clsFileChooser - Variable in class eu.simuline.testhelpers.GUIRunner.ClassChooser
-
File chooser for class files representing test classes.
- clsPath - Variable in class eu.simuline.testhelpers.GUIRunner.ClassChooser
-
The class path for test classes.
- ClsSrc() - Constructor for enum eu.simuline.util.JavaPath.ClsSrc
- cmd - Variable in class eu.simuline.util.Finder.ExecFilter
-
The command to be executed including arguments separated by space as to be passed to
Runtime.exec(String)in order to decide whether the given file passes the filter. - CmpObj(String) - Constructor for enum eu.simuline.testhelpers.Assert.CmpObj
-
Creates a new
CmpObjwith the given fractin of message; also the implementation of methodAssert.CmpObj.isValid(int)has to be provided hereafter. - collapseAlongPath() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Collapses the path to the leaf
GUIRunner.HierarchyWrapper.currPathIterpoints to as much as possible in order not to hideGUIRunner.HierarchyWrapper.singleSelectedNodeand the leafs corresponding with singular tests which failed already (assumption failure, failure and error). - COLOR_FAIL - Static variable in enum eu.simuline.testhelpers.Quality
-
Represents a failed testcase.
- COLOR_IGNORED - Static variable in enum eu.simuline.testhelpers.Quality
-
Represents an ignored testcase.
- COLOR_OK - Static variable in enum eu.simuline.testhelpers.Quality
-
Represents a testcase which did neither failed.
- computeNorm1(String, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Returns the norm of
expecteddefined by the method namednorm. - computeNorm2(String, Object, Object) - Static method in class eu.simuline.testhelpers.Assert
-
Returns the distance of the two objects
expectedandactualdefined by the metric defined by the method namednorm; typically something like the norm of a kind of difference. - constructorMatches(Constructor<T>, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns whether the given constructor matches the parameter list.
- coreRunner - Variable in class eu.simuline.testhelpers.Actions
- CoreRunner(Actions.CoreRunner) - Constructor for class eu.simuline.testhelpers.Actions.CoreRunner
-
Copy constructor.
- CoreRunner(String) - Constructor for class eu.simuline.testhelpers.Actions.CoreRunner
-
Creates a runner running all testcases in the given test class.
- coversZip() - Method in interface eu.simuline.util.JavaPath.FileWrapper
-
Returns whether the wrapped file is within a zip-archive.
- coversZip() - Method in class eu.simuline.util.JavaPath.OrdFileWrapper
- coversZip() - Method in class eu.simuline.util.JavaPath.ZipEntryWrapper
- create(Class<T>, Class<?>[], Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns an object created by the specified constructor.
- create(Class<T>, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns an object created by the specified constructor.
- create(Constructor<T>, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Invoke the specified constructor with the given arguments.
- createArgD(boolean) - Static method in class eu.simuline.testhelpers.DTestHelper
- createArgD(boolean, int, int) - Static method in class eu.simuline.testhelpers.DTestHelper
-
Returns a random number which is signed if demanded by
isSignedand which ranges from the given exponents. - createMultArgsD(boolean, boolean, boolean) - Static method in class eu.simuline.testhelpers.DTestHelper
- createMultArgsD(int, boolean, boolean, boolean) - Static method in class eu.simuline.testhelpers.DTestHelper
- createMultArgsSumD(boolean, boolean) - Static method in class eu.simuline.testhelpers.DTestHelper
- createMultArgsSumD(int, boolean, boolean) - Static method in class eu.simuline.testhelpers.DTestHelper
-
Returns a list of
numArgsarguments as double values. - currPath - Variable in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
- currPathIter - Variable in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Represents the path to the testcase currently run.
D
- defaultExclusions - Variable in class eu.simuline.testhelpers.TestCaseClassLoader
-
Default excluded paths.
- defineClass(String) - Method in class eu.simuline.testhelpers.TestCaseClassLoader
- Delete - Class in org.javalobby.icons20x20
-
Represents an open icon.
- Delete() - Constructor for class org.javalobby.icons20x20.Delete
- desc - Variable in class eu.simuline.testhelpers.TestCase
-
The description of this testcase.
- desc2filter(Description) - Static method in class eu.simuline.testhelpers.Actions
-
Returns a
Filterthat only runs methods in desiredDesc. - desc2string(Description) - Static method in class eu.simuline.testhelpers.TextRunListener
-
Returns a string representation of
desc: For atomic tests the display name, for suites an xml-style description. - descShouldRun(Description, Description) - Static method in class eu.simuline.testhelpers.Actions
- detQual2NumRec(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Initializes teh statistics in
GUIRunner.StatisticsTestState.qual2numaccording totestCase. - detValQualRec(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.TestProgressBar
-
Determines recursively the length of the progress bar and
GUIRunner.TestProgressBar.qualbased on the non-scheduled test cases. - DTestHelper - Class in eu.simuline.testhelpers
-
To create double values for tests Created: Tue Mar 20 01:05:54 2012
- DTestHelper() - Constructor for class eu.simuline.testhelpers.DTestHelper
E
- EMPTY_SELECTOR - Static variable in class eu.simuline.testhelpers.GUIRunner.TabChangeListener
-
Registered with the unselected Selector.
- encl - Variable in class eu.simuline.util.Finder.Secondary
-
The source finder from which the stream of files is read. **** this is superfluous if this is not static
- entry - Variable in class eu.simuline.util.JavaPath.ZipEntryWrapper
- EQUAL - eu.simuline.testhelpers.Assert.CmpObj
- Error - Class in eu.simuline.junit
-
Represents the testcase Error icon in JUnit.
- Error - eu.simuline.testhelpers.Quality
-
The execution of the testcase failed indicated by finishing with exception or error other than
AssertionFailedError. - Error() - Constructor for class eu.simuline.junit.Error
- eu.simuline.junit - package eu.simuline.junit
-
Except class
AssumptionFailure, this package contains classes representing icons only viaeu.simuline.util.GifResource. - eu.simuline.testhelpers - package eu.simuline.testhelpers
-
Classes needed for testing.
- eu.simuline.util - package eu.simuline.util
-
Utility classes: very inhomogeneous.
- eu.simuline.util.images - package eu.simuline.util.images
- excluded - Variable in class eu.simuline.testhelpers.TestCaseClassLoader
-
Holds the excluded paths.
- EXCLUDED_FILE - Static variable in class eu.simuline.testhelpers.TestCaseClassLoader
-
Name of excluded properties file.
- exec(String[]) - Method in class eu.simuline.util.Finder
-
Convenience method: adds an execution filter to this finder.
- EXEC_ARG - Static variable in class eu.simuline.util.Finder
-
For
Finder.ExecFilters representing a filter invoking a shell command, this string represents the argument of the command which is in the original find a{}and which is replaced by the file name received by the preceding portion of the pipe. - execFilter(String[]) - Static method in class eu.simuline.util.Finder
-
Returns a filter invoking a shell command: just passes the files received by this finder further if the command succeeds according to its return value.
- ExecFilter(String[]) - Constructor for class eu.simuline.util.Finder.ExecFilter
-
Creates an execution filter from the given command and arguments.
- execJava(Finder.Callable) - Method in class eu.simuline.util.Finder
-
Convenience method: adds a java execution filter to this finder.
- execJavaFilter(Finder.Callable) - Static method in class eu.simuline.util.Finder
-
Returns a filter invoking method
Finder.Callable.call(File)of the givencallable. - ExecJavaFilter(Finder.Callable) - Constructor for class eu.simuline.util.Finder.ExecJavaFilter
-
Creates a java execution filter from the given
Finder.Callable. - ExecuteProject - Class in org.javalobby.icons20x20
-
Represents an open icon.
- ExecuteProject() - Constructor for class org.javalobby.icons20x20.ExecuteProject
- ExitAction() - Constructor for class eu.simuline.testhelpers.Actions.ExitAction
- expandAlongPath() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Expands the path to the leaf
GUIRunner.HierarchyWrapper.currPathIterpoints to. - expectedActual(Object, Object) - Static method in class eu.simuline.testhelpers.Assert
- ExtRunListener - Class in eu.simuline.testhelpers
-
Extension of
RunListener, version junit 4.12. - ExtRunListener() - Constructor for class eu.simuline.testhelpers.ExtRunListener
F
- failInd(int[]) - Static method in class eu.simuline.testhelpers.Assert
- failLengthMessage(Object, Object, int[]) - Static method in class eu.simuline.testhelpers.Assert
- failMessage(Object, Object, int[]) - Static method in class eu.simuline.testhelpers.Assert
- failMessageDelta(double, double, int[], double) - Static method in class eu.simuline.testhelpers.Assert
-
Returns a failure message indicating that in comparing nested arrays of final float type as
double[][], the corresponding entries given by index pathindicesdeviate at leastdelta. - failMessageLength(int, int, int[]) - Static method in class eu.simuline.testhelpers.Assert
- failure - Variable in class eu.simuline.testhelpers.TestCase
-
The failure if any; otherwise
null. - Failure - Class in eu.simuline.junit
-
Represents the testcase Failure icon in JUnit.
- Failure - eu.simuline.testhelpers.Quality
-
The execution of the testcase finished gracefully but did not succeed: At least one assertion is hurt, indicated by an
AssertionFailedError. - Failure() - Constructor for class eu.simuline.junit.Failure
- failureListMod - Variable in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
The list of testcases which are either ignored, failed in some sense or with hurt assumption.
- failureSelection - Variable in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
The current selection of
GUIRunner.TestCaseLister.failureListMod. - FALSE - Static variable in class eu.simuline.util.Finder
-
A filter passing no file.
- file - Variable in class eu.simuline.util.JavaPath.OrdFileWrapper
- FILE_SEP - Static variable in class eu.simuline.util.JavaPath
-
The entry of property
file.separatoras a char. - fileEnding() - Method in enum eu.simuline.util.JavaPath.ClsSrc
-
Returns the ending of a class file or of a source file.
- files - Variable in class eu.simuline.util.Finder.Primary
-
The list of files to be returned by
Finder.Primary.next()unwrapping folders recursively. - filter - Variable in class eu.simuline.testhelpers.Actions
-
Defines the filter for tests to be run. **** may be null
- filter - Variable in class eu.simuline.util.Finder.Secondary
-
The filter to be passed before a file is returned by
Finder.Secondary.next(). - Filter() - Constructor for class eu.simuline.util.Finder.Filter
- filters - Variable in class eu.simuline.util.Finder.AndFilter
-
This filter passes a file iff all of these pass if invoked in the natural ordering.
- filters - Variable in class eu.simuline.util.Finder.OrFilter
-
This filter passes a file iff at least one of of these passes if invoked in the natural ordering.
- Finder - Class in eu.simuline.util
-
Emulates the unix shell command
findwhich is invoked asfind [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] - Finder() - Constructor for class eu.simuline.util.Finder
-
This is declared
privateto prevent instantiation. - Finder.AndFilter - Class in eu.simuline.util
-
One of the logical operations of filters: Returns a filter which passes a file iff all original filters in
Finder.AndFilter.filtersdo so. - Finder.Callable - Interface in eu.simuline.util
-
To be implemented by java classes to apply a filter to a file and give feedback whether this filter succeeded.
- Finder.ExecFilter - Class in eu.simuline.util
-
Filter executing a shell command and passes the file received if the shell command succeeds according to its return code.
- Finder.ExecJavaFilter - Class in eu.simuline.util
-
Filter executing a java class implementing
Finder.Callablewhich passes the file received if the methodFinder.Callable.call(File)succeeds according to its return code. - Finder.Filter - Class in eu.simuline.util
-
Represents a file filter.
- Finder.NameFilter - Class in eu.simuline.util
-
Filters files by name.
- Finder.NegFilter - Class in eu.simuline.util
-
One of the logical operations of filters: Returns a filter which passes a file iff the original filter
Finder.NegFilter.tbNegFilterdoes not. - Finder.OrFilter - Class in eu.simuline.util
-
One of the logical operations of filters: Returns a filter which passes a file iff at least one of the original filters in
Finder.OrFilter.filtersdo so. - Finder.Primary - Class in eu.simuline.util
-
The most basic kind of finder: Method
Finder.path(File)returns an instance of this. - Finder.PrintFilter - Class in eu.simuline.util
-
A filter passing all information and printing it on
Finder.PrintFilter.str. - Finder.Secondary - Class in eu.simuline.util
-
A finder wrapping a
Finder.Filter. - firePropertyChange(String, boolean, boolean) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, byte, byte) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, char, char) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, double, double) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, float, float) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, int, int) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, long, long) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, short, short) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- firePropertyChange(String, Object, Object) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- First - eu.simuline.testhelpers.GUIRunner.TreePathIterator.TreePathUpdater
- ForTests() - Constructor for class eu.simuline.testhelpers.AccessorTest.ForTests
- ForTestsB() - Constructor for class eu.simuline.testhelpers.AccessorTest.ForTestsB
- frame - Variable in class eu.simuline.testhelpers.GUIRunner
-
The frame in which the Testrunne GUI is displayed.
- fullSuccess() - Method in class eu.simuline.testhelpers.TestCase
-
Returns whether this test including all sub-tests succeeded.
G
- Generic - eu.simuline.testhelpers.GUIRunner.TreePathIterator.TreePathUpdater
- getActions() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Returns the action.
- getBox() - Method in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Returns a horizontal box with the labels in
GUIRunner.StatisticsTestState.qual2labelintermangled with according icons. - getBreakAction() - Method in class eu.simuline.testhelpers.Actions
- getChildren() - Method in class eu.simuline.testhelpers.TestCase
-
Returns the list of children given by
TestCase.children. - getChosenClass() - Method in class eu.simuline.testhelpers.GUIRunner.ClassChooser
-
Opens the class chooser dialog and returns the choosen class or
nullif either no file was selected, a file is selected which does not exist or does not represent a java class file. - getColor() - Method in enum eu.simuline.testhelpers.Quality
-
Returns the color associated with this phase: If this phase represents an irregular ending testcase,
Quality.COLOR_FAILis returned. - getConstructor(Class<T>, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the specified constructor if
aClasoffers exactly one possibility with the given parameters. - getDesc() - Method in class eu.simuline.testhelpers.TestCase
-
Returns the description of this testcase given by
TestCase.desc. - getExitAction() - Method in class eu.simuline.testhelpers.Actions
- getFailList() - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
- getField(Class<?>, Object, String) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the value of the specified static field or member field resp. its wrapper.
- getField(Class<?>, String) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the value of the specified static field resp. its wrapper.
- getField(Object, String) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the value of the specified member field resp. its wrapper.
- getFieldObj(Class<?>, String, boolean) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the specified
Fieldobject if possible. - getFile() - Method in interface eu.simuline.util.JavaPath.FileWrapper
-
Returns the file wrapped.
- getFile() - Method in class eu.simuline.util.JavaPath.OrdFileWrapper
- getFile() - Method in class eu.simuline.util.JavaPath.ZipEntryWrapper
- getFile(String) - Method in class eu.simuline.util.JavaPath
- getFile(String, JavaPath.ClsSrc) - Method in class eu.simuline.util.JavaPath
-
Converts a class name into the corresponding source file or class file if possible.
- getIcon() - Method in enum eu.simuline.testhelpers.Quality
-
Returns an icon representing this phase on the GUI.
- getIcon(Class<? extends GifResource>) - Static method in class eu.simuline.util.images.GifResource
-
Converts a GifResource class into the corresponding icon.
- getIdx() - Method in class eu.simuline.testhelpers.TestCase
-
Returns the index of this testcase as described in
TestCase.idxTest. - getInnerClass(Class<?>, String) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the inner class of
enclosingClswith the specified nameinnerClsName. - getInnerClass(Class<?>, String[]) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the inner class of
enclosingClswith the specified nameinnerClsName. - getInputStream() - Method in interface eu.simuline.util.JavaPath.FileWrapper
-
Returns an input stream for the file wrapped.
- getInputStream() - Method in class eu.simuline.util.JavaPath.OrdFileWrapper
- getInputStream() - Method in class eu.simuline.util.JavaPath.ZipEntryWrapper
- getInputStream(String) - Method in class eu.simuline.util.JavaPath
- getListCellRendererComponent(JList<? extends TestCase>, TestCase, int, boolean, boolean) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer
- getLocFileName(File) - Method in class eu.simuline.util.JavaPath
- getMessage() - Method in enum eu.simuline.testhelpers.Quality
-
Returns a status message which describes this phase.
- getMethod(Class<?>, String, Method[], Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the specified method if
candsoffers exactly one possibility. - getNext() - Method in class eu.simuline.util.Finder.Secondary
- getOpenAction() - Method in class eu.simuline.testhelpers.Actions
- getParamCls(Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the classes of the given parameters.
- getPath() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
- getPath() - Method in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
- getQuality() - Method in class eu.simuline.testhelpers.TestCase
-
Returns the phase of this testcase as described in
TestCase.qual. - getResource(String) - Method in class eu.simuline.testhelpers.TestCaseClassLoader
- getResourceAsStream(String) - Method in class eu.simuline.testhelpers.TestCaseClassLoader
- getRoot() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
- getRunner() - Method in class eu.simuline.testhelpers.Actions
- getStackTraceBox() - Method in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
Returns a graphical representation of this StackTraceLister.
- getStackTraceBox() - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
- getStartAction() - Method in class eu.simuline.testhelpers.Actions
- getStopAction() - Method in class eu.simuline.testhelpers.Actions
- getThrown() - Method in class eu.simuline.testhelpers.TestCase
-
Returns
nullif no failure occurred. - getTime() - Method in class eu.simuline.testhelpers.TestCase
-
If this testcase is a single testcase which has been finished, this is the span of time required to run this test.
- getToBeInvoked(Class<?>, String, Class<?>...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns the specified method if it exists; otherwise
null. - getTree() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
- getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - Method in class eu.simuline.testhelpers.GUIRunner.TestTreeCellRenderer
-
Renders the
valueinterpreting it as Node the user object of which is aTestCase. - getWrappedCls(Class<?>, boolean) - Static method in class eu.simuline.util.BasicTypesCompatibilityChecker
-
Maps a wrapper class
clsto wrapped primitive class. - getWrapperCls(Class<?>, boolean) - Static method in class eu.simuline.util.BasicTypesCompatibilityChecker
-
Maps a primitive class
clsto the corresponding wrapper class. - GIF_END - Static variable in class eu.simuline.util.images.GifResource
-
The ending of a gif file.
- GifResource - Class in eu.simuline.util.images
-
Provides a single method only,
GifResource.getIcon(Class), which returns the icon associated with the given class. - GifResource() - Constructor for class eu.simuline.util.images.GifResource
- GIFS - Static variable in class eu.simuline.util.images.GifResource
-
A cache for gif-files represented by GifResources.
- GREATER - eu.simuline.testhelpers.Assert.CmpObj
- GREATER_EQ - eu.simuline.testhelpers.Assert.CmpObj
- GUIRunListener - Class in eu.simuline.testhelpers
-
An
ExtRunListenerwhich notifies the GUIGUIRunnerof the events occuring while running a testsuite and which comprises a textual run listener. - GUIRunListener(GUIRunner) - Constructor for class eu.simuline.testhelpers.GUIRunListener
- guiRunner - Variable in class eu.simuline.testhelpers.Actions
- guiRunner - Variable in class eu.simuline.testhelpers.GUIRunListener
- GUIRunner - Class in eu.simuline.testhelpers
-
The GUI of a JUnit test-runner.
- GUIRunner(Actions) - Constructor for class eu.simuline.testhelpers.GUIRunner
-
Creates a new
GUIRunnerinstance which defines components with unloaded test class. - GUIRunner.ClassChooser - Class in eu.simuline.testhelpers
-
Provides a method to choose a test class.
- GUIRunner.HierarchyWrapper - Class in eu.simuline.testhelpers
-
Represents the hierarchy of testsuites and testcases as a tree
GUIRunner.HierarchyWrapper.hierarchyTreepossibly with a single selected node given byGUIRunner.HierarchyWrapper.singleSelectedNode. - GUIRunner.Selector - Interface in eu.simuline.testhelpers
-
Minimal interface for notifying about singular selection events.
- GUIRunner.StackTraceLister - Class in eu.simuline.testhelpers
-
Represents the stack trace of the throwable,
GUIRunner.StackTraceLister.thrwcurrently selected in the error list. - GUIRunner.StatisticsTestState - Class in eu.simuline.testhelpers
-
Represents the table displaying the number of runs, both, passed and to be performed altogether, the tests already ignored and those a failure or an error was found.
- GUIRunner.TabChangeListener - Class in eu.simuline.testhelpers
-
A listener to the switching of a tab in the foreground; the other in the background.
- GUIRunner.TestCaseLister - Class in eu.simuline.testhelpers
-
Represents the list of testcases already failed shown in one of the tabs and a
GUIRunner.TestCaseLister.stackTraceListerwhich represents the stack trace box below the tabbed pane. - GUIRunner.TestListCellRenderer - Class in eu.simuline.testhelpers
-
A special renderer object consisting of a label and a location within java code for an item in a failure list.
- GUIRunner.TestListCellRenderer.XLabel - Class in eu.simuline.testhelpers
-
A special kind of label which fires only change in the text and which allows to set details: selection and focus.
- GUIRunner.TestProgressBar - Class in eu.simuline.testhelpers
-
The progress bar indicating how much of the testcases already passed.
- GUIRunner.TestTreeCellRenderer - Class in eu.simuline.testhelpers
-
To render a cell of the hierarchy tree.
- GUIRunner.TreePathIterator - Class in eu.simuline.testhelpers
-
Represents a path
GUIRunner.TreePathIterator.currPathin the tree of testsuites represented byGUIRunner.TreePathIterator.treeModel. - GUIRunner.TreePathIterator.TreePathUpdater - Enum in eu.simuline.testhelpers
-
Expands the tree along the current path, for
GUIRunner.TreePathIterator.TreePathUpdater.Genericafter incrementing the current path.
H
- Hammer - Class in org.javalobby.icons20x20
-
Represents an open icon.
- Hammer() - Constructor for class org.javalobby.icons20x20.Hammer
- hasFailed() - Method in class eu.simuline.testhelpers.TestCase
-
Returns whether
TestCase.getThrown()returns non-null. - hasFailure() - Method in enum eu.simuline.testhelpers.Quality
-
Returns whether the given state is tied to a throwable.
- hasNext() - Method in class eu.simuline.util.Finder
-
Returns whether this Finder can emit another file.
- hasNext() - Method in class eu.simuline.util.Finder.Primary
-
Has a next file iff
Finder.Primary.filesis not empty. - hasNext() - Method in class eu.simuline.util.Finder.Secondary
- Hierarchy - Class in eu.simuline.junit
-
Represents the testsuite hierarchy icon in JUnit.
- Hierarchy() - Constructor for class eu.simuline.junit.Hierarchy
- HIERARCHY_ICON - Static variable in class eu.simuline.testhelpers.GUIRunner
-
The icon representing the hierarchy of tests: used for the tabbed pane.
- hierarchyTree - Variable in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
The hierarchy of testsuites and testcases as a tree.
- HierarchyWrapper(Actions, GUIRunner.TestCaseLister) - Constructor for class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Creates a new HierarchyWrapper with the given
actionsandtestCaseListerwhich are used to initializeGUIRunner.HierarchyWrapper.actionsandGUIRunner.HierarchyWrapper.testCaseLister. - HORIZ_BOUNDARY - Static variable in class eu.simuline.testhelpers.GUIRunner
-
Represents the horizontal space used for the boundary.
- HORIZ_BOUNDARY2 - Static variable in class eu.simuline.testhelpers.GUIRunner
-
Represents double of the horizontal space used for the boundary.
- HORIZ_FRAME - Static variable in class eu.simuline.testhelpers.GUIRunner
-
The horizontal size of the frame.
I
- idx - Variable in class eu.simuline.util.Finder.PrintFilter
- idxTest - Variable in class eu.simuline.testhelpers.TestCase
-
The index of this testcase if this is a (singular) test; otherwise
-1. - Ignored - Class in eu.simuline.junit
-
Represents the Ignored testcase icon in JUnit.
- Ignored - eu.simuline.testhelpers.Quality
-
The testcase was ignored, i.e. was scheduled for execution but then decided not to start execution.
- Ignored() - Constructor for class eu.simuline.junit.Ignored
- incPath() - Method in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
-
Increments
GUIRunner.TreePathIterator.currPathand returns the result. - initClassStructure() - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
Clears the failure list, its selection and the failure stack.
- initClassStructure(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Notifies that the structure of the test class may have been updated.
- initClassStructure(Description) - Method in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Notifies that the structure of the test class may have been updated.
- initClassStructure(Description) - Method in class eu.simuline.testhelpers.GUIRunner.TestProgressBar
-
Notifies that the structure of the test class may have been updated.
- INNER_CLASS_SEP - Static variable in class eu.simuline.util.JavaPath
-
Java's class separator
$separating inner classes from their enclosing classes. - INNER_SEPARATOR - Static variable in class eu.simuline.testhelpers.Accessor
-
The separator between a class and its enclosing class for inner classes.
- invalidate() - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- Invalidated - eu.simuline.testhelpers.Quality
-
The execution of the testcase ran onto an hurt assumption before maybe running into further exceptions or errors and is thus invalidated.
- invoke(Class<?>, Object, String, Class<?>[], Object[]) - Static method in class eu.simuline.testhelpers.Accessor
-
If more than one method with the same parameter types is declared in a class, and one of these methods has a return type that is more specific than any of the others, that method is returned; otherwise one of the methods is chosen arbitrarily.
- invoke(Class<?>, Object, String, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Invokes the specified method with the given parameters and returns the value (which may be void of course. )
- invoke(Object, String, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
For invoking member methods.
- invoke(Method, Object, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Invokes the specified method with the given parameters and returns the value (which may be void of course. )
- invokeCompare(E, E, Comparator<E>) - Static method in class eu.simuline.testhelpers.Assert
-
Returns
cmp.compare(expected, actual)if possible. - invokeCompareTo(Comparable<?>, Object) - Method in enum eu.simuline.testhelpers.Assert.CmpObj
-
Returns
expected.compareTo(actual)if possible. - invokeStatic(Class<?>, String, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
For invoking static methods.
- IS_DIR - Static variable in class eu.simuline.util.Finder
-
Filter passing the file received iff it is a regular file.
- IS_FILE - Static variable in class eu.simuline.util.Finder
-
Filter passing the file received iff it is a regular file.
- isExcluded(String) - Method in class eu.simuline.testhelpers.TestCaseClassLoader
-
Returns whether the name with the given name is excluded from being loaded.
- isNeutral() - Method in enum eu.simuline.testhelpers.Quality
-
Returns whether the underlying testcase is neither finished unsuccessfully nor ignored.
- isOpaque() - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- isPrimitive(Class<?>) - Static method in class eu.simuline.util.BasicTypesCompatibilityChecker
-
Returns whether
clsrepresents a primitive type. - isRunning - Variable in class eu.simuline.testhelpers.Actions
-
Defines whether a test is running.
- isSelected(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Returns whether the given testcase
testCaseis selected in this HierarchyTree. - isTest() - Method in class eu.simuline.testhelpers.TestCase
-
Returns whether this testcase is a (singular) test.
- isValid(int) - Method in enum eu.simuline.testhelpers.Assert.CmpObj
-
Returns whether
isValidmethod here.
J
- JAR_END - Static variable in class eu.simuline.util.JavaPath
-
File ending
.jaridentifying jar-files. - JavaPath - Class in eu.simuline.util
-
Represents a path to find class and source files on.
- JavaPath(String) - Constructor for class eu.simuline.util.JavaPath
-
Creates a new
JavaPathinstance. - JavaPath.ClsSrc - Enum in eu.simuline.util
-
Determines whether a class file or a source file is meant.
- JavaPath.FileWrapper - Interface in eu.simuline.util
-
Wrapps a file directly found within a directory or within a zip-archive which also includes jar-archives.
- JavaPath.OrdFileWrapper - Class in eu.simuline.util
-
Represents an ordinary file
JavaPath.OrdFileWrapper.fileon a file system. - JavaPath.ZipEntryWrapper - Class in eu.simuline.util
-
Represents a file
JavaPath.ZipEntryWrapper.entrywhich is an entry in a zip-fileJavaPath.ZipEntryWrapper.zipFile. - JavaPath.ZipEntryWrapper.WrappedInputStream - Class in eu.simuline.util
-
A filter input stream closing
JavaPath.ZipEntryWrapper.zipFilewhen closing the stream. - jPath - Variable in class eu.simuline.testhelpers.TestCaseClassLoader
-
The scanned class path.
- JUnitSingleTester - Class in eu.simuline.testhelpers
-
Runs a bunch of tests using
Actions.runTestClass(String). - JUnitSingleTester() - Constructor for class eu.simuline.testhelpers.JUnitSingleTester
L
- LEN_BUFFER - Static variable in class eu.simuline.util.JavaPath
-
The length of a buffer to read at once.
- LEN_CLS_STREAM - Static variable in class eu.simuline.testhelpers.TestCaseClassLoader
-
The initial length of a stream to read class files from.
- LESS - eu.simuline.testhelpers.Assert.CmpObj
- LESS_EQ - eu.simuline.testhelpers.Assert.CmpObj
- level - Variable in enum eu.simuline.testhelpers.Quality
-
Encoding how good the result of the test is:
2if something went wrong:Quality.ErrororQuality.Failure. - listener - Variable in class eu.simuline.testhelpers.Actions
- loadClass(String, boolean) - Method in class eu.simuline.testhelpers.TestCaseClassLoader
- locFile2cls(String, JavaPath.ClsSrc) - Method in class eu.simuline.util.JavaPath
- locFile2Wrapper(String) - Method in class eu.simuline.util.JavaPath
-
Converts a local file name into the wrapper of the file found on the path.
- Logo - Class in eu.simuline.junit
-
Represents the JUnit logo.
- Logo() - Constructor for class eu.simuline.junit.Logo
- LOGO_ICON - Static variable in class eu.simuline.testhelpers.GUIRunner
-
The (big) JUnit-logo.
- lookupClassData(String) - Method in class eu.simuline.testhelpers.TestCaseClassLoader
M
- Magnify - Class in org.javalobby.icons20x20
-
Represents a magnify icon.
- Magnify() - Constructor for class org.javalobby.icons20x20.Magnify
- main(String[]) - Static method in class eu.simuline.testhelpers.AccessorTest
-
Runs the test case.
- main(String[]) - Static method in class eu.simuline.testhelpers.Actions
- main(String[]) - Static method in class eu.simuline.testhelpers.JUnitSingleTester
-
Runs all testclasses in the directory given by the 0th argument in the package given by the 1st argument.
- main(String[]) - Static method in class eu.simuline.util.Finder
- main(String[]) - Static method in class eu.simuline.util.images.GifResource
- main(String[]) - Static method in class eu.simuline.util.JavaPath
- MAP_BASIC_TYPE2WRAPPER - Static variable in class eu.simuline.util.BasicTypesCompatibilityChecker
-
Maps basic classes to the corresponding wrapper classes.
- MAP_WRAPPER2BASIC_TYPE - Static variable in class eu.simuline.util.BasicTypesCompatibilityChecker
-
Maps wrapper classes to the corresponding basic classes.
- max(Quality) - Method in enum eu.simuline.testhelpers.Quality
-
Determines a Quality with the maximum level of
thisandother. - message - Variable in enum eu.simuline.testhelpers.Assert.CmpObj
-
Core part of the message when the relation fails.
- methodMatches(Method, String, Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns whether the given method matches the name and the parameter list.
N
- name(String) - Method in class eu.simuline.util.Finder
-
Convenience method: adds a name filter to this finder.
- nameFilter(String) - Static method in class eu.simuline.util.Finder
-
Returns a filter passing a file iff its (short) names of which match the regular expression
pattern. - NameFilter(String) - Constructor for class eu.simuline.util.Finder.NameFilter
- NegFilter(Finder.Filter) - Constructor for class eu.simuline.util.Finder.NegFilter
- New - Class in eu.simuline.junit
-
Represents the Scheduled testcase icon in JUnit.
- New - Class in org.javalobby.icons20x20
-
Represents a "new" icon.
- New() - Constructor for class eu.simuline.junit.New
- New() - Constructor for class org.javalobby.icons20x20.New
- next - Variable in class eu.simuline.util.Finder.Secondary
-
The next file to be returned by
Finder.Secondary.next()if any, i.e. ifFinder.Secondary.hasNext()returnstrue; otherwise this field isnull. - next() - Method in class eu.simuline.util.Finder
-
Returns the next file this finder can emit.
- next() - Method in class eu.simuline.util.Finder.Primary
-
If the topmost entry of
Finder.Primary.filesis no folder, this is returned as is. - next() - Method in class eu.simuline.util.Finder.PrintFilter
- next() - Method in class eu.simuline.util.Finder.Secondary
- NO_FOCUS_BORDER - Static variable in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer
- NonStatic() - Constructor for class eu.simuline.testhelpers.AccessorTest.NonStatic
- NonStatic1() - Constructor for class eu.simuline.testhelpers.AccessorTest.NonStatic.NonStatic1
- not() - Method in class eu.simuline.util.Finder.Filter
-
Returns a filter which passes a file iff
filterdoes not. - not(Finder.Filter) - Method in class eu.simuline.util.Finder
-
Convenience method: Returns a finder by attaching the inverse of the given filter.
- NOT_EQUAL - eu.simuline.testhelpers.Assert.CmpObj
- noteReportResult(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Notifies that the singular test
testCaseis finished. - noteReportResult(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner
-
Notifies that the singular test
testCaseis finished, whether successful or not or that a test is ignored after invokingGUIRunner.noteTestStartedI(Quality)with parameterQuality.Ignored. - noteReportResult(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Notifies that the singular test
testCaseis finished. - noteReportResult(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
Notifies that the singular test
testCaseis finished. - noteReportResult(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.TestProgressBar
-
Notifies that the singular test
testCaseis finished. - noteTestStartedI(Quality) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Notifies that an atomic test is started or ignored.
- noteTestStartedI(Quality) - Method in class eu.simuline.testhelpers.GUIRunner
-
Notifies that an atomic test is started or ignored.
- notifier - Variable in class eu.simuline.testhelpers.Actions.CoreRunner
-
The notifier to run the tests as in JUnitCore.
- NotYetImplementedException - Exception in eu.simuline.util
-
Thrown if a place in the code is reached, where implementation is not finished.
- NotYetImplementedException() - Constructor for exception eu.simuline.util.NotYetImplementedException
- numRuns - Variable in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
The overall number of runs, to be done, in execution or not yet started.
- numRunsDone - Variable in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
The number of runs already finished.
O
- Ok - Class in eu.simuline.junit
-
Represents the testcase Succeeded icon in JUnit.
- Ok() - Constructor for class eu.simuline.junit.Ok
- Open - Class in org.javalobby.icons16x16
-
Represents an open icon.
- Open - Class in org.javalobby.icons20x20
-
Represents an open icon.
- Open() - Constructor for class org.javalobby.icons16x16.Open
- Open() - Constructor for class org.javalobby.icons20x20.Open
- openAction - Variable in class eu.simuline.testhelpers.Actions
-
The action to open a new testclass.
- OpenAction() - Constructor for class eu.simuline.testhelpers.Actions.OpenAction
- openClassChooser() - Method in class eu.simuline.testhelpers.GUIRunner
-
Opens the class chooser dialog and returns the choosen class or
nullif either no file was selected, a file is selected which does not exist or does not represent a java class file. - or(Finder.Filter[]) - Static method in class eu.simuline.util.Finder.Filter
-
Returns a filter which passes a file iff at least one filter in
filtersdoes so. - or(Finder.Filter[]) - Method in class eu.simuline.util.Finder
-
Convenience method: Returns a finder by attaching an or-filter.
- OrdFileWrapper(File) - Constructor for class eu.simuline.util.JavaPath.OrdFileWrapper
- OrFilter(Finder.Filter[]) - Constructor for class eu.simuline.util.Finder.OrFilter
- org.javalobby.icons16x16 - package org.javalobby.icons16x16
-
Classes which describe icons in gtk-style.
- org.javalobby.icons20x20 - package org.javalobby.icons20x20
-
Classes which describe icons in format 20x20.
P
- paramsMatch(Class<?>[], Object...) - Static method in class eu.simuline.testhelpers.Accessor
-
Returns whether the given the parameter list matches the classes.
- paramsToString(Class<?>...) - Static method in class eu.simuline.testhelpers.Accessor
-
Converts a list of classes into their string-representation.
- pass(File) - Method in class eu.simuline.util.Finder.AndFilter
- pass(File) - Method in class eu.simuline.util.Finder.ExecFilter
-
The given file passes this filter, i.e. this method returns
trueif the shell command given byFinder.ExecFilter.cmdsucceeds according to its return value (which is then zero). - pass(File) - Method in class eu.simuline.util.Finder.ExecJavaFilter
-
The given file passes this filter, i.e. this method returns
true, if so doesFinder.ExecJavaFilter.callable. - pass(File) - Method in class eu.simuline.util.Finder.Filter
-
Returns for the given file whether this file passes this filter.
- pass(File) - Method in class eu.simuline.util.Finder.NameFilter
- pass(File) - Method in class eu.simuline.util.Finder.NegFilter
-
Passes the given file iff
Finder.NegFilter.tbNegFilterdoes not. - pass(File) - Method in class eu.simuline.util.Finder.OrFilter
- path(File) - Static method in class eu.simuline.util.Finder
-
Returns a basic finder, emitting the given file if it exists and is accessible and, recursively, if it is a directory all files therein.
- PATH_SEP - Static variable in class eu.simuline.util.JavaPath
-
The entry of property
path.separator. - pattern - Variable in class eu.simuline.util.Finder.NameFilter
-
The pattern to filter the filenames with.
- pleaseStop() - Method in class eu.simuline.testhelpers.Actions.CoreRunner
- Primary(File) - Constructor for class eu.simuline.util.Finder.Primary
-
Pushes
filetoFinder.Primary.files. - Primary(File[]) - Constructor for class eu.simuline.util.Finder.Primary
- print(PrintStream) - Method in class eu.simuline.util.Finder
-
Adds a trivial filter passing all files received by this finder printing their full names to
str. - PrintFilter(Finder, PrintStream) - Constructor for class eu.simuline.util.Finder.PrintFilter
- privateMethod(int) - Method in class eu.simuline.testhelpers.AccessorTest.ForTests
- privateMethod(int) - Method in class eu.simuline.testhelpers.AccessorTest.ForTestsB
- privateStaticMethod(int) - Static method in class eu.simuline.testhelpers.AccessorTest.ForTests
- privateStaticMethod(int) - Static method in class eu.simuline.testhelpers.AccessorTest.ForTestsB
- progress - Variable in class eu.simuline.testhelpers.GUIRunner
-
The progress bar indicating how much of the testcases already passed.
- prolonguePath(TreePath) - Static method in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
-
Prolongues path as long as possible in each step with 0th child.
- PROP_KEY_NO_CLS_RELOAD - Static variable in class eu.simuline.testhelpers.TestCaseClassLoader
-
Key of system property containing a ":"-separated list of packages or classes to be excluded from reloading.
- protectedMethod(int) - Method in class eu.simuline.testhelpers.AccessorTest.ForTests
- protectedMethod(int) - Method in class eu.simuline.testhelpers.AccessorTest.ForTestsB
Q
- qual - Variable in class eu.simuline.testhelpers.GUIRunner.TestProgressBar
-
The maximal quality found in testcases so far.
- qual - Variable in class eu.simuline.testhelpers.TestCase
-
The phase of this testcase.
- qual2label - Variable in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Maps the quality with level
> 0to the according labels. - qual2num - Variable in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Maps the quality with any level to the number of testcases already finished or ignored with according state.
- Quality - Enum in eu.simuline.testhelpers
-
Represents the phases in the life-cycle of a
TestCasefrom beingQuality.ScheduledtoQuality.Ignoredor viaQuality.Startedto finished which means eitherQuality.Invalidated,Quality.Success,Quality.Failureor evenQuality.Error. - Quality(int) - Constructor for enum eu.simuline.testhelpers.Quality
-
Creates another Quality with the given level
Quality.level.
R
- random(boolean) - Static method in class eu.simuline.testhelpers.DTestHelper
-
Returns a random number with absolute value in
[0,1]. - readExcludedPackages() - Method in class eu.simuline.testhelpers.TestCaseClassLoader
- registerSelector(GUIRunner.Selector) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
- registerSelector(GUIRunner.Selector) - Method in interface eu.simuline.testhelpers.GUIRunner.Selector
-
Acquaints this selector with another one which is notified of the selection events of this
Selector. - registerSelector(GUIRunner.Selector) - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
- repaint() - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- repaint(long, int, int, int, int) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- repaint(Rectangle) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- RESOURCE - Static variable in class eu.simuline.util.images.GifResource
-
src/main/resource/: the directory of the resources within simuline-developing environment. **** bad: path is hardcoded **** - revalidate() - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- roots - Variable in class eu.simuline.util.JavaPath
-
The list of entries of this path.
- RotCCDown - Class in org.javalobby.icons20x20
-
Represents a RotCCDown icon resembling reload.
- RotCCDown() - Constructor for class org.javalobby.icons20x20.RotCCDown
- RotCCLeft - Class in org.javalobby.icons20x20
-
Represents a RotCCDown icon resembling reload.
- RotCCLeft() - Constructor for class org.javalobby.icons20x20.RotCCLeft
- run() - Method in class eu.simuline.testhelpers.Actions.CoreRunner
-
Loads the class with name
Actions.CoreRunner.testClassNamewith aTestCaseClassLoaderto allow reloading. - run(Request) - Method in class eu.simuline.testhelpers.Actions.CoreRunner
- runFromMain() - Static method in class eu.simuline.testhelpers.Actions
-
The fundamental method to start tests with the underlying JUnit-GUI.
- runListener1 - Variable in class eu.simuline.testhelpers.SeqRunListener
- runListener2 - Variable in class eu.simuline.testhelpers.SeqRunListener
- runs - Variable in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Label for the number of runs done and to be executed.
- runTestClass(String) - Static method in class eu.simuline.testhelpers.Actions
-
The fundamental method to start tests with the underlying JUnit-GUI.
S
- Scheduled - eu.simuline.testhelpers.Quality
-
The testcase is scheduled for execution but execution has not yet been started nor has it been decided to ignore, i.e. not to execute the testcase.
- Secondary(Finder, Finder.Filter) - Constructor for class eu.simuline.util.Finder.Secondary
-
Create a finder receiving a stream of files from
encland passing them further viaFinder.Secondary.next()if they pass the filterfilter. - SEL_IND1 - Static variable in class eu.simuline.testhelpers.GUIRunner.TabChangeListener
-
The index of the tab selected initially.
- selector - Variable in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Selector to be influenced: If this is in the selected tab,
GUIRunner.HierarchyWrapper.selectoris the tab with theTestCaseLister; otherwise it isGUIRunner.TabChangeListener.EMPTY_SELECTOR. - selector - Variable in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
Selector to be influenced: If this is in the selected tab,
GUIRunner.TestCaseLister.selectoris the tab with theGUIRunner.HierarchyWrapper; otherwise it isGUIRunner.TabChangeListener.EMPTY_SELECTOR. - selectors - Variable in class eu.simuline.testhelpers.GUIRunner.TabChangeListener
- SeqRunListener - Class in eu.simuline.testhelpers
-
Describe class
SeqRunListenerhere. - SeqRunListener(ExtRunListener, ExtRunListener) - Constructor for class eu.simuline.testhelpers.SeqRunListener
- SeqRunListener(GUIRunner) - Constructor for class eu.simuline.testhelpers.SeqRunListener
- serialVersionUID - Static variable in class eu.simuline.testhelpers.Actions.BreakAction
- serialVersionUID - Static variable in class eu.simuline.testhelpers.Actions.ExitAction
- serialVersionUID - Static variable in class eu.simuline.testhelpers.Actions.OpenAction
- serialVersionUID - Static variable in class eu.simuline.testhelpers.Actions.StartAction
- serialVersionUID - Static variable in class eu.simuline.testhelpers.Actions.StopAction
- serialVersionUID - Static variable in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
- serialVersionUID - Static variable in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer
- serialVersionUID - Static variable in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
- serialVersionUID - Static variable in class eu.simuline.testhelpers.GUIRunner.TestProgressBar
- serialVersionUID - Static variable in class eu.simuline.testhelpers.GUIRunner.TestTreeCellRenderer
- serialVersionUID - Static variable in exception eu.simuline.util.NotYetImplementedException
- setAssumptionFailure() - Method in enum eu.simuline.testhelpers.Quality
-
Returns the next phase when
RunListener.testAssumptionFailure(Failure)is invoked. - setAssumptionFailure(Failure) - Method in class eu.simuline.testhelpers.TestCase
-
Triggers a transition of the current phase if the assumption failure
failureoccurs. - setCenter(Actions) - Method in class eu.simuline.testhelpers.GUIRunner
- setDetails(JList<?>, boolean, boolean) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
- setEnableForRun(boolean) - Method in class eu.simuline.testhelpers.Actions
-
Updates the action-enablements depending on whether a test is running or not: Open and Start action are enabled iff no test is running, whereas stop and break actions are enabled iff some test is running.
- setFailure(Throwable) - Method in enum eu.simuline.testhelpers.Quality
-
Returns the next phase when
RunListener.testFailure(Failure)is invoked. - setFailure(Failure) - Method in class eu.simuline.testhelpers.TestCase
-
Triggers a transition of the current phase if the non-assumption failure
failureoccurs. - setField(Class<?>, Object, String, Object) - Static method in class eu.simuline.testhelpers.Accessor
-
If the type of the specified field extends
Object, invoking this method acts liketarget.field = value; otherwise the argumentvalueis unwrapped first. - setField(Class<?>, String, Object) - Static method in class eu.simuline.testhelpers.Accessor
-
If the type of the specified field extends
Object, invoking this method acts likeaClass.fieldName = value; otherwise the argumentvalueis unwrapped first. - setField(Object, String, Object) - Static method in class eu.simuline.testhelpers.Accessor
-
If the type of the specified field extends
Object, invoking this method acts liketarget.fieldName = value; otherwise the argumentvalueis unwrapped first. - setFilter() - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Sets the filter (given by a description) invoking
Actions.setFilter(Description): The description is taken fromGUIRunner.HierarchyWrapper.singleSelectedNode. - setFilter(Description) - Method in class eu.simuline.testhelpers.Actions
-
Sets
Actions.filteraccording tofilter. - setFinished() - Method in enum eu.simuline.testhelpers.Quality
-
Returns the next phase when
RunListener.testFinished(Description)is invoked. - setFinished() - Method in class eu.simuline.testhelpers.TestCase
-
Triggers a transition of the current phase given by finishing the run of a singular testcase if possible as specified by
Quality.setFinished(). - setFirstPath() - Method in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
-
Initializes
GUIRunner.TreePathIterator.currPathwith the first path inGUIRunner.TreePathIterator.treeModel. **** Shall be invoked by TreePathUpdater only **** - setIgnored() - Method in enum eu.simuline.testhelpers.Quality
-
Returns the next phase when
RunListener.testIgnored(Description)is invoked. - setMenuBar(Actions) - Method in class eu.simuline.testhelpers.GUIRunner
- setQualStartedIgnored(Quality) - Method in class eu.simuline.testhelpers.TestCase
-
Triggers a transition of the current phase to
qualif possible; otherwise throws an exception. - setScheduled() - Method in enum eu.simuline.testhelpers.Quality
-
Returns the next phase when
RunListener.testRunStarted(Description)is invoked. - setScheduledRec() - Method in class eu.simuline.testhelpers.TestCase
-
Recursively triggers a transition of the current phase to
Quality.Scheduled: If this is a test, just setTestCase.qualtoQuality.Scheduledif possible updatingTestCase.failureandTestCase.time. - setSelection(int) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
- setSelection(int) - Method in interface eu.simuline.testhelpers.GUIRunner.Selector
-
Sets selection of
indexth item and clears other selections. - setSelection(int) - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
- setSelUnSel(int) - Method in class eu.simuline.testhelpers.GUIRunner.TabChangeListener
-
Makes the tab with the given index in the foreground and the other one in the background.
- setStack(Throwable) - Method in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
Represents the throwable
thrwif this is notnull; otherwise just clears this stack trace lister as is done byGUIRunner.StackTraceLister.clearStack(). - setStarted() - Method in enum eu.simuline.testhelpers.Quality
-
Returns the next phase when
RunListener.testStarted(Description)is invoked. - setStatus(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner
-
Sets a status message describing
testCaseto the status bar usingGUIRunner.setStatus(String). - setStatus(String) - Method in class eu.simuline.testhelpers.GUIRunner
-
Sets the message
msgto the status bar. - setTime(long) - Method in enum eu.simuline.testhelpers.Quality
-
Returns the difference of the current time in milliseconds.
- setUp() - Method in class eu.simuline.testhelpers.AccessorTest
-
Initializes this class and all its inner classes
- shortenPath() - Method in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
-
Replaces
GUIRunner.TreePathIterator.currPathremoving the last node as long as the last node in the path is the last child of the last but one node and after having done this returns the index of the last node as a child of the last but one node. - singleSelectedNode - Variable in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Represents the selected node in
GUIRunner.HierarchyWrapper.hierarchyTree. - SMALL_LOGO_ICON - Static variable in class eu.simuline.testhelpers.GUIRunner
-
The small JUnit-logo on top left of this frame. **** still this is not displayed properly ****.
- SmallLogo - Class in eu.simuline.junit
-
Represents the small JUnit logo.
- SmallLogo() - Constructor for class eu.simuline.junit.SmallLogo
- Source - eu.simuline.util.JavaPath.ClsSrc
- SOURCEPATH - Static variable in class eu.simuline.testhelpers.GUIRunner
-
The name of the system property the value of which is the source path.
- splitPane - Variable in class eu.simuline.testhelpers.GUIRunner
-
Represents the split pane with a tabbed pane as top component and the stack trace box as bottom component.
- stackElemSelection - Variable in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
The selection of this stack trace: This is either empty (which is mandatory for empty
GUIRunner.StackTraceLister.thrwMessager) or selects a single stack element. - stacktrace - Variable in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
Is either empty or contains the stacktrace of the represented throwable
GUIRunner.StackTraceLister.thrw. - stackTraceLister - Variable in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
Contains the stack trace if a failure in
GUIRunner.TestCaseLister.failureListModis selected which caused an exception. - StackTraceLister() - Constructor for class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
Creates a new StackTraceLister with empty throwable.
- startAction - Variable in class eu.simuline.testhelpers.Actions
-
The action to run a testcase.
- StartAction() - Constructor for class eu.simuline.testhelpers.Actions.StartAction
- Started - eu.simuline.testhelpers.Quality
-
The execution of the testcase started but did not finish in any way.
- startTestRun() - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
- startTestRun(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Notifies that a test with structure given by
descis going to be run next. - startTestRun(TestCase) - Method in class eu.simuline.testhelpers.GUIRunner.TestProgressBar
-
Notifies that a test run given by
testCaseis going to be run next. - startTestRun(Description) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Notifies that a test run with structure given by
descis going to be run next. - stateChanged(ChangeEvent) - Method in class eu.simuline.testhelpers.GUIRunner.TabChangeListener
- Static() - Constructor for class eu.simuline.testhelpers.AccessorTest.Static
- Static2() - Constructor for class eu.simuline.testhelpers.AccessorTest.Static.Static2
- statisticsTestState - Variable in class eu.simuline.testhelpers.GUIRunner
-
Represents the table displaying the number of runs, both passed and to be performed altogether, the tests already ignored and those in which an error was found.
- StatisticsTestState() - Constructor for class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
- statusBar - Variable in class eu.simuline.testhelpers.GUIRunner
-
Contains a status message.
- Stop - Class in org.javalobby.icons20x20
-
Represents an open icon.
- Stop() - Constructor for class org.javalobby.icons20x20.Stop
- stopAction - Variable in class eu.simuline.testhelpers.Actions
-
The action to stop after having finished the currently running testcase.
- StopAction() - Constructor for class eu.simuline.testhelpers.Actions.StopAction
- str - Variable in class eu.simuline.util.Finder.PrintFilter
- STR_ASTOP - Static variable in class eu.simuline.testhelpers.Assert
- STR_BUTWAS - Static variable in class eu.simuline.testhelpers.Assert
- STR_DN_PROV - Static variable in class eu.simuline.testhelpers.Assert
- STR_DNE - Static variable in class eu.simuline.testhelpers.Accessor
- STR_IN_ABS_VAL - Static variable in class eu.simuline.testhelpers.Assert
- STR_IN_CLS - Static variable in class eu.simuline.testhelpers.Accessor
- STR_OBJECT - Static variable in class eu.simuline.testhelpers.Assert
- STR_RAISED - Static variable in class eu.simuline.testhelpers.Assert
- STR_SPEC_NULL_CLS - Static variable in class eu.simuline.testhelpers.Accessor
- Success - eu.simuline.testhelpers.Quality
-
The execution of the testcase finished and the test succeeded (passed): All assertions hold and no throwable has been thrown.
T
- tabbedPane - Variable in class eu.simuline.testhelpers.GUIRunner.TabChangeListener
- TabChangeListener(JTabbedPane, GUIRunner.TestCaseLister, GUIRunner.HierarchyWrapper) - Constructor for class eu.simuline.testhelpers.GUIRunner.TabChangeListener
- tbNegFilter - Variable in class eu.simuline.util.Finder.NegFilter
-
The filter to be negated.
- test - Variable in class eu.simuline.testhelpers.AccessorTest
- test() - Static method in class eu.simuline.testhelpers.Assert
- TEST - Static variable in class eu.simuline.testhelpers.AccessorTest
- testAbsEquals(double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
Returns whether the absolute deviation between
expectedandactualexceedsabsdivin absolute value. - TestAll() - Constructor for class eu.simuline.testhelpers.AccessorTest.TestAll
- testAssumptionFailure(Failure) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when an atomic test flags that it assumes a condition that is false.
- testAssumptionFailure(Failure) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when an atomic test flags that it assumes a condition that is false.
- testAssumptionFailure(Failure) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when an atomic test flags that it assumes a condition that is false.
- testCase - Variable in class eu.simuline.testhelpers.GUIRunListener
- TestCase - Class in eu.simuline.testhelpers
-
Represents a test which may be a singular case or a suite during its lifetime from being scheduled to having runned successfully or not.
- TestCase(Description) - Constructor for class eu.simuline.testhelpers.TestCase
-
Creates a new testcase based on the description
descwith indices0...n-1, wherenis the testcout ofdesc. - TestCase(Description, int) - Constructor for class eu.simuline.testhelpers.TestCase
-
Creates a new testcase based on the description
descwith indicesidxTest...idxTest+n-1, wherenis the testcout ofdesc. - testCase2treeNode(TestCase) - Static method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Converts the (tree of) testcases given by
testCase. - TestCaseClassLoader - Class in eu.simuline.testhelpers
-
A custom class loader which allows to reload classes for each test run.
- TestCaseClassLoader() - Constructor for class eu.simuline.testhelpers.TestCaseClassLoader
-
Constructs a TestCaseLoader.
- TestCaseClassLoader(String) - Constructor for class eu.simuline.testhelpers.TestCaseClassLoader
-
Constructs a TestCaseLoader.
- testCaseLister - Variable in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
The the
GUIRunner.TestCaseListerlisting the failed test cases. - testCaseLister - Variable in class eu.simuline.testhelpers.GUIRunner
-
Represents the list of testcases already failed.
- TestCaseLister() - Constructor for class eu.simuline.testhelpers.GUIRunner.TestCaseLister
- testClassName - Variable in class eu.simuline.testhelpers.Actions.CoreRunner
-
The name of the class to be tested.
- testClassStructureLoaded(Description) - Method in class eu.simuline.testhelpers.ExtRunListener
-
Invoked if a test class is loaded defining a testsuite described by
desc. - testClassStructureLoaded(Description) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Invoked if a test class is loaded defining a testsuite described by
desc. - testClassStructureLoaded(Description) - Method in class eu.simuline.testhelpers.GUIRunner
-
Notifies that the structure of the test class may have been updated.
- testClassStructureLoaded(Description) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Invoked if a test class is loaded defining a testsuite described by
desc. - testClassStructureLoaded(Description) - Method in class eu.simuline.testhelpers.TextRunListener
-
Invoked if a test class is loaded defining a testsuite described by
desc. - testCount() - Method in class eu.simuline.testhelpers.TestCase
-
Returns the number of singular test in this testcase.
- testCreate() - Method in class eu.simuline.testhelpers.AccessorTest.TestAll
- testCreate() - Method in class eu.simuline.testhelpers.AccessorTest
- testFailure(Failure) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when an atomic test fails to execute properly throwing a Throwable.
- testFailure(Failure) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when an atomic test fails to execute properly throwing a Throwable, or when a listener throws an exception.
- testFailure(Failure) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when an atomic test fails to execute properly throwing a Throwable, or when a listener throws an exception.
- testFinished(Description) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when an atomic test has finished, whether the test succeeds or fails.
- testFinished(Description) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when an atomic test has finished, whether the test succeeds or fails.
- testFinished(Description) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when an atomic test has finished, whether the test succeeds or fails.
- testGetField() - Method in class eu.simuline.testhelpers.AccessorTest.TestAll
- testGetField() - Method in class eu.simuline.testhelpers.AccessorTest
- testGetInnerClass() - Method in class eu.simuline.testhelpers.AccessorTest.TestAll
- testGetInnerClass() - Method in class eu.simuline.testhelpers.AccessorTest
- testHierarchy - Variable in class eu.simuline.testhelpers.GUIRunner
-
Represents the hierarchy of testcases.
- testIgnored(Description) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when a test will not be run, generally because a test method is annotated with
@Ignored. - testIgnored(Description) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when a test will not be run, generally because a test method is annotated with
Ignore. - testIgnored(Description) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when a test will not be run, generally because a test method is annotated with
Ignore. - testInvoke() - Method in class eu.simuline.testhelpers.AccessorTest.TestAll
- testInvoke() - Method in class eu.simuline.testhelpers.AccessorTest
- TestListCellRenderer() - Constructor for class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer
-
Constructs a special renderer object consisting of a label and a location within java code for an item in a failure list.
- TestProgressBar() - Constructor for class eu.simuline.testhelpers.GUIRunner.TestProgressBar
-
Creates a new
TestProgressBarinstance. - testRelEquals(double, double, double) - Static method in class eu.simuline.testhelpers.Assert
-
Returns whether the relative deviation between
expectedandactualexceedsreldivin absolute value. - testRunAborted() - Method in class eu.simuline.testhelpers.ExtRunListener
-
Invoked for stop and for break originated by the user.
- testRunAborted() - Method in class eu.simuline.testhelpers.GUIRunListener
-
Invoked for stop and for break originated by the user.
- testRunAborted() - Method in class eu.simuline.testhelpers.GUIRunner
-
Notifies that a test has been aborted by the user.
- testRunAborted() - Method in class eu.simuline.testhelpers.SeqRunListener
-
Invoked for stop and for break originated by the user.
- testRunAborted() - Method in class eu.simuline.testhelpers.TextRunListener
-
Invoked for stop and for break originated by the user.
- testRunFinished(long) - Method in class eu.simuline.testhelpers.GUIRunner
-
Notifies that a test has been finished sufficiently or not.
- testRunFinished(Result) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when all tests have finished.
- testRunFinished(Result) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when all tests of the suite announced by
SeqRunListener.testRunStarted(Description)have finished. - testRunFinished(Result) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when all tests of the suite announced by
TextRunListener.testRunStarted(Description)have finished. - testRunStarted(Description) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called before any tests have been run.
- testRunStarted(Description) - Method in class eu.simuline.testhelpers.GUIRunner
-
Notifies that a test with structure given by
descis going to be run next. - testRunStarted(Description) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called before any tests of a suite described by
deschave been run. - testRunStarted(Description) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called before any tests of a suite described by
deschave been run. - testSetField() - Method in class eu.simuline.testhelpers.AccessorTest.TestAll
- testSetField() - Method in class eu.simuline.testhelpers.AccessorTest
- testStarted(Description) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when an atomic test is about to be started.
- testStarted(Description) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when an atomic test is about to be started.
- testStarted(Description) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when an atomic test is about to be started.
- testSuiteFinished(Description) - Method in class eu.simuline.testhelpers.ExtRunListener
-
Called when a test suite has finished, whether the test suite succeeds or fails.
- testSuiteFinished(Description) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when a test suite has finished, whether the test suite succeeds or fails.
- testSuiteFinished(Description) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when a test suite has finished, whether the test suite succeeds or fails.
- testSuiteFinished(Description) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when a test suite has finished, whether the test suite succeeds or fails.
- testSuiteStarted(Description) - Method in class eu.simuline.testhelpers.ExtRunListener
-
Called when a test suite is about to be started.
- testSuiteStarted(Description) - Method in class eu.simuline.testhelpers.GUIRunListener
-
Called when a test suite is about to be started.
- testSuiteStarted(Description) - Method in class eu.simuline.testhelpers.SeqRunListener
-
Called when a test suite is about to be started.
- testSuiteStarted(Description) - Method in class eu.simuline.testhelpers.TextRunListener
-
Called when a test suite is about to be started.
- TestTreeCellRenderer() - Constructor for class eu.simuline.testhelpers.GUIRunner.TestTreeCellRenderer
-
Creates a new
TestTreeCellRendererinstance. - TextRunListener - Class in eu.simuline.testhelpers
-
A simple RunListener which notifies of the events while running tests by text output.
- TextRunListener() - Constructor for class eu.simuline.testhelpers.TextRunListener
-
Creates a new
TextRunListenerinstance. - thrw - Variable in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
Represents a throwable or is
nullif no throwable is represented. - thrwAccessible(Method) - Static method in class eu.simuline.testhelpers.Assert
- thrwMessager - Variable in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
Is empty iff
GUIRunner.StackTraceLister.thrwisnulland contains the string representation of the represented throwableGUIRunner.StackTraceLister.thrw. - thrwToString(Throwable) - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer
- thrwWrongArgs(Method) - Static method in class eu.simuline.testhelpers.Assert
- time - Variable in class eu.simuline.testhelpers.TestCase
-
If this testcase is a single testcase which has been finished, this is the span of time required to run this test.
- TIME_SCHEDULED - Static variable in class eu.simuline.testhelpers.TestCase
- TIME_SUITE - Static variable in class eu.simuline.testhelpers.TestCase
- toString() - Method in class eu.simuline.testhelpers.TestCase
-
Returns the string representation of
TestCase.descfor suites and a representation includingTestCase.qualfor singular tests. - toString() - Method in class eu.simuline.util.JavaPath
- treeModel - Variable in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
-
A model of the tree of testsuites and tests.
- TreePathIterator(JTree, int) - Constructor for class eu.simuline.testhelpers.GUIRunner.TreePathIterator
- treePathUpdater - Variable in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
-
Decides how to update the current path: For the first path, just inkoke ***** .
- TreePathUpdater() - Constructor for enum eu.simuline.testhelpers.GUIRunner.TreePathIterator.TreePathUpdater
- treeSelection - Variable in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
The selection model for
GUIRunner.HierarchyWrapper.hierarchyTree. - trimInnerClass(String) - Method in enum eu.simuline.util.JavaPath.ClsSrc
-
Returns the name of the class enclosing
clsName(includingclsNameitself) which has its own source/class-file. - TRUE - Static variable in class eu.simuline.util.Finder
-
A filter passing all files.
U
- UNSPECIFIED_CLASS - Static variable in class eu.simuline.testhelpers.Accessor
-
String denoting an unspecified class.
- updateG() - Method in class eu.simuline.testhelpers.GUIRunner
- updateLabels() - Method in class eu.simuline.testhelpers.GUIRunner.StatisticsTestState
-
Updates all labels if a counter has changed.
- updateNext() - Method in class eu.simuline.util.Finder.Secondary
- updatePath(GUIRunner.TreePathIterator) - Method in enum eu.simuline.testhelpers.GUIRunner.TreePathIterator.TreePathUpdater
- updatePathI() - Method in class eu.simuline.testhelpers.GUIRunner.TreePathIterator
- URL_SEP - Static variable in class eu.simuline.util.images.GifResource
-
The separator in urls.
V
- validate() - Method in class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
-
Overridden for performance reasons.
- valueChanged(ListSelectionEvent) - Method in class eu.simuline.testhelpers.GUIRunner.StackTraceLister
-
If an entry is selected, move with emacs to the according place.
- valueChanged(ListSelectionEvent) - Method in class eu.simuline.testhelpers.GUIRunner.TestCaseLister
-
Called whenever the value of the selection changes.
- valueChanged(TreeSelectionEvent) - Method in class eu.simuline.testhelpers.GUIRunner.HierarchyWrapper
-
Called whenever the value of the selection changes.
- valueOf(String) - Static method in enum eu.simuline.testhelpers.Assert.CmpObj
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.simuline.testhelpers.GUIRunner.TreePathIterator.TreePathUpdater
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.simuline.testhelpers.Quality
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum eu.simuline.util.JavaPath.ClsSrc
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum eu.simuline.testhelpers.Assert.CmpObj
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum eu.simuline.testhelpers.GUIRunner.TreePathIterator.TreePathUpdater
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum eu.simuline.testhelpers.Quality
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum eu.simuline.util.JavaPath.ClsSrc
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERTI_BOUNDARY - Static variable in class eu.simuline.testhelpers.GUIRunner
-
Represents the vertical space used for the boundary.
- VERTI_FRAME - Static variable in class eu.simuline.testhelpers.GUIRunner
-
The vertical size of the frame.
W
- WrappedInputStream(InputStream) - Constructor for class eu.simuline.util.JavaPath.ZipEntryWrapper.WrappedInputStream
- wrapsPrimitive(Class<?>) - Static method in class eu.simuline.util.BasicTypesCompatibilityChecker
-
Returns whether
clsrepresents a type wrapping a primitive type.
X
- XLabel(String) - Constructor for class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
- XLabel(Icon) - Constructor for class eu.simuline.testhelpers.GUIRunner.TestListCellRenderer.XLabel
Z
- ZIP_END - Static variable in class eu.simuline.util.JavaPath
-
File ending
.zipidentifying zip-files. - ZipEntryWrapper(ZipFile, ZipEntry) - Constructor for class eu.simuline.util.JavaPath.ZipEntryWrapper
- zipFile - Variable in class eu.simuline.util.JavaPath.ZipEntryWrapper
All Classes All Packages