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 44 milliseconds.
16 assertions of 16 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) (16)Rerun30 ms
                  1. node.data.icon is not set@ 9 ms
                  2. icon span exists by default ('undefined')@ 10 ms
                  3. icon: true shows icon@ 10 ms
                  4. icon: false hides icon@ 10 ms
                  5. custom icons have span.fancytree-custom-icon@ 10 ms
                  6. custom icons have custom class added@ 10 ms
                  7. custom icons don't have .fancytree-icon@ 10 ms
                  8. image icon <img> exists@ 10 ms
                  9. image icon <span> not exists@ 11 ms
                  10. image icons don't have .fancytree-custom-icon@ 11 ms
                  11. icon hidden (node.icon=false, options.icon=undefined)@ 11 ms
                  12. icon visible (node.icon=false, options.icon=true)@ 11 ms
                  13. icon visible (node.icon=true, options.icon=undefined)@ 11 ms
                  14. icon hidden (node.icon=true, options.icon=false)@ 11 ms
                  15. using custom-class-2 (node.icon='custom-class-2', options.icon=undefined)@ 11 ms
                  16. using custom-class (node.icon='custom-class-2', options.icon='custom-class')@ 11 ms

                  Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:271: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: FancytreeNode class methodsRerun
                  1. 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