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 28 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)Rerun15 ms
                    1. node.tree@ 10 ms
                    2. node.parent@ 10 ms
                    3. node.key@ 11 ms
                    4. node.children@ 11 ms
                    5. node.isStatusNode()@ 11 ms
                    6. Fancytree assertion failed: Invalid mode: undefined mode@ 11 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@ 12 ms
                    12. Children added@ 12 ms
                    13. Children add at the first position@ 12 ms
                    14. Children added before element@ 12 ms
                    15. Children added after element@ 12 ms
                    16. Children added at first even if no child@ 13 ms
                    17. countChildren() - root@ 13 ms
                    18. countChildren(true) - root@ 13 ms
                    19. countChildren(false) - root@ 13 ms
                    20. findAll() - no match@ 13 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()@ 14 ms
                    30. getIndexHier('/')@ 14 ms
                    31. getKeyPath()@ 14 ms
                    32. getKeyPath(false)@ 14 ms
                    33. getKeyPath(true)@ 14 ms
                    34. getParent()@ 14 ms
                    35. getParentList()@ 14 ms
                    36. getParentList(false, false)@ 14 ms
                    37. getParentList(true, true)@ 14 ms
                    38. getParentList(false, true)@ 14 ms
                    39. getParentList(true, false)@ 14 ms

                    Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:340:7) at l (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:16996) at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:17783) at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:12504) at HTMLDocument.A (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:9909)

                  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