diff options
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner/StreamHasherTests.java')
-rw-r--r-- | core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner/StreamHasherTests.java | 52 |
1 files changed, 16 insertions, 36 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner/StreamHasherTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner/StreamHasherTests.java index 4bc4b853c49..f31602849c8 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner/StreamHasherTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/scanner/StreamHasherTests.java @@ -22,42 +22,22 @@ import org.eclipse.cdt.internal.core.parser.scanner.StreamHasher; * Unit test for StreamHasher class. */ public class StreamHasherTests extends BaseTestCase { - - private static final String TEXT = - "'Twas brillig, and the slithy toves\r\n" + - "Did gyre and gimble in the wabe;\r\n" + - "All mimsy were the borogoves,\r\n" + - "And the mome raths outgrabe.\r\n" + - "\r\n" + - "\"Beware the Jabberwock, my son!\r\n" + - "The jaws that bite, the claws that catch!\r\n" + - "Beware the Jubjub bird, and shun\r\n" + - "The frumious Bandersnatch!\"\r\n" + - "\r\n" + - "He took his vorpal sword in hand:\r\n" + - "Long time the manxome foe he sought—\r\n" + - "So rested he by the Tumtum tree,\r\n" + - "And stood awhile in thought.\r\n" + - "\r\n" + - "And as in uffish thought he stood,\r\n" + - "The Jabberwock, with eyes of flame,\r\n" + - "Came whiffling through the tulgey wood,\r\n" + - "And burbled as it came!\r\n" + - "\r\n" + - "One, two! One, two! and through and through\r\n" + - "The vorpal blade went snicker-snack!\r\n" + - "He left it dead, and with its head\r\n" + - "He went galumphing back.\r\n" + - "\r\n" + - "\"And hast thou slain the Jabberwock?\r\n" + - "Come to my arms, my beamish boy!\r\n" + - "O frabjous day! Callooh! Callay!\"\r\n" + - "He chortled in his joy.\r\n" + - "\r\n" + - "'Twas brillig, and the slithy toves\r\n" + - "Did gyre and gimble in the wabe;\r\n" + - "All mimsy were the borogoves,\r\n" + - "And the mome raths outgrabe.\r\n"; + + private static final String TEXT = "'Twas brillig, and the slithy toves\r\n" + + "Did gyre and gimble in the wabe;\r\n" + "All mimsy were the borogoves,\r\n" + + "And the mome raths outgrabe.\r\n" + "\r\n" + "\"Beware the Jabberwock, my son!\r\n" + + "The jaws that bite, the claws that catch!\r\n" + "Beware the Jubjub bird, and shun\r\n" + + "The frumious Bandersnatch!\"\r\n" + "\r\n" + "He took his vorpal sword in hand:\r\n" + + "Long time the manxome foe he sought—\r\n" + "So rested he by the Tumtum tree,\r\n" + + "And stood awhile in thought.\r\n" + "\r\n" + "And as in uffish thought he stood,\r\n" + + "The Jabberwock, with eyes of flame,\r\n" + "Came whiffling through the tulgey wood,\r\n" + + "And burbled as it came!\r\n" + "\r\n" + "One, two! One, two! and through and through\r\n" + + "The vorpal blade went snicker-snack!\r\n" + "He left it dead, and with its head\r\n" + + "He went galumphing back.\r\n" + "\r\n" + "\"And hast thou slain the Jabberwock?\r\n" + + "Come to my arms, my beamish boy!\r\n" + "O frabjous day! Callooh! Callay!\"\r\n" + + "He chortled in his joy.\r\n" + "\r\n" + "'Twas brillig, and the slithy toves\r\n" + + "Did gyre and gimble in the wabe;\r\n" + "All mimsy were the borogoves,\r\n" + + "And the mome raths outgrabe.\r\n"; public static TestSuite suite() { return suite(StreamHasherTests.class); |