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), |