Method Summary |
|
protected void | insertGap(BraceReduction model, int size) Convenience function to insert a number of non-special characters into a reduced model. |
protected void | setUp() Initializes the reduced models used in the tests. |
public static Test | suite() Creates a test suite for JUnit to use. |
public void | testBackSlashBeforeDoubleEscape() Tests the case when a backslash is inserted before two backslashes. |
public void | testChainEffect() Tests cases where a long chain of backslashes and quotes can be all altered with a simple
insertion or deletion of a special character. |
public void | testDeleteAndCombine() Tests the case where deletion combines a backslash and a quote or two backslashes. |
public void | testDeleteAndCombine2() Tests more of the same sort of cases as found in testDeleteAndCombine(). |
public void | testDeleteAndCombine3() More of the same sort of cases as found in testDeleteAndCombine(). |
public void | testInsertBetweenDoubleEscape() Tests the case where a backslash breaks up two backslashes together. |
public void | testInsideQuoteNext() Tests the relationship between backslashes and quotes. |
public void | testInsideQuotePrevious() Tests the relationship between backslash characters and quote characters. |