-Index: ConsoleTest.class.php
+Index: ports/classes/net/xp_framework/unittest/util/cmd/ConsoleTest.class.php
 ===================================================================
---- ConsoleTest.class.php	(revision 0)
-+++ ConsoleTest.class.php	(revision 0)
-@@ -0,0 +1,66 @@
+--- ports/classes/net/xp_framework/unittest/util/cmd/ConsoleTest.class.php	(revision 0)
++++ ports/classes/net/xp_framework/unittest/util/cmd/ConsoleTest.class.php	(revision 0)
+@@ -0,0 +1,165 @@
 +<?php
 +/* This class is part of the XP framework
 + *

+     *
+     */
+    #[@test]
+    public function testWriteLine() {
+      Console::writeLine('.');
+      $this->assertEquals(".\n", $this->streams[0]->getBytes());
+    }
+  }
+?>

Property changes on: ConsoleTest.class.php
___________________________________________________________________
Name: svn:keywords
   + Id

+     *
+     */
+    #[@test]
+    public function write() {
+      Console::write('.');
+      $this->assertEquals('.', $this->streams[0]->getBytes());
+    }
+
+    /**
+     * Test write() method
+     *
+     */
+    #[@test]
+    public function writeToOut() {
+      Console::$out->write('.');
+      $this->assertEquals('.', $this->streams[0]->getBytes());
+    }
+
+    /**
+     * Test write() method
+     *
+     */
+    #[@test]
+    public function writeToErr() {
+      Console::$err->write('.');
+      $this->assertEquals('.', $this->streams[1]->getBytes());
+    }
+
+    /**
+     * Test writef() method
+     *
+     */
+    #[@test]
+    public function writef() {
+      Console::writef('Hello "%s"', 'Timm');
+      $this->assertEquals('Hello "Timm"', $this->streams[0]->getBytes());
+    }
+
+    /**
+     * Test writef() method
+     *
+     */
+    #[@test]
+    public function writefToOut() {
+      Console::$out->writef('Hello "%s"', 'Timm');
+      $this->assertEquals('Hello "Timm"', $this->streams[0]->getBytes());
+    }
+
+    /**
+     * Test writef() method
+     *
+     */
+    #[@test]
+    public function writefToErr() {
+      Console::$err->writef('Hello "%s"', 'Timm');
+      $this->assertEquals('Hello "Timm"', $this->streams[1]->getBytes());
+    }
+
+    /**
