Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
I18N
imports
ArgsTest.py
AttributeTest.py
Base64ModuleTest.py
BoolTest.py
BuiltinTest.py
ClassTest.py
CompileTest.py
CsvModuleTest.py
DatetimeModuleTest.py
DictTest.py
ExceptionTest.py
Factory2.py
FunctionTest.py
GeneratorTest.py
HashableTest.py
JSOTest.py
LibTest.html
LibTest.py
ListTest.py
LongTest.py
LongTypeTest.py
LoopTest.py
MD5Test.py
MathModuleTest.py
NameTest.py
NoInlineCodeTest.py
README
RandomModuleTest.py
ReModuleTest.py
RunTests.py
SetTest.py
StringIOModuleTest.py
StringTest.py
Syntax27Test.py
TemplateStringTest.py
TimeModuleTest.py
TupleTest.py
TypeCompatibilityTest.py
UnitTest.py
UrllibModuleTest.py
VarsTest.py
WindowTest.py
WithTest.py
__main__.py
_badsyntaxmodule.py
_importtimeerror.py
_untranslatablemodule.py
all_checks.sh
builtin.py
check_coverage.sh
check_js_lint.sh
compile_only.py
foo.py
jsl.pyjs.conf
pyv8test.sh
runzonetest.sh
write.py

README

These are unit tests for the pyjamas libraries.  Compile them as usual
with ./build.sh:

    ../../bin/pyjsbuild LibTest.py

The tests can _also_ be executed using standard python:

    python LibTest.py

Priority should be given to getting the test correct using standard
python.  For example, at the time of writing, when the ability to run
LibTest.py with standard python was added, four basic tests failed:

    <b>String Test failed (testSplit) : </b>' this is  a rather long string  ' 
                                            != ' this is  a rather long string '
    <b>List Test failed (testSortCmp) : </b>assertion failed
    <b>Attribute Test failed (testSetAttr) : </b>2 != 1
    <b>Dict Test failed (testStringKeys) : </b>"'notthere'" != 
                                                'KeyError: notthere'

Yet - these tests are successful in pyjamas!

Something went wrong with that request. Please try again.