Revision: 3907 http://vexi.svn.sourceforge.net/vexi/?rev=3907&view=rev Author: clrg Date: 2010-09-16 16:33:46 +0000 (Thu, 16 Sep 2010)
Log Message: ----------- Basic example (not really a test) for character misassignment Added Paths: ----------- branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/TestStream.java branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/loadfile.t branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/textfile.txt Added: branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/TestStream.java =================================================================== --- branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/TestStream.java (rev 0) +++ branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/TestStream.java 2010-09-16 16:33:46 UTC (rev 3907) @@ -0,0 +1,20 @@ +package test.core.stream; + +import junit.framework.*; +import test.core.CoreTestSuite; + +/** + * @author mike + */ +public class TestStream { + + public static Test suite() { + return CoreTestSuite.suite(TestStream.class); + } + public static void main(String[] args) throws Throwable { + + CoreTestSuite cts = new CoreTestSuite(TestStream.class); + TestCase t = cts.createTestCase(cts.getResourceDirs(), "loadfile.t"); + t.runBare(); + } +} Property changes on: branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/TestStream.java ___________________________________________________________________ Added: svn:mime-type + text/plain Added: branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/loadfile.t =================================================================== --- branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/loadfile.t (rev 0) +++ branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/loadfile.t 2010-09-16 16:33:46 UTC (rev 3907) @@ -0,0 +1,7 @@ +<vexi xmlns:ui="vexi://ui"> + <ui:box> + var stream = vexi.unclone(vexi[""]["textfile.txt"]); + var str = vexi.stream.utf8reader(stream).all; + vexi.trace("output: "+str); + </ui:box> +</vexi> \ No newline at end of file Added: branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/textfile.txt =================================================================== --- branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/textfile.txt (rev 0) +++ branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/textfile.txt 2010-09-16 16:33:46 UTC (rev 3907) @@ -0,0 +1 @@ +\xA32,500 Property changes on: branches/vexi3_old_build/core/org.vexi.core/src_junit/test/core/stream/textfile.txt ___________________________________________________________________ Added: svn:mime-type + text/plain This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn