Searched refs:tokenizer (Results 1 – 5 of 5) sorted by relevance
42 StringTokenizer tokenizer = new StringTokenizer(hosts, ";"); in testWhiteSpace() local43 while (tokenizer.hasMoreTokens()) { in testWhiteSpace()44 String hostname = tokenizer.nextToken(); in testWhiteSpace()
97 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data)); in test_harmonyRegressionTest() local99 tokenizer.nextToken(); in test_harmonyRegressionTest()103 String result = tokenizer.toString(); in test_harmonyRegressionTest()115 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data)); in test_harmonyRegressionTest2() local117 tokenizer.nextToken(); in test_harmonyRegressionTest2()121 String result = tokenizer.toString(); in test_harmonyRegressionTest2()
75 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data)); in testStreamTokenizer() local76 tokenizer.nextToken(); in testStreamTokenizer()77 String result = tokenizer.toString(); in testStreamTokenizer()
194 StreamTokenizer tokenizer = new StreamTokenizer( in test_nextToken() local196 tokenizer.ordinaryChar('\n'); // make \n ordinary in test_nextToken()197 tokenizer.eolIsSignificant(true); in test_nextToken()198 assertTrue("Wrong token 2,1", tokenizer.nextToken() == '\n'); in test_nextToken()199 assertTrue("Wrong token 2,2", tokenizer.nextToken() == '\n'); in test_nextToken()200 assertEquals("Wrong token 2,3", '#', tokenizer.nextToken()); in test_nextToken()389 StreamTokenizer tokenizer = new StreamTokenizer( in test_toString() local391 tokenizer.nextToken(); in test_toString()392 String result = tokenizer.toString(); in test_toString()
849 StringTokenizer tokenizer = new StringTokenizer(header, ";"); in parseInternal() local854 namevaluePair = tokenizer.nextToken(); in parseInternal()875 while (tokenizer.hasMoreTokens()) { in parseInternal()876 namevaluePair = tokenizer.nextToken(); in parseInternal()