Package help
Class AbstractHelpTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- help.AbstractHelpTest
-
- Direct Known Subclasses:
HelpBuildUtilsTest,HelpFileTest,JavaHelpMapFileTest,JavaHelpValidatorTest
public abstract class AbstractHelpTest extends AbstractGenericTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class generic.test.AbstractGenericTest
AbstractGenericTest.ExceptionHandlingRunner
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringHELP_FILENAMEprotected static java.lang.StringHELP_FILENAME_PREFIX-
Fields inherited from class generic.test.AbstractGenericTest
concurrentTestExceptionRule, DEFAULT_TEST_TOOL_NAME, ruleChain, TESTDATA_DIRECTORY_NAME, watchman
-
Fields inherited from class generic.test.AbstractGTest
BATCH_MODE, DEFAULT_WAIT_DELAY, DEFAULT_WAIT_TIMEOUT, DEFAULT_WINDOW_TIMEOUT, PARALLEL_MODE, PRIVATE_LONG_WAIT_TIMEOUT, testName
-
-
Constructor Summary
Constructors Constructor Description AbstractHelpTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddRequiredHelpDirStructure(java.nio.file.Path helpDir)protected voidcopy(java.nio.file.Path from, java.nio.file.Path to)protected java.nio.file.PathcreateEmpty_TOC_Source_File(java.nio.file.Path dir)protected java.nio.file.PathcreateFakeHelpTopic(java.lang.String topicName, java.nio.file.Path helpDir)protected java.nio.file.PathcreateFakeHelpTopic(java.nio.file.Path helpDir)protected java.nio.file.PathcreateHelpBuildOutputDir()protected java.nio.file.PathcreateHelpContent(java.nio.file.Path topic, java.lang.String anchor)protected java.nio.file.PathcreateHelpContent_WithReferenceHREF(java.nio.file.Path topic, java.lang.String HREF)protected java.nio.file.PathcreateHelpContent_WithReferenceIMG_SRC(java.nio.file.Path topic, java.lang.String SRC)protected java.nio.file.PathcreateSharedDir(java.nio.file.Path helpDir)protected java.nio.file.PathcreateTempHelpDir()voidsetUp()voidtearDown()-
Methods inherited from class generic.test.AbstractGenericTest
clickMouse, clickMouse, clickTableCell, createApplicationConfiguration, createApplicationLayout, createStackTraceForAllThreads, createTempDirectory, createTempFile, createTempFile, createTempFileForTest, createTempFileForTest, createTempFilePath, createTempFilePath, deleteMatchingTempFiles, deleteSimilarTempFiles, doubleClick, dragMouse, editCell, executeOnSwingWithoutBlocking, findAbstractButtonByName, findAbstractButtonByText, findButtonByIcon, findButtonByText, findComponent, findComponent, findComponentByName, findComponentByName, findComponentsByName, findOwnedWindows, findPathToText, findTestDataFile, findTreePathToText, fixupGUI, getAllWindows, getDebugFileDirectory, getInstanceField, getInstanceFieldByClassType, getLocalResourceFile, getTestDataDir, getTestDataDirectory, getTestDataFile, getText, hasTestFailed, initializeLayout, initializeSystemProperties, invokeConstructor, invokeInstanceMethod, invokeInstanceMethod, leftClick, loadTextResource, loadTextResource, middleClick, moveMouse, postEvent, pressButton, pressButton, pressButtonByName, pressButtonByName, pressButtonByText, pressButtonByText, printMemory, privateWaitForPostedSwingRunnables_SwingSafe, rightClick, runSwing, runSwing, runSwing, setComboBoxSelection, setInstanceField, setText, testFailed, toString, waitForPostedSwingRunnables, waitForSwing, waitForTasks, windowForComponent, yieldToSwing
-
Methods inherited from class generic.test.AbstractGTest
assertArraysEqualOrdered, assertArraysEqualUnordered, assertArraysEqualUnordered, assertContainsExactly, assertContainsExactly, assertListEqualOrdered, assertListEqualOrdered, assertListEqualsArrayOrdered, assertListEqualsArrayUnordered, assertListEqualUnordered, failWithException, getName, getRandomInt, getRandomInt, getRandomString, getRandomString, getTestDirectoryPath, sleep, waitFor, waitFor, waitFor, waitForCondition, waitForCondition, waitForConditionWithoutFailing, waitForValue, waitForValueWithoutFailing
-
-
-
-
Field Detail
-
HELP_FILENAME_PREFIX
protected static final java.lang.String HELP_FILENAME_PREFIX
- See Also:
- Constant Field Values
-
HELP_FILENAME
protected static final java.lang.String HELP_FILENAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
createHelpBuildOutputDir
protected java.nio.file.Path createHelpBuildOutputDir() throws java.io.IOException- Throws:
java.io.IOException
-
createFakeHelpTopic
protected java.nio.file.Path createFakeHelpTopic(java.nio.file.Path helpDir) throws java.io.IOException- Throws:
java.io.IOException
-
createFakeHelpTopic
protected java.nio.file.Path createFakeHelpTopic(java.lang.String topicName, java.nio.file.Path helpDir) throws java.io.IOException- Throws:
java.io.IOException
-
createTempHelpDir
protected java.nio.file.Path createTempHelpDir() throws java.io.IOException- Throws:
java.io.IOException
-
addRequiredHelpDirStructure
protected void addRequiredHelpDirStructure(java.nio.file.Path helpDir) throws java.io.IOException- Throws:
java.io.IOException
-
createSharedDir
protected java.nio.file.Path createSharedDir(java.nio.file.Path helpDir) throws java.io.IOException- Throws:
java.io.IOException
-
createEmpty_TOC_Source_File
protected java.nio.file.Path createEmpty_TOC_Source_File(java.nio.file.Path dir) throws java.io.IOException- Throws:
java.io.IOException
-
createHelpContent
protected java.nio.file.Path createHelpContent(java.nio.file.Path topic, java.lang.String anchor) throws java.io.IOException- Throws:
java.io.IOException
-
createHelpContent_WithReferenceHREF
protected java.nio.file.Path createHelpContent_WithReferenceHREF(java.nio.file.Path topic, java.lang.String HREF) throws java.io.IOException- Throws:
java.io.IOException
-
createHelpContent_WithReferenceIMG_SRC
protected java.nio.file.Path createHelpContent_WithReferenceIMG_SRC(java.nio.file.Path topic, java.lang.String SRC) throws java.io.IOException- Throws:
java.io.IOException
-
copy
protected void copy(java.nio.file.Path from, java.nio.file.Path to) throws java.lang.Exception- Throws:
java.lang.Exception
-
-