Update l10n for message format
This commit is contained in:
parent
3ac978bdc1
commit
2dbdf55694
@ -77,7 +77,7 @@ public class SocketConsoleApplicationTest {
|
||||
|
||||
String fromServer;
|
||||
int i = 0;
|
||||
String[] cmds = {"help", "test", "close"};
|
||||
String[] cmds = {"help", "toto", "test", "close"};
|
||||
while ((fromServer = in.readLine()) != null) {
|
||||
System.out.println("Server: \n" + ENCODER.decode(fromServer));
|
||||
if (fromServer.equals("Bye.")) {
|
||||
|
@ -1,2 +1,2 @@
|
||||
CommandProvider.unrecognized=Unrecognized command '{0}'
|
||||
ConsoleApplication.cmd.failed=The command '{0}' failed due to :
|
||||
CommandProvider.unrecognized=Unrecognized command "{0}"
|
||||
ConsoleApplication.cmd.failed=The command "{0}" failed due to :
|
||||
|
@ -76,7 +76,7 @@ public class ConsoleApplicationTest {
|
||||
final PipedInputStream snk = new PipedInputStream();
|
||||
PrintStream out = new PrintStream(new PipedOutputStream(snk));
|
||||
final ConsoleTestApplication app = new ConsoleTestApplication(
|
||||
new SystemConsoleManager(out, in));
|
||||
new SystemConsoleManager(System.out, in));
|
||||
Thread th = new Thread(new Runnable() {
|
||||
|
||||
@Override
|
||||
@ -93,6 +93,7 @@ public class ConsoleApplicationTest {
|
||||
public void run() {
|
||||
try (PrintWriter writer = new PrintWriter(src, true)) {
|
||||
writer.println("test");
|
||||
writer.println("toto");
|
||||
writer.println("long");
|
||||
writer.println("exit");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user