Filewatcher File Search File Search
Catalog
Content Search
» » » » » » pyjamas-examples-0.7-5.el6.noarch.rpm » Content »
pkg://pyjamas-examples-0.7-5.el6.noarch.rpm:1396560/usr/share/pyjamas/examples/libtest/  info  HEADER  downloads

pyjamas-examples - Example files for pyjamas…  more info»

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!

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com