A B C E F G I J M N O P S T W 
All Classes All Packages

A

AbstractAntTester - Class in net.ggtools.grand.utils
An abstract class for Ant test featuring a standard project setup and a tearDown method removing temporary file after running a test.
AbstractAntTester() - Constructor for class net.ggtools.grand.utils.AbstractAntTester
 
AbstractGraphFilterTest - Class in net.ggtools.grand.filters
 
AbstractGraphFilterTest() - Constructor for class net.ggtools.grand.filters.AbstractGraphFilterTest
 
AllTests - Class in net.ggtools.grand.ant
 
AllTests - Class in net.ggtools.grand.filters
 
AllTests - Class in net.ggtools.grand.graph
 
AllTests - Class in net.ggtools.grand.tasks
 
AllTests - Class in net.ggtools.grand.utils
 
AllTests() - Constructor for class net.ggtools.grand.ant.AllTests
 
AllTests() - Constructor for class net.ggtools.grand.filters.AllTests
 
AllTests() - Constructor for class net.ggtools.grand.graph.AllTests
 
AllTests() - Constructor for class net.ggtools.grand.tasks.AllTests
 
AllTests() - Constructor for class net.ggtools.grand.utils.AllTests
 
antProject - Variable in class net.ggtools.grand.ant.AntProjectTest
Field antProject.
AntProjectFromFileTest - Class in net.ggtools.grand.ant
 
AntProjectFromFileTest() - Constructor for class net.ggtools.grand.ant.AntProjectFromFileTest
 
AntProjectTest - Class in net.ggtools.grand.ant
 
AntProjectTest() - Constructor for class net.ggtools.grand.ant.AntProjectTest
 
