[pypy-svn] r43943 - pypy/dist/pypy/translator/jvm/test

pdg at codespeak.net pdg at codespeak.net
Thu May 31 17:43:55 CEST 2007


Author: pdg
Date: Thu May 31 17:43:54 2007
New Revision: 43943

Added:
   pypy/dist/pypy/translator/jvm/test/test_streamio.py
Modified:
   pypy/dist/pypy/translator/jvm/test/test_int.py
Log:
translator/jvm/test - removed the tab from test_int and added test_streamio

Modified: pypy/dist/pypy/translator/jvm/test/test_int.py
==============================================================================
--- pypy/dist/pypy/translator/jvm/test/test_int.py	(original)
+++ pypy/dist/pypy/translator/jvm/test/test_int.py	Thu May 31 17:43:54 2007
@@ -18,8 +18,8 @@
         pass # does this make more sense in jvm
         
     def test_specializing_int_functions(self):
-    	py.test.skip("Error with longlong precision results in 2 == 1")
-    	
+        py.test.skip("Error with longlong precision results in 2 == 1")
+        
     def test_float_conversion(self):
         py.test.skip("Unknown opcode cast_longlong_to_float")
         

Added: pypy/dist/pypy/translator/jvm/test/test_streamio.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/translator/jvm/test/test_streamio.py	Thu May 31 17:43:54 2007
@@ -0,0 +1,48 @@
+import py
+from pypy.translator.jvm.test.runtest import JvmTest
+from pypy.rlib.test.test_streamio import BaseTestBufferingInputStreamTests,\
+     BaseTestBufferingOutputStream, BaseTestLineBufferingOutputStream,\
+     BaseTestCRLFFilter, BaseTestBufferingInputOutputStreamTests,\
+     BaseTestTextInputFilter, BaseTestTextOutputFilter
+
+class TestBufferingInputStreamTests(JvmTest, BaseTestBufferingInputStreamTests):
+    pass
+
+class TestBufferingOutputStream(JvmTest, BaseTestBufferingOutputStream):
+    pass
+
+class TestLineBufferingOutputStream(JvmTest, BaseTestLineBufferingOutputStream):
+    pass
+
+class TestCRLFFilter(JvmTest, BaseTestCRLFFilter):
+    pass
+
+class TestBufferingInputOutputStreamTests(JvmTest, BaseTestBufferingInputOutputStreamTests):
+    pass
+
+class TestTextInputFilter(JvmTest, BaseTestTextInputFilter):
+    pass
+
+class TestTextOutputFilter(JvmTest, BaseTestTextOutputFilter):
+    def test_write_nl(self):
+        py.test.skip("VerifyError - Incompatible object arguments")
+        
+    def test_write_cr(self):
+        py.test.skip("VerifyError - Incompatible object arguments")
+
+    def test_write_crnl(self):
+        py.test.skip("VerifyError - Incompatible object arguments")
+
+    def test_write_tell_nl(self):
+        py.test.skip("VerifyError - Incompatible object arguments")
+    
+    def test_write_tell_cr(self):
+        py.test.skip("VerifyError - Incompatible object arguments")
+    
+    def test_write_tell_crnl(self):
+        py.test.skip("VerifyError - Incompatible object arguments")
+    
+    def test_write_seek(self):
+        py.test.skip("VerifyError - Incompatible object arguments")
+    
+



More information about the Pypy-commit mailing list