Package help.validator.model
Class HelpFileTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- help.AbstractHelpTest
-
- help.validator.model.HelpFileTest
-
public class HelpFileTest extends AbstractHelpTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class generic.test.AbstractGenericTest
AbstractGenericTest.ExceptionHandlingRunner
-
-
Field Summary
-
Fields inherited from class help.AbstractHelpTest
HELP_FILENAME, HELP_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 HelpFileTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
test()
void
testBadHTML_InvalidAnchorRef_BadURI()
void
testBadHTML_InvalidAnchorRef_WrongAttribtues()
void
testBadHTML_InvalidIMG_WrongAttribtues()
void
testBadHTML_InvalidStyleSheet()
void
testCommentGetsIgnored()
void
testGoodHTML()
-
Methods inherited from class help.AbstractHelpTest
addRequiredHelpDirStructure, copy, createEmpty_TOC_Source_File, createFakeHelpTopic, createFakeHelpTopic, createHelpBuildOutputDir, createHelpContent, createHelpContent_WithReferenceHREF, createHelpContent_WithReferenceIMG_SRC, createSharedDir, createTempHelpDir, setUp, tearDown
-
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
-
-
-
-
Method Detail
-
testGoodHTML
public void testGoodHTML() throws java.io.IOException
- Throws:
java.io.IOException
-
testBadHTML_InvalidStyleSheet
public void testBadHTML_InvalidStyleSheet() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testBadHTML_InvalidAnchorRef_BadURI
public void testBadHTML_InvalidAnchorRef_BadURI() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testBadHTML_InvalidAnchorRef_WrongAttribtues
public void testBadHTML_InvalidAnchorRef_WrongAttribtues() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testBadHTML_InvalidIMG_WrongAttribtues
public void testBadHTML_InvalidIMG_WrongAttribtues() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testCommentGetsIgnored
public void testCommentGetsIgnored() throws java.lang.Exception
- Throws:
java.lang.Exception
-
test
public void test() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-