Searched refs:scanner (Results 1 – 5 of 5) sorted by relevance
33 Scanner scanner = new Scanner(reader).useDelimiter(delimiter); in testParseLargeFile() local35 while (scanner.hasNext()) { in testParseLargeFile()36 scanner.next(); in testParseLargeFile()38 scanner.close(); in testParseLargeFile()
422 Scanner scanner = new Scanner(file); in changeProperties() local423 assertEquals(newValue, scanner.nextLine()); in changeProperties()424 scanner.close(); in changeProperties()
713 Scanner scanner = new Scanner(out.toString()); in test_storeLjava_io_WriterLjava_lang_String() local714 assertTrue(scanner.nextLine().startsWith("#A Header")); in test_storeLjava_io_WriterLjava_lang_String()715 assertTrue(scanner.nextLine().startsWith("#")); in test_storeLjava_io_WriterLjava_lang_String()
5635 final Scanner scanner = new Scanner(pis); in test_hasNextLine_sequence() local5640 while (scanner.hasNextLine()) { in test_hasNextLine_sequence()5641 String line = scanner.nextLine(); in test_hasNextLine_sequence()5663 assertFalse(scanner.hasNextLine()); in test_hasNextLine_sequence()
74 scanner: in expand()89 break scanner; in expand() local102 break scanner; in expand() local138 break scanner; in expand() local