- test() - Method in class GridPrintoutTester
-
- test() - Method in class PreQATest
-
- test() - Method in class PreTest01_RequiredClassesPresent
-
- test() - Method in class PreTest02_RequiredMethodsPresent
-
- test() - Method in class PreTest03_RequiredConstructorsPresent
-
- test() - Method in class PublicServiceTest01_OnlyOneSystemInScanner
-
- test() - Method in class SeaCowPuzzleTester
-
- test() - Method in class Test00_MainMenu_CorrectPrintout
-
- test() - Method in class Test01_MainMenu_InvalidInput
-
- test() - Method in class Test10_LoadPuzzle_BasicFunctionality
-
- test() - Method in class Test11_LoadPuzzle_InvalidFile
-
- test() - Method in class Test12_LoadPuzzle_MultiplePuzzlesAppearInList
-
- test() - Method in class Test20_PlayPuzzle_MenuWhenNoPuzzleLoaded
-
- test() - Method in class Test21_PlayPuzzle_StartingGrid
-
- test() - Method in class Test22_PlayPuzzle_StartingHints
-
- test() - Method in class Test30_PlayPuzzle_Prompts
-
- test() - Method in class Test31_PlayPuzzle_MarkSquare
-
- test() - Method in class Test32_PlayPuzzle_MarkInitiallyRevealedSpot
-
- test() - Method in class Test33_PlayPuzzle_Quitter
-
- test() - Method in class Test40_PlayPuzzle_Win
-
- test() - Method in class Test41_PlayPuzzle_Lose
-
- test() - Method in class Test50_Quit_BasicFunctionality
-
- test() - Method in class Test52_Quit_OnePlayer
-
- test() - Method in class Test53_Quit_InvalidFileName
-
- test() - Method in class Test60_ListPlayers_NoPlayers
-
- test() - Method in class Test61_ListPlayers_OnePlayerOnePuzzle
-
- test() - Method in class Test62_ListPlayers_NoCreditForQuitters
-
- test() - Method in class Test63_ListPlayers_HandlingOfInitials
-
- test() - Method in class Test64_MultiplePuzzlesAndPlayers
-
- test() - Method in class TestX0_Style_EightyCharacters
-
- test() - Method in class TestX1_Style_Naming
-
- test() - Method in class TestX2_Requirements_NoPublicFields
-
- test() - Method in class TestX3_Requirements_NoStaticFields
-
- test() - Method in class TestX4a_Requirements_NoAdditionalPublicMethods
-
- test() - Method in class TestX4b_Requirements_NoAdditionalMethods
-
- test() - Method in class TestX5_Requirements_NoArrays
-
- test() - Method in class TestXX_DummyTest
-
Don't place javadoc here - do it only at the class level.
- Test00_MainMenu_CorrectPrintout - Class in <Unnamed>
-
Tests whether the main menu and the prompt are displayed correctly when the
program is started for the first time.
- Test00_MainMenu_CorrectPrintout() - Constructor for class Test00_MainMenu_CorrectPrintout
-
- Test01_MainMenu_InvalidInput - Class in <Unnamed>
-
The main menu prompt is tested with the following 2 types of invalid input:-
Keying in the character 'x' at the prompt.
Keying in the number 38 at the prompt.
On receiving invalid input, the student program is expected to just display the main menu again.
- Test01_MainMenu_InvalidInput() - Constructor for class Test01_MainMenu_InvalidInput
-
- Test10_LoadPuzzle_BasicFunctionality - Class in <Unnamed>
-
The load puzzle option is being tested by loading a single puzzle.
- Test10_LoadPuzzle_BasicFunctionality() - Constructor for class Test10_LoadPuzzle_BasicFunctionality
-
- Test11_LoadPuzzle_InvalidFile - Class in <Unnamed>
-
The 'Load a puzzle' option is selected at the main menu.
- Test11_LoadPuzzle_InvalidFile() - Constructor for class Test11_LoadPuzzle_InvalidFile
-
- Test12_LoadPuzzle_MultiplePuzzlesAppearInList - Class in <Unnamed>
-
The load puzzle option is being tested by loading 4 puzzles.
- Test12_LoadPuzzle_MultiplePuzzlesAppearInList() - Constructor for class Test12_LoadPuzzle_MultiplePuzzlesAppearInList
-
- Test20_PlayPuzzle_MenuWhenNoPuzzleLoaded - Class in <Unnamed>
-
Without loading any puzzles, the 'Play a puzzle' option is selected at the main menu.
- Test20_PlayPuzzle_MenuWhenNoPuzzleLoaded() - Constructor for class Test20_PlayPuzzle_MenuWhenNoPuzzleLoaded
-
- Test21_PlayPuzzle_StartingGrid - Class in <Unnamed>
-
This test loads puzzle1.txt and tests if the initial displayed grid has the following:
1.
- Test21_PlayPuzzle_StartingGrid() - Constructor for class Test21_PlayPuzzle_StartingGrid
-
- Test22_PlayPuzzle_StartingHints - Class in <Unnamed>
-
This test loads puzzle4.txt and tests if the initial displayed grid has the hints correctly specified across the rows and cols.
- Test22_PlayPuzzle_StartingHints() - Constructor for class Test22_PlayPuzzle_StartingHints
-
- Test30_PlayPuzzle_Prompts - Class in <Unnamed>
-
This test loads puzzle5.txt and tests if the displayed prompt is correct.
- Test30_PlayPuzzle_Prompts() - Constructor for class Test30_PlayPuzzle_Prompts
-
- Test31_PlayPuzzle_MarkSquare - Class in <Unnamed>
-
This test loads puzzle3.txt, plays a four moves (two ships and two water) and tests if the resulting puzzle is correct after each move.
- Test31_PlayPuzzle_MarkSquare() - Constructor for class Test31_PlayPuzzle_MarkSquare
-
- Test32_PlayPuzzle_MarkInitiallyRevealedSpot - Class in <Unnamed>
-
This test loads puzzle6.txt, tries to change a location that is revealed and verifies if the displayed message is correct.
(-1) points if the displayed message is incorrect
- Test32_PlayPuzzle_MarkInitiallyRevealedSpot() - Constructor for class Test32_PlayPuzzle_MarkInitiallyRevealedSpot
-
- Test33_PlayPuzzle_Quitter - Class in <Unnamed>
-
This test loads puzzle3.txt, places a ship, and then quits.
- Test33_PlayPuzzle_Quitter() - Constructor for class Test33_PlayPuzzle_Quitter
-
- Test40_PlayPuzzle_Win - Class in <Unnamed>
-
Play a game with a puzzle with one unrevealed square.
- Test40_PlayPuzzle_Win() - Constructor for class Test40_PlayPuzzle_Win
-
- Test41_PlayPuzzle_Lose - Class in <Unnamed>
-
Play a game with a puzzle with two unrevealed squares.
- Test41_PlayPuzzle_Lose() - Constructor for class Test41_PlayPuzzle_Lose
-
- Test50_Quit_BasicFunctionality - Class in <Unnamed>
-
This test starts up a student submission and goes straight to the quit
menu.
- Test50_Quit_BasicFunctionality() - Constructor for class Test50_Quit_BasicFunctionality
-
- Test52_Quit_OnePlayer - Class in <Unnamed>
-
Play a game with a puzzle with one unrevealed square.
- Test52_Quit_OnePlayer() - Constructor for class Test52_Quit_OnePlayer
-
- Test53_Quit_InvalidFileName - Class in <Unnamed>
-
Give it an invalid file name such as drGorunes/secretLab/evilPlan.txt (directories won't exist)
- Test53_Quit_InvalidFileName() - Constructor for class Test53_Quit_InvalidFileName
-
- Test60_ListPlayers_NoPlayers - Class in <Unnamed>
-
Selects option 1 (list players) then ensures that the program redisplays the main menu.
- Test60_ListPlayers_NoPlayers() - Constructor for class Test60_ListPlayers_NoPlayers
-
- Test61_ListPlayers_OnePlayerOnePuzzle - Class in <Unnamed>
-
Wins a puzzle, enters initials of 3 capital letters, and then goes to list
players to check if the player completed the puzzle.
- Test61_ListPlayers_OnePlayerOnePuzzle() - Constructor for class Test61_ListPlayers_OnePlayerOnePuzzle
-
- Test62_ListPlayers_NoCreditForQuitters - Class in <Unnamed>
-
Plays a puzzle, completes it, enter normal initials, plays a different
puzzle, and quits immediately.
- Test62_ListPlayers_NoCreditForQuitters() - Constructor for class Test62_ListPlayers_NoCreditForQuitters
-
- Test63_ListPlayers_HandlingOfInitials - Class in <Unnamed>
-
Plays a puzzle then enters initials that are lower case and longer than 3 characters.
- Test63_ListPlayers_HandlingOfInitials() - Constructor for class Test63_ListPlayers_HandlingOfInitials
-
- Test64_MultiplePuzzlesAndPlayers - Class in <Unnamed>
-
One player plays two puzzles and another plays one puzzle.
- Test64_MultiplePuzzlesAndPlayers() - Constructor for class Test64_MultiplePuzzlesAndPlayers
-
- TestingUtil - Class in <Unnamed>
-
ToolBox-specific Utility method, containing constants and convenience
methods for the current test suite.
- TestingUtil() - Constructor for class TestingUtil
-
- TestX0_Style_EightyCharacters - Class in <Unnamed>
-
This test looks through a student's source files and counts the number of
characters in excess of 80 characters.
- TestX0_Style_EightyCharacters() - Constructor for class TestX0_Style_EightyCharacters
-
- TestX1_Style_Naming - Class in <Unnamed>
-
Checks that students followed proper Java naming conventions for
classes, methods, and fields.
- TestX1_Style_Naming() - Constructor for class TestX1_Style_Naming
-
- TestX2_Requirements_NoPublicFields - Class in <Unnamed>
-
Checks that no student code contains non-private fields.
- TestX2_Requirements_NoPublicFields() - Constructor for class TestX2_Requirements_NoPublicFields
-
- TestX3_Requirements_NoStaticFields - Class in <Unnamed>
-
Fails if the submission contains any static non-final fields.
- TestX3_Requirements_NoStaticFields() - Constructor for class TestX3_Requirements_NoStaticFields
-
- TestX4a_Requirements_NoAdditionalPublicMethods - Class in <Unnamed>
-
Fails if the submission contains any public methods that were not specified -
this is the more lenient version which only inspects public methods.
- TestX4a_Requirements_NoAdditionalPublicMethods() - Constructor for class TestX4a_Requirements_NoAdditionalPublicMethods
-
- TestX4b_Requirements_NoAdditionalMethods - Class in <Unnamed>
-
Fails if the submission contains any methods that were not specified - this
is the more strict version which inspects all methods - regardless of access
specifier
- TestX4b_Requirements_NoAdditionalMethods() - Constructor for class TestX4b_Requirements_NoAdditionalMethods
-
- TestX5_Requirements_NoArrays - Class in <Unnamed>
-
Checks that no student code contains array variables other than the main parameter.
- TestX5_Requirements_NoArrays() - Constructor for class TestX5_Requirements_NoArrays
-
- TestXX_DummyTest - Class in <Unnamed>
-
A dummy test for Stephen and Shree to look at
- TestXX_DummyTest() - Constructor for class TestXX_DummyTest
-
- TIMEOUT - Static variable in class TestingUtil
-
- toString() - Method in class SeaCowPuzzle
-
Returns the correct printout of a grid at this point in time, with hints
and legend.