/[gzz]/gzz/test/gzz/gfx/jni/jnistrconv.test
ViewVC logotype

Diff of /gzz/test/gzz/gfx/jni/jnistrconv.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by humppake, Wed Nov 13 11:21:53 2002 UTC revision 1.9 by humppake, Thu Nov 14 14:51:39 2002 UTC
# Line 3  needGL() Line 3  needGL()
3  from gzz.gfx.gl import GL_Testing  from gzz.gfx.gl import GL_Testing
4  import java.lang.String  import java.lang.String
5    
 def testUniScandJavaSubstr_without_stringlength():  
     str = java.lang.String("Viime yönä Åke jutteli Äreälle Örisijälle åskardeista.")  
     failIf(str.substring(5,20) != GL_Testing.loopUnistrConvFailing(str.substring(5,20)),  
         "["+str.substring(5,20)+"] != \  
 ["+GL_Testing.loopUnistrConvFailing(str.substring(5,20))+"]\n\  
 Substring of phrase using scandinavian chraracters corrupted \  
 during unistring conversion. The non-null-string bug propably detected. \  
 If the other conversion tests are ok, this is fixed.")  
   
6  def testUniAZ():  def testUniAZ():
7      str = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"      str = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"
8      failIf(str != GL_Testing.loopUnistrConv(str),      failIf(str != GL_Testing.loopUnistrConv(str),

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26