Searched refs:scanner (Results 1 – 4 of 4) 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()
423 Scanner scanner = new Scanner(file); in changeProperties() local424 assertEquals(newValue, scanner.nextLine()); in changeProperties()425 scanner.close(); in changeProperties()
710 Scanner scanner = new Scanner(out.toString()); in test_storeLjava_io_WriterLjava_lang_String() local711 assertTrue(scanner.nextLine().startsWith("#A Header")); in test_storeLjava_io_WriterLjava_lang_String()712 assertTrue(scanner.nextLine().startsWith("#")); in test_storeLjava_io_WriterLjava_lang_String()
5516 final Scanner scanner = new Scanner(pis); in test_hasNextLine_sequence() local5521 while (scanner.hasNextLine()) { in test_hasNextLine_sequence()5522 String line = scanner.nextLine(); in test_hasNextLine_sequence()5544 assertFalse(scanner.hasNextLine()); in test_hasNextLine_sequence()