1..93
# ::stringToArray()
ok 1 - ->stringToArray()
ok 2 - ->stringToArray()
ok 3 - ->stringToArray()
ok 4 - ->stringToArray()
ok 5 - ->stringToArray()
ok 6 - ->stringToArray()
ok 7 - ->stringToArray()
ok 8 - ->stringToArray()
ok 9 - ->stringToArray()
ok 10 - ->stringToArray()
ok 11 - ->stringToArray()
# ::isUTF8()
ok 12 - ::isUTF8() returns true if the parameter is an UTF-8 encoded string
ok 13 - ::isUTF8() returns true if the parameter is an UTF-8 encoded string
ok 14 - ::isUTF8() returns false if the parameter is not an UTF-8 encoded string
ok 15 - ::isUTF8() can operate on very large strings
# ::literalize()
ok 16 - ::literalize() returns true with true
ok 17 - ::literalize() returns true with TRUE
ok 18 - ::literalize() returns true with true
ok 19 - ::literalize() returns true with on
ok 20 - ::literalize() returns true with ON
ok 21 - ::literalize() returns true with on
ok 22 - ::literalize() returns true with +
ok 23 - ::literalize() returns true with +
ok 24 - ::literalize() returns true with yes
ok 25 - ::literalize() returns true with YES
ok 26 - ::literalize() returns true with yes
ok 27 - ::literalize() returns false with false
ok 28 - ::literalize() returns false with FALSE
ok 29 - ::literalize() returns false with false
ok 30 - ::literalize() returns false with off
ok 31 - ::literalize() returns false with OFF
ok 32 - ::literalize() returns false with off
ok 33 - ::literalize() returns false with -
ok 34 - ::literalize() returns false with -
ok 35 - ::literalize() returns false with no
ok 36 - ::literalize() returns false with NO
ok 37 - ::literalize() returns false with no
ok 38 - ::literalize() returns null with null
ok 39 - ::literalize() returns null with NULL
ok 40 - ::literalize() returns null with null
ok 41 - ::literalize() returns null with ~
ok 42 - ::literalize() returns null with ~
ok 43 - ::literalize() returns null with ""
ok 44 - ::literalize() returns null with
# ::replaceConstants()
ok 45 - ::replaceConstantsCallback() replaces constants enclosed in %
ok 46 - ::replaceConstantsCallback() does not replace unknown constants
ok 47 - ::replaceConstantsCallback() replaces constants enclosed in % even if value is null
ok 48 - ::replaceConstantsCallback() returns the original string if the constant is not defined
ok 49 - ::replaceConstantsCallback() returns the original string if the constant is not defined
ok 50 - ::replaceConstantsCallback() returns the original string if the constant is not defined
# ::isPathAbsolute()
ok 51 - ::isPathAbsolute() returns true if path is absolute
ok 52 - ::isPathAbsolute() returns true if path is absolute
ok 53 - ::isPathAbsolute() returns true if path is absolute
ok 54 - ::isPathAbsolute() returns true if path is absolute
ok 55 - ::isPathAbsolute() returns false if path is relative
ok 56 - ::isPathAbsolute() returns false if path is relative
ok 57 - ::isPathAbsolute() returns false if path is relative
# ::stripComments()
ok 58 - ::stripComments() strip all comments from a php string
ok 59 - ::stripComments() correctly handles comments within strings
# ::stripslashesDeep()
ok 60 - ::stripslashesDeep() strip slashes on string
ok 61 - ::stripslashesDeep() strip slashes on array
ok 62 - ::stripslashesDeep() strip slashes on deep arrays
ok 63 - ::stripslashesDeep() strip slashes on deep arrays
# ::clearDirectory()
ok 64 - ::clearDirectory() removes all directories from the directory parameter
ok 65 - ::clearDirectory() removes all directories from the directory parameter
ok 66 - ::clearDirectory() removes all directories from the directory parameter
# ::clearGlob()
ok 67 - ::clearGlob() removes all files and directories matching the pattern parameter
ok 68 - ::clearGlob() removes all files and directories matching the pattern parameter
ok 69 - ::clearGlob() removes all files and directories matching the pattern parameter
# ::arrayDeepMerge()
ok 70 - ::arrayDeepMerge() merges linear arrays preserving literal keys
ok 71 - ::arrayDeepMerge() recursively merges arrays preserving literal keys
ok 72 - ::arrayDeepMerge() merges linear arrays preserving numerical keys
ok 73 - ::arrayDeepMerge() recursively merges arrays preserving numerical keys
# ::getArrayValueForPath()
ok 74 - ::getArrayValueForPath() returns the value of the path if it exists
ok 75 - ::getArrayValueForPath() returns null if the path does not exist
ok 76 - ::getArrayValueForPath() takes a default value as its third argument
ok 77 - ::getArrayValueForPath() works with deep paths
ok 78 - ::getArrayValueForPath() works with deep paths
ok 79 - ::getArrayValueForPath() works with deep paths
ok 80 - ::getArrayValueForPath() accepts a [] at the end to check for an array
ok 81 - ::getArrayValueForPath() accepts a [] at the end to check for an array
ok 82 - ::getArrayValueForPath() accepts a [] at the end to check for an array
ok 83 - ::getArrayValueForPath() accepts a [] at the end to check for an array
ok 84 - ::getArrayValueForPath() can take an array indexed by integer
ok 85 - ::getArrayValueForPath() can take an array indexed by integer
ok 86 - ::getArrayValueForPath() can take an array indexed by integer
ok 87 - ::getArrayValueForPath() is not fooled by php mistaking strings and array
# ::addIncludePath()
ok 88 - ::addIncludePath() returns the previous include_path
not ok 89 - ::addIncludePath() adds a path to the front of include_path
# Failed test (.\sfToolkitTest.php at line 227)
# got: 'C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util;C:\\php5\\pear'
# expected: 'C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util;.;C:\\php5\\pear'
not ok 90 - ::addIncludePath() moves a path to the end of include_path
# Failed test (.\sfToolkitTest.php at line 230)
# got: 'C:\\php5\\pear;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util'
# expected: '.;C:\\php5\\pear;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util'
not ok 91 - ::addIncludePath() adds multiple paths the the front of include_path
# Failed test (.\sfToolkitTest.php at line 236)
# got: 'C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util/..;C:\\php5\\pear'
# expected: 'C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util/..;.;C:\\php5\\pear'
not ok 92 - ::addIncludePath() adds multiple paths the the back of include_path
# Failed test (.\sfToolkitTest.php at line 242)
# got: 'C:\\php5\\pear;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util/..'
# expected: '.;C:\\php5\\pear;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util;C:\\wamp\\www\\projet_symfony\\sysmed\\lib\\vendor\\symfony-1.4.0\\test\\unit\\util/..'
ok 93 - ::addIncludePath() throws an exception if position is not valid
Warning: opendir(C:\WINDOWS\TEMP\/sf_test_project) [function.opendir]: failed to open dir: No error in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php on line 62
Warning: readdir(): supplied argument is not a valid Directory resource in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php on line 67
Warning: closedir(): supplied argument is not a valid Directory resource in C:\wamp\www\projet_symfony\sysmed\lib\vendor\symfony-1.4.0\lib\util\sfToolkit.class.php on line 93
# Looks like you failed 4 tests of 93.