query-string-machine

QUnit 2.10.0; Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

6 tests completed in 16 milliseconds, with 0 failed, 0 skipped, and 0 todo.
76 assertions of 76 passed, 0 failed.

  1. QueryStringMachine: basic tests (15)Rerun5 ms
    1. We expect value to be hello@ 1 ms
    2. A blank query string should provide defaults@ 2 ms
    3. Query parameter values should be parsed@ 2 ms
    4. No value for screens should result in an empty array @ 2 ms
    5. Custom query parameter should be supported@ 2 ms
    6. Array should be parsed@ 2 ms
    7. Flag was provided@ 3 ms
    8. Flag was provided with no value@ 3 ms
    9. Flags cannot have values@ 3 ms
    10. Flags cannot have values@ 4 ms
    11. Array error handling should catch exception@ 4 ms
    12. Catch missing required query parameter@ 4 ms
    13. Arrays should support defaultValue and validValues@ 5 ms
    14. Catch invalid value for array@ 5 ms
    15. Test array of numbers@ 5 ms

    Source: at https://vlabs.edu-vod.com/bending-light/chipper/dist/js/query-string-machine/js/QueryStringMachineTests.js:12:7

  2. QueryStringMachine: deepEquals (16)Rerun1 ms
    1. 7 should equal itself@ 1 ms
    2. 7 should not equal 8@ 1 ms
    3. 7 should not equal "7"@ 1 ms
    4. string tests@ 1 ms
    5. array equality test@ 1 ms
    6. array inequality test@ 1 ms
    7. object in array inequality test@ 1 ms
    8. object in array inequality test@ 1 ms
    9. object in array inequality test@ 1 ms
    10. object in array inequality test@ 1 ms
    11. object in array inequality test@ 1 ms
    12. null null@ 1 ms
    13. null undefined@ 1 ms
    14. undefined undefined@ 1 ms
    15. different implementations of similar functions@ 1 ms
    16. same reference function@ 1 ms

    Source: at https://vlabs.edu-vod.com/bending-light/chipper/dist/js/query-string-machine/js/QueryStringMachineTests.js:166:7

  3. QueryStringMachine: removeKeyValuePair (9)Rerun1 ms
    1. Remove single occurrence@ 1 ms
    2. Remove single occurrence but leave other@ 1 ms
    3. Remove multiple occurrences@ 1 ms
    4. Remove multiple occurrences, one with value@ 1 ms
    5. Different order@ 1 ms
    6. Remove with no values@ 1 ms
    7. Remove with no values@ 1 ms
    8. Key to remove not present@ 1 ms
    9. Key to remove not present@ 1 ms

    Source: at https://vlabs.edu-vod.com/bending-light/chipper/dist/js/query-string-machine/js/QueryStringMachineTests.js:219:7

  4. QueryStringMachine: appendQueryString (7)Rerun1 ms
    1. http://localhost.com/hello.html + should be ok@ 1 ms
    2. http://localhost.com/hello.html?hi + should be ok@ 1 ms
    3. http://localhost.com/hello.html + ?test should be ok@ 1 ms
    4. http://localhost.com/hello.html + &test should be ok@ 1 ms
    5. http://localhost.com/hello.html?abc + should be ok@ 1 ms
    6. http://localhost.com/hello.html?abc + ?123 should be ok@ 1 ms
    7. http://localhost.com/hello.html?abc + &123 should be ok@ 1 ms

    Source: at https://vlabs.edu-vod.com/bending-light/chipper/dist/js/query-string-machine/js/QueryStringMachineTests.js:230:7

  5. QueryStringMachine: getSingleQueryParameterString (5)Rerun0 ms
    1. http://phet.colorado.com/hello.html?test + test should be equal@ 0 ms
    2. http://phet.colorado.com/hello.html?test=hi + test should be equal@ 0 ms
    3. http://phet.colorado.com/hello.html?hi&test=hi + test should be equal@ 0 ms
    4. ?hi&test=hi,4,3,%203 + test should be equal@ 0 ms
    5. http://something.edu/hello.html?jf4238597043*%24(%25%24*()%23%25%26*%23(%5E_(%26=7 + jf4238597043*$(%$*()#%&*#(^_(& should be equal@ 0 ms

    Source: at https://vlabs.edu-vod.com/bending-light/chipper/dist/js/query-string-machine/js/QueryStringMachineTests.js:242:7

  6. QueryStringMachine: public query parameters should be graceful (24)Rerun3 ms
    1. okay@ 0 ms
    2. okay@ 0 ms
    3. okay@ 1 ms
    4. should have the default value@ 1 ms
    5. okay@ 1 ms
    6. should have the default value@ 1 ms
    7. okay@ 1 ms
    8. should have the default value@ 1 ms
    9. should have the default value@ 2 ms
    10. okay@ 2 ms
    11. okay@ 2 ms
    12. okay@ 2 ms
    13. okay@ 2 ms
    14. okay@ 2 ms
    15. okay@ 2 ms
    16. okay@ 2 ms
    17. okay@ 2 ms
    18. okay@ 2 ms
    19. okay@ 2 ms
    20. okay@ 2 ms
    21. okay@ 2 ms
    22. okay@ 2 ms
    23. okay@ 2 ms
    24. okay@ 3 ms

    Source: at https://vlabs.edu-vod.com/bending-light/chipper/dist/js/query-string-machine/js/QueryStringMachineTests.js:254:7