Home
last modified time | relevance | path

Searched refs:console (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DConsoleTest.java44 private Console console = null; field in ConsoleTest
52 console = constructor.newInstance(in, out); in setUp()
57 console = null; in tearDown()
62 console.flush(); in test_flush()
63 assertFalse(console.writer().checkError()); in test_flush()
67 assertSame(console, console.format("%d %s", 1, "hello")); in test_format_LString_LObject()
74 assertSame(console, console.printf("%1$tm %1$te,%1$tY", c)); in test_printf_LString_LObject()
80 Reader reader1 = console.reader(); in test_reader()
82 Reader reader2 = console.reader(); in test_reader()
87 String line = console.readLine(); in test_readLine()
[all …]
/libcore/ojluni/src/main/java/java/io/
DConsole.java521 public static Console console() { in console() method in Console
/libcore/ojluni/src/main/java/java/lang/
DSystem.java204 public static Console console() { in console() method in System
207 cons = Console.console(); in console()