assertFullLogContaining(String) - Method in class net.ggtools.grand.utils.AbstractAntTester
Method assertFullLogContaining.
assertLinesMatch() - Method in class net.ggtools.grand.utils.FileComparator
Asserts that both files match line for line.
assertLogContaining(String) - Method in class org.apache.tools.ant.BuildFileTest
Assert that the given substring is in the log messages.
assertPropertyEquals(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Assert that a property equals a value; comparison is case sensitive.
assertPropertySet(String) - Method in class org.apache.tools.ant.BuildFileTest
Assert that a property equals "true".
assertPropertyUnset(String) - Method in class org.apache.tools.ant.BuildFileTest
Assert that a property is null.
assertSizesMatch() - Method in class net.ggtools.grand.utils.FileComparator
Asserts that both files have the same length.
assertTempFileMatchExpected(String) - Method in class net.ggtools.grand.utils.AbstractAntTester
Compares the temporary file with a reference file.

B

BuildFileTest - Class in org.apache.tools.ant
A BuildFileTest is a TestCase which executes targets from an Ant buildfile for testing.
BuildFileTest() - Constructor for class org.apache.tools.ant.BuildFileTest
 

C

configureProject(String) - Method in class org.apache.tools.ant.BuildFileTest
Set up to run the named project.
configureProject(String, int) - Method in class org.apache.tools.ant.BuildFileTest
Set up to run the named project.
ConnectedToNodeFilterTest - Class in net.ggtools.grand.filters
 
ConnectedToNodeFilterTest() - Constructor for class net.ggtools.grand.filters.ConnectedToNodeFilterTest
 
createGraph() - Method in class net.ggtools.grand.ant.AntProjectFromFileTest
Method createGraph.
createGraph() - Method in class net.ggtools.grand.ant.AntProjectTest
Method createGraph.

E

executeTarget(String) - Method in class org.apache.tools.ant.BuildFileTest
Execute a target we have set up.
expectBuildException(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Run a target, expect any build exception.
expectBuildExceptionContaining(String, String, String) - Method in class org.apache.tools.ant.BuildFileTest
Run a target, expect an exception string, containing the substring we look for (case sensitive match).
expectDebuglog(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Assert that the given message has been logged with a priority >= DEBUG when running the given target.
expectFullLogContaining(String, String) - Method in class net.ggtools.grand.utils.AbstractAntTester
Assert that the given message has been logged when running the given target.
expectLog(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Assert that only the given message has been logged with a priority >= INFO when running the given target.
expectLogContaining(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Assert that the given message has been logged with a priority >= INFO when running the given target.
expectOutput(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Execute the target, verify output matches expectations.
expectOutputAndError(String, String, String) - Method in class org.apache.tools.ant.BuildFileTest
Execute the target, verify output matches expectations and that we got the named error at the end.
expectPropertySet(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Call a target, verify named property is "true".
expectPropertySet(String, String, String) - Method in class org.apache.tools.ant.BuildFileTest
Call a target, verify property is as expected.
expectPropertyUnset(String, String) - Method in class org.apache.tools.ant.BuildFileTest
Call a target, verify property is null.
expectSpecificBuildException(String, String, String) - Method in class org.apache.tools.ant.BuildFileTest
Run a target, wait for a build exception.

F

FileComparator - Class in net.ggtools.grand.utils
Utility class to compare two files.
FileComparator(File, File) - Constructor for class net.ggtools.grand.utils.FileComparator
Creates a new file comparator.
FileComparatorTest - Class in net.ggtools.grand.utils
Test case for the FileComparator class.
FileComparatorTest() - Constructor for class net.ggtools.grand.utils.FileComparatorTest
 
FilterChainTest - Class in net.ggtools.grand.filters
 
FilterChainTest() - Constructor for class net.ggtools.grand.filters.FilterChainTest
 
FromNodeFilterTest - Class in net.ggtools.grand.filters
 
FromNodeFilterTest() - Constructor for class net.ggtools.grand.filters.FromNodeFilterTest
 

G

getBuildException() - Method in class org.apache.tools.ant.BuildFileTest
Method getBuildException.
getError() - Method in class org.apache.tools.ant.BuildFileTest
Method getError.
getFullLog() - Method in class org.apache.tools.ant.BuildFileTest
Gets the log the BuildFileTest object.
getLog() - Method in class org.apache.tools.ant.BuildFileTest
Gets the log the BuildFileTest object.
getOutput() - Method in class org.apache.tools.ant.BuildFileTest
Method getOutput.
getProject() - Method in class org.apache.tools.ant.BuildFileTest
Get the project which has been configured for a test.
getProjectDir() - Method in class org.apache.tools.ant.BuildFileTest
Get the directory of the project.
getResource(String) - Method in class org.apache.tools.ant.BuildFileTest
Retrieve a resource from the caller classloader to avoid assuming a vm working directory.
getTestBuildFileName() - Method in class net.ggtools.grand.ant.AntProjectTest
Method getTestBuildFileName.
GrandTaskPropertyTest - Class in net.ggtools.grand.tasks
Tests for GrandTask focused on properties.
GrandTaskPropertyTest() - Constructor for class net.ggtools.grand.tasks.GrandTaskPropertyTest
 
GrandTaskTest - Class in net.ggtools.grand.tasks
Tests for GrandTask.
GrandTaskTest() - Constructor for class net.ggtools.grand.tasks.GrandTaskTest
 
graph - Variable in class net.ggtools.grand.ant.AntProjectTest
Field graph.
GraphCrawlerTest - Class in net.ggtools.grand.graph
 
GraphCrawlerTest() - Constructor for class net.ggtools.grand.graph.GraphCrawlerTest
 
GraphFilterFactoryTest - Class in net.ggtools.grand.tasks
 
GraphFilterFactoryTest() - Constructor for class net.ggtools.grand.tasks.GraphFilterFactoryTest
 
GraphFilterTypeTest - Class in net.ggtools.grand.tasks
 
GraphFilterTypeTest() - Constructor for class net.ggtools.grand.tasks.GraphFilterTypeTest
 

I

IsolatedNodeFilterTest - Class in net.ggtools.grand.filters
 
IsolatedNodeFilterTest() - Constructor for class net.ggtools.grand.filters.IsolatedNodeFilterTest
 

J

JUNIT_TEST_NAME - Static variable in class net.ggtools.grand.utils.AbstractAntTester
Field JUNIT_TEST_NAME.

M

MissingNodeFilterTest - Class in net.ggtools.grand.filters
 
MissingNodeFilterTest() - Constructor for class net.ggtools.grand.filters.MissingNodeFilterTest
 

N

net.ggtools.grand.ant - package net.ggtools.grand.ant
 
net.ggtools.grand.filters - package net.ggtools.grand.filters
 
net.ggtools.grand.graph - package net.ggtools.grand.graph
 
net.ggtools.grand.tasks - package net.ggtools.grand.tasks
 
net.ggtools.grand.utils - package net.ggtools.grand.utils
 
NodeRemoverFilterTest - Class in net.ggtools.grand.filters
 
NodeRemoverFilterTest() - Constructor for class net.ggtools.grand.filters.NodeRemoverFilterTest
 

O

org.apache.tools.ant - package org.apache.tools.ant
 

P

PrefixedNodeFilterTest - Class in net.ggtools.grand.filters
 
PrefixedNodeFilterTest() - Constructor for class net.ggtools.grand.filters.PrefixedNodeFilterTest
 
project - Variable in class org.apache.tools.ant.BuildFileTest
Field project.

S

setUp() - Method in class net.ggtools.grand.ant.AntProjectTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.ConnectedToNodeFilterTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.FilterChainTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.FromNodeFilterTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.IsolatedNodeFilterTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.MissingNodeFilterTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.NodeRemoverFilterTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.PrefixedNodeFilterTest
Method setUp.
setUp() - Method in class net.ggtools.grand.filters.ToNodeFilterTest
Method setUp.
setUp() - Method in class net.ggtools.grand.graph.GraphCrawlerTest
Method setUp.
setUp() - Method in class net.ggtools.grand.graph.SubGraphImplTest
Method setUp.
setUp() - Method in class net.ggtools.grand.tasks.GrandTaskPropertyTest
Method setUp.
setUp() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method setUp.
setUp() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method setUp.
setUp() - Method in class net.ggtools.grand.tasks.GraphFilterTypeTest
Method setUp.
SubGraphImplTest - Class in net.ggtools.grand.graph
 
SubGraphImplTest() - Constructor for class net.ggtools.grand.graph.SubGraphImplTest
 

T

TEMP_FILE_PROP - Static variable in class net.ggtools.grand.utils.AbstractAntTester
Field TEMP_FILE_PROP.
testAddFilterFirst() - Method in class net.ggtools.grand.filters.FilterChainTest
Method testAddFilterFirst.
testAddFilterLast() - Method in class net.ggtools.grand.filters.FilterChainTest
Method testAddFilterLast.
testAddNode() - Method in class net.ggtools.grand.graph.SubGraphImplTest
Method testAddNode.
testAnt() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testAnt.
testAntCall() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testAntCall.
testAntCall() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testAntCall.
testAntCallWithTargetElements() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testAntCallWithTargetElements.
testAntCallWithUndefinedProperty() - Method in class net.ggtools.grand.ant.AntProjectTest
Run a graph on a file including an antcall whose target is based on a property.
testAntCallWithUndefinedTask() - Method in class net.ggtools.grand.ant.AntProjectTest
Run a graph on a file including an undefined task.
testAntLib() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Test if the antlib.xml resource correctly initialize custom tasks and types.
testAntNoTargetDifferentFile() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testAntNoTargetDifferentFile.
testAntNoTargetSameFile() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testAntNoTargetSameFile.
testAntWithTargetElements() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testAntWithTargetElements.
testAssertDifferentLinesMatch() - Method in class net.ggtools.grand.utils.FileComparatorTest
Method testAssertDifferentLinesMatch.
testAssertDifferentSizesMatch() - Method in class net.ggtools.grand.utils.FileComparatorTest
Method testAssertDifferentSizesMatch.
testAssertOverrideLinesMatch() - Method in class net.ggtools.grand.utils.FileComparatorTest
Method testAssertOverrideLinesMatch.
testAssertOverrideSizesMatch() - Method in class net.ggtools.grand.utils.FileComparatorTest
Method testAssertOverrideSizesMatch.
testAssertSelfLinesMatch() - Method in class net.ggtools.grand.utils.FileComparatorTest
Method testAssertSelfLinesMatch.
testAssertSelfSizesMatch() - Method in class net.ggtools.grand.utils.FileComparatorTest
Method testAssertSelfSizesMatch.
TESTCASES_DIR - Static variable in class net.ggtools.grand.utils.AbstractAntTester
Field TESTCASES_DIR.
testClassNotFound() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testClassNotFound.
testClearFilters() - Method in class net.ggtools.grand.filters.FilterChainTest
Method testClearFilters.
testConnectedStartNode() - Method in class net.ggtools.grand.filters.ConnectedToNodeFilterTest
Process build-complex.xml to find the nodes connected to jar.
testConnectedStartNode() - Method in class net.ggtools.grand.filters.FromNodeFilterTest
Process log4j 1.2.8 build.xml and from the "build" node and check if we get what we want.
testConnectedStartNode() - Method in class net.ggtools.grand.filters.IsolatedNodeFilterTest
Process the full graph through an IsolatedNodeFilter and check that a connected node as start node is not removed.
testConnectedStartNode() - Method in class net.ggtools.grand.filters.PrefixedNodeFilterTest
Process build-import.xml and from the "build" node and check if we get what we want.
testConnectedStartNode() - Method in class net.ggtools.grand.filters.ToNodeFilterTest
Process log4j 1.2.8 build.xml and from the "build" node and check if we get what we want.
testCrawl() - Method in class net.ggtools.grand.graph.GraphCrawlerTest
Method testCrawl.
testCurrentProject() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testCurrentProject.
testEmptyChain() - Method in class net.ggtools.grand.filters.FilterChainTest
Method testEmptyChain.
testFileOverride() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testFileOverride.
testFilter() - Method in class net.ggtools.grand.filters.IsolatedNodeFilterTest
Process the full graph through an IsolatedNodeFilter and check the remaining nodes.
testFilter() - Method in class net.ggtools.grand.filters.MissingNodeFilterTest
Process the full graph through an MissingNodeFilter and check the remaining nodes.
testFullGraph() - Method in class net.ggtools.grand.filters.IsolatedNodeFilterTest
Check the full graph completeness.
testFullGraph() - Method in class net.ggtools.grand.filters.MissingNodeFilterTest
Check the full graph completeness.
testGetGraphBeforeSet() - Method in class net.ggtools.grand.filters.AbstractGraphFilterTest
Test if AbstractGraphFilter does not meet an NPE when getting graph before setting the producer.
testGetName() - Method in class net.ggtools.grand.graph.SubGraphImplTest
Method testGetName.
testGetNode() - Method in class net.ggtools.grand.graph.SubGraphImplTest
Method testGetNode.
testGetNodes() - Method in class net.ggtools.grand.graph.SubGraphImplTest
Method testGetNodes.
testHasNode() - Method in class net.ggtools.grand.graph.SubGraphImplTest
Method testHasNode.
testIfCondition() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testIfCondition.
testImport() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testImport.
testImpossibleOverride() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testImpossibleOverride.
testInheritAll() - Method in class net.ggtools.grand.tasks.GrandTaskPropertyTest
Set the property in the calling project and create a graph with inheritall set.
testInheritPrevailsOverProperty() - Method in class net.ggtools.grand.tasks.GrandTaskPropertyTest
Set the property in the calling build script, sets inheritall to true and use a property element with a different value.
testIsolatedNode() - Method in class net.ggtools.grand.tasks.GraphFilterTypeTest
Method testIsolatedNode.
testNamelessFilter() - Method in class net.ggtools.grand.tasks.GraphFilterTypeTest
Method testNamelessFilter.
testNestedAnt() - Method in class net.ggtools.grand.ant.AntProjectTest
Test if the nested tasks are found (ticket #29).
testNonExistentDefaultTarget() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testNonExistentDefaultTarget.
testNonExistentNode() - Method in class net.ggtools.grand.filters.ConnectedToNodeFilterTest
Process the build file, trying to filter from an non existent node.
testNonExistentNode() - Method in class net.ggtools.grand.filters.FromNodeFilterTest
Process the build file, trying to filter from an non existent node.
testNonExistentNode() - Method in class net.ggtools.grand.filters.NodeRemoverFilterTest
Process the build file, trying to removed a non existent node.
testNonExistentNode() - Method in class net.ggtools.grand.filters.ToNodeFilterTest
Process the build file, trying to filter from an non existent node.
testNonNode() - Method in class net.ggtools.grand.filters.NodeRemoverFilterTest
Process the build file, trying to removed with an empty list.
testNoParam() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testNoParam.
testNotConfigured() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testNotConfigured.
testNotFilteredStartNode() - Method in class net.ggtools.grand.filters.FromNodeFilterTest
Process a modified version of log4j 1.2.8 build.xml featuring the "build" target as default.
testNotFilteredStartNode() - Method in class net.ggtools.grand.filters.ToNodeFilterTest
Process a modified version of log4j 1.2.8 build.xml featuring the "build" target as default.
testOneFilter() - Method in class net.ggtools.grand.filters.FilterChainTest
Method testOneFilter.
testOneNode() - Method in class net.ggtools.grand.filters.NodeRemoverFilterTest
Process log4j 1.2.8 build.xml and remove the "init" node.
testPrefixOverride() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testPrefixOverride.
testPropertyElement() - Method in class net.ggtools.grand.tasks.GrandTaskPropertyTest
Use the nested element "property" to set antcall.target.
testPropertySet() - Method in class net.ggtools.grand.tasks.GrandTaskPropertyTest
Use the nested element "propertyset" to set antcall.target.
testRunTarget() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testRunTarget.
testSeveralNodes() - Method in class net.ggtools.grand.filters.NodeRemoverFilterTest
Process log4j 1.2.8 build.xml and remove the "init", "build" and jar nodes.
testSimpleBuild() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testSimpleBuild.
testSimpleBuildWithGraphName() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testSimpleBuildWithGraphName.
testSubant() - Method in class net.ggtools.grand.ant.AntProjectTest
Test the subant task.
testSubant() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testSubant.
testSuitability() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Method testSuitability.
testTaskDefinitionFile() - Method in class net.ggtools.grand.tasks.GrandTaskTest
Tests if the task.properties resource file creates the grand test.
testTypeConnected() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testTypeConnected.
testTypeFromNode() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testTypeFromNode.
testTypeIsolatedNode() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testTypeIsolatedNode.
testTypeMissingNode() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testTypeMissingNode.
testTypeNodeRemover() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testTypeNodeRemover.
testTypeToNode() - Method in class net.ggtools.grand.tasks.GraphFilterFactoryTest
Method testTypeToNode.
testUndefinedProperty() - Method in class net.ggtools.grand.tasks.GrandTaskPropertyTest
Run the test with an undefined property.
testUninitializedChain() - Method in class net.ggtools.grand.filters.FilterChainTest
Method testUninitializedChain.
testUnlessCondition() - Method in class net.ggtools.grand.ant.AntProjectTest
Method testUnlessCondition.
ToNodeFilterTest - Class in net.ggtools.grand.filters
 
ToNodeFilterTest() - Constructor for class net.ggtools.grand.filters.ToNodeFilterTest
 

W

watchman - Variable in class net.ggtools.grand.utils.AbstractAntTester
Field watchman.
A B C E F G I J M N O P S T W 
All Classes All Packages