Fancytree unit tests

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

Tests completed in 35 milliseconds.
39 assertions of 39 passed, 0 failed.

  1. Configuration and Summary: Version infoRerun
    1. Initialization: Static membersRerun
      1. Initialization: Create FancytreeRerun
        1. Initialization: Create Fancytree - initRerun
          1. Initialization: Init node status from sourceRerun
            1. Initialization: Init node with custom dataRerun
              1. Initialization: Custom icons (node.icon)Rerun
                1. Initialization: Custom icons (options.icon)Rerun
                  1. API: FancytreeNode class methods (39)Rerun16 ms
                    1. node.tree@ 10 ms
                    2. node.parent@ 11 ms
                    3. node.key@ 11 ms
                    4. node.children@ 11 ms
                    5. node.isStatusNode()@ 11 ms
                    6. Fancytree assertion failed: Invalid mode: undefined mode@ 12 ms
                    7. Node added at the last position@ 12 ms
                    8. Children added@ 12 ms
                    9. Children at first position@ 12 ms
                    10. Children added@ 12 ms
                    11. Children added at last position@ 13 ms
                    12. Children added@ 13 ms
                    13. Children add at the first position@ 13 ms
                    14. Children added before element@ 13 ms
                    15. Children added after element@ 13 ms
                    16. Children added at first even if no child@ 13 ms
                    17. countChildren() - root@ 14 ms
                    18. countChildren(true) - root@ 14 ms
                    19. countChildren(false) - root@ 14 ms
                    20. findAll() - no match@ 14 ms
                    21. findAll() - match title@ 14 ms
                    22. findAll() - match title (ignore case)@ 14 ms
                    23. findAll() - custom match@ 14 ms
                    24. findFirst() - no match@ 14 ms
                    25. findFirst() - match title@ 14 ms
                    26. findFirst() - match title (ignore case)@ 14 ms
                    27. findFirst() - custom match@ 14 ms
                    28. getIndex()@ 14 ms
                    29. getIndexHier()@ 15 ms
                    30. getIndexHier('/')@ 15 ms
                    31. getKeyPath()@ 15 ms
                    32. getKeyPath(false)@ 15 ms
                    33. getKeyPath(true)@ 15 ms
                    34. getParent()@ 15 ms
                    35. getParentList()@ 15 ms
                    36. getParentList(false, false)@ 15 ms
                    37. getParentList(true, true)@ 15 ms
                    38. getParentList(false, true)@ 15 ms
                    39. getParentList(true, false)@ 15 ms

                    Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:340:7) at i (https://code.jquery.com/jquery-2.2.0.min.js:2:27065) at Object.fireWith [as resolveWith] (https://code.jquery.com/jquery-2.2.0.min.js:2:27828) at Function.ready (https://code.jquery.com/jquery-2.2.0.min.js:2:29621) at HTMLDocument.J (https://code.jquery.com/jquery-2.2.0.min.js:2:29806)

                  2. API: Fancytree class methodsRerun
                    1. Asynchronous API: trigger async expandRerun
                      1. Asynchronous API: makeVisible not rendered deep nodeRerun
                        1. events: .click() to expand a folderRerun
                          1. events: .click() to activate a nodeRerun
                            1. events: .click() to activate a folder (clickFolderMode 3 triggers expand)Rerun
                              1. events: .click() to select a nodeRerun
                                1. events: 'modifyChild' eventRerun
                                  1. generateFormElements(): multi selectRerun
                                    1. generateFormElements(): selectMode: 3Rerun
                                      1. lazy loading: Using ajax options for `source`; .click() expands a lazy folderRerun
                                        1. lazy loading: Using $.ajax promise for `source`; .click() expands a lazy folderRerun
                                          1. Selection mode 3: load behaviorRerun
                                            1. add children & patches: add childrenRerun
                                              1. add children & patches: apply patchRerun
                                                1. keypath: loadKeyPath (allready loaded)Rerun
                                                  1. keypath: loadKeyPath (lazy nodes)Rerun
                                                    1. keypath: loadKeyPath (multiple lazy nodes with expand)Rerun
                                                      test markup, will be hidden