@aj-shadow/actorjs-app 0.0.0-aj-beta.221
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +29 -0
- package/.vscode/launch.json +18 -0
- package/CHANGELOG.md +79 -0
- package/LICENSE.txt +96 -0
- package/README.md +86 -0
- package/contributors.txt +3 -0
- package/main.js +14 -0
- package/npm-post-install.js +618 -0
- package/npm-shrinkwrap.json +14 -0
- package/package.json +16 -0
- package/project/actorjs-project.tree +466 -0
- package/project/client/actions/action-actor-editor/action-actor-editor-file.js +101 -0
- package/project/client/actions/action-actor-editor/action-actor-editor-folder.js +41 -0
- package/project/client/actions/action-actor-editor/action-actor-editor-persistent-data.js +23 -0
- package/project/client/actions/action-actor-editor/action-actor-editor-project.js +23 -0
- package/project/client/actions/action-actor-editor/data-action-actor-editor-file.js +70 -0
- package/project/client/actions/action-actor-editor/data-action-actor-editor-folder.js +26 -0
- package/project/client/actions/action-actor-editor/data-action-actor-editor-project.js +27 -0
- package/project/client/actions/action-actor-editor/realtime-action-actors-editor.js +14 -0
- package/project/client/actions/action-addresses/action-addresses.js +180 -0
- package/project/client/actions/action-addresses/data-action-addresses.js +174 -0
- package/project/client/actions/action-console/action-console.js +11 -0
- package/project/client/actions/action-console/data-action-console.js +12 -0
- package/project/client/actions/action-content/action-content.js +101 -0
- package/project/client/actions/action-content/data-action-content.js +90 -0
- package/project/client/actions/action-function-under-test.js +45 -0
- package/project/client/actions/action-load/action-load.js +29 -0
- package/project/client/actions/action-load/data-action-load.js +4 -0
- package/project/client/actions/action-login/action-login.js +95 -0
- package/project/client/actions/action-login/data-action-login.js +83 -0
- package/project/client/actions/action-plugins/action-plugins.js +17 -0
- package/project/client/actions/action-plugins/data-action-plugins.js +20 -0
- package/project/client/actions/action-plus-services/action-plus-services.js +17 -0
- package/project/client/actions/action-plus-services/data-action-plus-services.js +20 -0
- package/project/client/actions/action-repos/action-repos.js +35 -0
- package/project/client/actions/action-repos/data-action-repos.js +42 -0
- package/project/client/actions/action-stack-editor/action-stack-editor-file.js +84 -0
- package/project/client/actions/action-stack-editor/action-stack-editor-folder.js +41 -0
- package/project/client/actions/action-stack-editor/action-stack-editor-persistent-data.js +23 -0
- package/project/client/actions/action-stack-editor/action-stack-editor-project.js +29 -0
- package/project/client/actions/action-stack-editor/data-action-stack-editor-file.js +49 -0
- package/project/client/actions/action-stack-editor/data-action-stack-editor-folder.js +26 -0
- package/project/client/actions/action-stack-editor/data-action-stack-editor-project.js +34 -0
- package/project/client/actions/action-sut-fut-filter.js +23 -0
- package/project/client/actions/action-system-under-test/action-system-under-test.js +164 -0
- package/project/client/actions/action-system-under-test/data-action-system-under-test.js +70 -0
- package/project/client/actions/action-test-case/action-test-case.js +323 -0
- package/project/client/actions/action-test-case/data-action-test-case.js +133 -0
- package/project/client/actions/action-test-case/realtime-action-test-case.js +69 -0
- package/project/client/actions/action-test-cases.js +49 -0
- package/project/client/actions/action-test-data/action-test-data.js +77 -0
- package/project/client/actions/action-test-data/data-action-test-data.js +62 -0
- package/project/client/actions/action-test-suite/action-test-suite.js +122 -0
- package/project/client/actions/action-test-suite/data-action-test-suite.js +76 -0
- package/project/client/actions/action-test-suite/realtime-action-test-suite.js +20 -0
- package/project/client/actions/action-test-suites.js +47 -0
- package/project/client/actor-default.js +18 -0
- package/project/client/communication/messages/messages-c-to-c/message-new-actor-index.js +15 -0
- package/project/client/communication/messages/messages-c-to-c/message-test-case-clear.js +15 -0
- package/project/client/communication/messages/messages-c-to-c/message-test-case-not-started.js +15 -0
- package/project/client/communication/messages/messages-c-to-c/message-test-suite-clear.js +15 -0
- package/project/client/components/footer/footer.jsx +94 -0
- package/project/client/components/header/header-status-login.jsx +78 -0
- package/project/client/components/header/header-status-staging-environment.jsx +132 -0
- package/project/client/components/header/header.jsx +27 -0
- package/project/client/components/header/header_icon.jsx +37 -0
- package/project/client/components/header/header_status.jsx +33 -0
- package/project/client/components/middle/abbreviation/middle-abbreviation-toolbar.jsx +126 -0
- package/project/client/components/middle/abbreviation/middle-abbreviation.jsx +27 -0
- package/project/client/components/middle/actor-editor/middle-actor-editor-sidebar.jsx +101 -0
- package/project/client/components/middle/actor-editor/middle-actor-editor-toolbar.jsx +612 -0
- package/project/client/components/middle/actor-editor/middle-actor-editor-view.jsx +157 -0
- package/project/client/components/middle/actor-editor/middle-actor-editor.jsx +38 -0
- package/project/client/components/middle/addresses/helpers/stage-filter.js +32 -0
- package/project/client/components/middle/addresses/middle-addresses-toolbar.jsx +183 -0
- package/project/client/components/middle/addresses/middle-addresses-view-client-address.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-client-interface.jsx +68 -0
- package/project/client/components/middle/addresses/middle-addresses-view-dns.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-dst.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-network-interface.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-ports.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-server-address.jsx +68 -0
- package/project/client/components/middle/addresses/middle-addresses-view-server-interface.jsx +68 -0
- package/project/client/components/middle/addresses/middle-addresses-view-src.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-srv.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-sut-address.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view-sut-interface.jsx +67 -0
- package/project/client/components/middle/addresses/middle-addresses-view.jsx +155 -0
- package/project/client/components/middle/addresses/middle-addresses.jsx +39 -0
- package/project/client/components/middle/content/middle-content-toolbar.jsx +135 -0
- package/project/client/components/middle/content/middle-content-view-audio.jsx +60 -0
- package/project/client/components/middle/content/middle-content-view-documents.jsx +60 -0
- package/project/client/components/middle/content/middle-content-view-image.jsx +60 -0
- package/project/client/components/middle/content/middle-content-view-other.jsx +60 -0
- package/project/client/components/middle/content/middle-content-view-text.jsx +60 -0
- package/project/client/components/middle/content/middle-content-view-video.jsx +60 -0
- package/project/client/components/middle/content/middle-content-view.jsx +111 -0
- package/project/client/components/middle/content/middle-content.jsx +39 -0
- package/project/client/components/middle/middle-not-found.jsx +24 -0
- package/project/client/components/middle/middle-sut-fut-filter.jsx +90 -0
- package/project/client/components/middle/middle.jsx +90 -0
- package/project/client/components/middle/middle_sidebar.jsx +256 -0
- package/project/client/components/middle/plugins/middle-plugins.jsx +64 -0
- package/project/client/components/middle/plus-services/middle-plus-services.jsx +63 -0
- package/project/client/components/middle/repos/middle-repos-toolbar.jsx +137 -0
- package/project/client/components/middle/repos/middle-repos-view.jsx +47 -0
- package/project/client/components/middle/repos/middle-repos.jsx +36 -0
- package/project/client/components/middle/stack-editor/middle-stack-editor-sidebar.jsx +101 -0
- package/project/client/components/middle/stack-editor/middle-stack-editor-toolbar.jsx +525 -0
- package/project/client/components/middle/stack-editor/middle-stack-editor-view.jsx +156 -0
- package/project/client/components/middle/stack-editor/middle-stack-editor.jsx +38 -0
- package/project/client/components/middle/staging/helper.js +58 -0
- package/project/client/components/middle/staging/middle-staging-modal-interface-create.jsx +244 -0
- package/project/client/components/middle/staging/middle-staging-modal-interface-delete.jsx +186 -0
- package/project/client/components/middle/staging/middle-staging-toolbar.jsx +267 -0
- package/project/client/components/middle/staging/middle-staging-view.jsx +67 -0
- package/project/client/components/middle/staging/middle-staging.jsx +40 -0
- package/project/client/components/middle/staging/tabs/middle-staging-tab-logical.jsx +27 -0
- package/project/client/components/middle/staging/tabs/middle-staging-tab-report.jsx +62 -0
- package/project/client/components/middle/staging/tabs/middle-staging-tab-repos.jsx +96 -0
- package/project/client/components/middle/staging/tabs/middle-staging-tab-setup.jsx +73 -0
- package/project/client/components/middle/start/middle-start-toolbar.jsx +134 -0
- package/project/client/components/middle/start/middle-start-view.jsx +335 -0
- package/project/client/components/middle/start/middle-start.jsx +36 -0
- package/project/client/components/middle/system-under-test/middle-system-under-test-toolbar.jsx +171 -0
- package/project/client/components/middle/system-under-test/middle-system-under-test-view-multi.jsx +119 -0
- package/project/client/components/middle/system-under-test/middle-system-under-test-view-single.jsx +85 -0
- package/project/client/components/middle/system-under-test/middle-system-under-test.jsx +40 -0
- package/project/client/components/middle/system-under-test/tabs/middle-system-under-test-tab-instances.jsx +164 -0
- package/project/client/components/middle/system-under-test/tabs/middle-system-under-test-tab-nodes.jsx +160 -0
- package/project/client/components/middle/system-under-test/tabs/middle-system-under-test-tab-specification.jsx +463 -0
- package/project/client/components/middle/test-cases/general-helpers/actors-sorting.js +52 -0
- package/project/client/components/middle/test-cases/middle-test-cases-not-found.jsx +51 -0
- package/project/client/components/middle/test-cases/middle-test-cases-toolbar.jsx +804 -0
- package/project/client/components/middle/test-cases/middle-test-cases-view-columns.jsx +222 -0
- package/project/client/components/middle/test-cases/middle-test-cases-view-fut.jsx +105 -0
- package/project/client/components/middle/test-cases/middle-test-cases-view-recent.jsx +74 -0
- package/project/client/components/middle/test-cases/middle-test-cases-view-sut.jsx +98 -0
- package/project/client/components/middle/test-cases/middle-test-cases-view-tc.jsx +108 -0
- package/project/client/components/middle/test-cases/middle-test-cases-view-test-case.jsx +104 -0
- package/project/client/components/middle/test-cases/middle-test-cases.jsx +59 -0
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-analyze.jsx +289 -0
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-debug.jsx +699 -0
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-definition.jsx +103 -0
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-execution.jsx +321 -0
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-log.jsx +150 -0
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-sequence-diagram.jsx +160 -0
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-specification.jsx +472 -0
- package/project/client/components/middle/test-data/middle-test-data-toolbar.jsx +135 -0
- package/project/client/components/middle/test-data/middle-test-data-view-environment.jsx +64 -0
- package/project/client/components/middle/test-data/middle-test-data-view-general.jsx +61 -0
- package/project/client/components/middle/test-data/middle-test-data-view-output.jsx +60 -0
- package/project/client/components/middle/test-data/middle-test-data-view-system.jsx +61 -0
- package/project/client/components/middle/test-data/middle-test-data-view.jsx +98 -0
- package/project/client/components/middle/test-data/middle-test-data.jsx +39 -0
- package/project/client/components/middle/test-suites/middle-test-suites-toolbar.jsx +524 -0
- package/project/client/components/middle/test-suites/middle-test-suites-view-columns.jsx +222 -0
- package/project/client/components/middle/test-suites/middle-test-suites-view-fut.jsx +105 -0
- package/project/client/components/middle/test-suites/middle-test-suites-view-recent.jsx +74 -0
- package/project/client/components/middle/test-suites/middle-test-suites-view-sut.jsx +96 -0
- package/project/client/components/middle/test-suites/middle-test-suites-view-test-suite.jsx +593 -0
- package/project/client/components/middle/test-suites/middle-test-suites-view-ts.jsx +109 -0
- package/project/client/components/middle/test-suites/middle-test-suites.jsx +55 -0
- package/project/client/components/middle/test-suites/tabs/middle-test-suites-tab-definition.jsx +74 -0
- package/project/client/components/middle/test-suites/tabs/middle-test-suites-tab-execution.jsx +544 -0
- package/project/client/components/middle/test-suites/tabs/middle-test-suites-tab-log.jsx +118 -0
- package/project/client/components/middle/test-suites/tabs/middle-test-suites-tab-sequence-diagram.jsx +155 -0
- package/project/client/components/middle/user/middle-user-toolbar.jsx +32 -0
- package/project/client/components/middle/user/middle-user-view.jsx +32 -0
- package/project/client/components/middle/user/middle-user.jsx +39 -0
- package/project/client/components/middle/videos/middle-videos-view.jsx +135 -0
- package/project/client/components/middle/videos/middle-videos.jsx +32 -0
- package/project/client/css/components/component-video.css +15 -0
- package/project/client/css/components/modal-dialog-file.css +4 -0
- package/project/client/css/footer/footer-info.css +18 -0
- package/project/client/css/footer/footer-logo.css +39 -0
- package/project/client/css/from-code-editor/sidebar-dark.css +20 -0
- package/project/client/css/from-code-editor/sidebar-light.css +18 -0
- package/project/client/css/from-code-editor/tab.css +19 -0
- package/project/client/css/from-code-editor/tab_dark.css +9 -0
- package/project/client/css/from-code-editor/tab_light.css +9 -0
- package/project/client/css/from-code-editor/view-dark.css +11 -0
- package/project/client/css/from-code-editor/view-light.css +10 -0
- package/project/client/css/header/header-status.css +114 -0
- package/project/client/css/header/header.css +16 -0
- package/project/client/css/log-inner.css +46 -0
- package/project/client/css/main.css +4 -0
- package/project/client/css/middle/actor-editor.css +30 -0
- package/project/client/css/middle/address.css +57 -0
- package/project/client/css/middle/content.css +41 -0
- package/project/client/css/middle/login.css +118 -0
- package/project/client/css/middle/middle-start.css +5 -0
- package/project/client/css/middle/middle.css +13 -0
- package/project/client/css/middle/middle_sidebar.css +44 -0
- package/project/client/css/middle/middle_view.css +41 -0
- package/project/client/css/middle/stack-editor.css +30 -0
- package/project/client/css/middle/start/middle_start.css +94 -0
- package/project/client/css/middle/systems-under-test/systems-under-test-specification.css +48 -0
- package/project/client/css/middle/systems-under-test/systems-under-test.css +49 -0
- package/project/client/css/middle/test-case-and-test-suite/analyze.css +5 -0
- package/project/client/css/middle/test-case-and-test-suite/debug.css +281 -0
- package/project/client/css/middle/test-case-and-test-suite/execution.css +7 -0
- package/project/client/css/middle/test-case-and-test-suite/log.css +13 -0
- package/project/client/css/middle/test-case-and-test-suite/seq-dia.css +13 -0
- package/project/client/css/middle/test-cases/test-cases-analyze.css +9 -0
- package/project/client/css/middle/test-cases/test-cases-debug.css +61 -0
- package/project/client/css/middle/test-cases/test-cases-execution.css +4 -0
- package/project/client/css/middle/test-cases/test-cases-specification.css +82 -0
- package/project/client/css/middle/test-cases/test-cases.css +189 -0
- package/project/client/css/middle/test-data.css +52 -0
- package/project/client/css/middle/test-suites.css +525 -0
- package/project/client/css/middle/videos/videos.css +37 -0
- package/project/client/css/middle_test_cases_screen.css +8 -0
- package/project/client/css/middle_toolbar.css +10 -0
- package/project/client/css/repos.css +15 -0
- package/project/client/css/same_size_as_parent.css +6 -0
- package/project/client/css/test.css +116 -0
- package/project/client/html/index.html +61 -0
- package/project/client/main.jsx +59 -0
- package/project/client/stores/abbreviation-store.js +57 -0
- package/project/client/stores/actor-editor-store.js +758 -0
- package/project/client/stores/addresses-store.js +419 -0
- package/project/client/stores/console-store.js +27 -0
- package/project/client/stores/content-store.js +237 -0
- package/project/client/stores/documentation-store.js +14 -0
- package/project/client/stores/education-store.js +14 -0
- package/project/client/stores/filter-store.js +30 -0
- package/project/client/stores/function-under-test-store.js +58 -0
- package/project/client/stores/load-store.js +92 -0
- package/project/client/stores/login-store.js +232 -0
- package/project/client/stores/plugins-store.js +255 -0
- package/project/client/stores/plus-services-store.js +267 -0
- package/project/client/stores/repos-store.js +160 -0
- package/project/client/stores/stack-editor-store.js +691 -0
- package/project/client/stores/system-under-test-store.js +340 -0
- package/project/client/stores/test-case-store.js +1118 -0
- package/project/client/stores/test-cases-store.js +106 -0
- package/project/client/stores/test-data-store.js +181 -0
- package/project/client/stores/test-suite-store.js +438 -0
- package/project/client/stores/test-suites-store.js +86 -0
- package/project/client/stores/workshop-store.js +15 -0
- package/project/server/os/os-hardware.js +83 -0
- package/project/server/os/os-networks.js +50 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorBuild.js +185 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFileDelete.js +21 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFileGet.js +18 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFileInlineGet.js +60 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFileInlineUpdate.js +69 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFileNew.js +396 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFileRename.js +28 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFileUpdate.js +18 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFolderDelete.js +21 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFolderNew.js +19 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorFolderUpdate.js +19 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorProjectGet.js +77 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorProjectToggle.js +18 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorProjectUpdate.js +22 -0
- package/project/server/plugin-data/actor-editor/plugin_data_ActorEditorStacksGet.js +54 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesClientAddressGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesClientAddressUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesClientInterfaceGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesClientInterfaceUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesDnsGet.js +20 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesDnsUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesDstGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesDstUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesNetworkInterfaceGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesNetworkInterfaceUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesPortsGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesPortsUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesServerAddressGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesServerAddressUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesServerInterfaceGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesServerInterfaceUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSrcGet.js +38 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSrcUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSrvGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSrvUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSutAddressGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSutAddressUpdate.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSutInterfaceGet.js +19 -0
- package/project/server/plugin-data/addresses/plugin_data_AddressesSutInterfaceUpdate.js +19 -0
- package/project/server/plugin-data/console/plugin_data_ConsoleClear.js +20 -0
- package/project/server/plugin-data/content/plugin_data_ContentAudioGet.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentAudioUpdate.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentDocumentsGet.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentDocumentsUpdate.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentImageGet.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentImageUpdate.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentOtherGet.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentOtherUpdate.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentTextGet.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentTextUpdate.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentVideoGet.js +19 -0
- package/project/server/plugin-data/content/plugin_data_ContentVideoUpdate.js +19 -0
- package/project/server/plugin-data/function-under-test/plugin_data_FunctionUnderTestAdd.js +60 -0
- package/project/server/plugin-data/function-under-test/plugin_data_FunctionUnderTestDelete.js +20 -0
- package/project/server/plugin-data/function-under-test/plugin_data_FunctionUnderTestGet.js +92 -0
- package/project/server/plugin-data/login/plugin_data_LoginButtonsAdd.js +18 -0
- package/project/server/plugin-data/login/plugin_data_LoginButtonsGet.js +18 -0
- package/project/server/plugin-data/login/plugin_data_LoginButtonsUpdate.js +18 -0
- package/project/server/plugin-data/login/plugin_data_LoginCreateInterfaces.js +73 -0
- package/project/server/plugin-data/login/plugin_data_LoginDataGet.js +88 -0
- package/project/server/plugin-data/login/plugin_data_LoginDeleteInterfaces.js +38 -0
- package/project/server/plugin-data/login/plugin_data_LoginGet.js +22 -0
- package/project/server/plugin-data/login/plugin_data_LoginPing.js +72 -0
- package/project/server/plugin-data/login/plugin_data_LoginReposGet.js +18 -0
- package/project/server/plugin-data/login/plugin_data_LoginUpdate.js +44 -0
- package/project/server/plugin-data/login/plugin_data_LoginWsGet.js +39 -0
- package/project/server/plugin-data/plugins/plugin_data_PluginsBundleGet.js +34 -0
- package/project/server/plugin-data/plugins/plugin_data_PluginsGet.js +26 -0
- package/project/server/plugin-data/plus-services/plugin_data_PlusServicesBundleGet.js +34 -0
- package/project/server/plugin-data/plus-services/plugin_data_PlusServicesGet.js +78 -0
- package/project/server/plugin-data/repos/plugin_data_ReposAnalyzeLocalReposGet.js +142 -0
- package/project/server/plugin-data/repos/plugin_data_ReposClone.js +154 -0
- package/project/server/plugin-data/repos/plugin_data_ReposGet.js +18 -0
- package/project/server/plugin-data/repos/plugin_data_ReposVerifyGit.js +79 -0
- package/project/server/plugin-data/repos/repos.js +94 -0
- package/project/server/plugin-data/stack-editor/helpers/template.js +351 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorBuild.js +185 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFileDelete.js +21 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFileGet.js +18 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFileNew.js +24 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFileRename.js +27 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFileUpdate.js +18 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFolderDelete.js +21 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFolderNew.js +19 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorFolderUpdate.js +19 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorProjectGet.js +77 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorProjectToggle.js +18 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorProjectUpdate.js +22 -0
- package/project/server/plugin-data/stack-editor/plugin_data_StackEditorWizard.js +43 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestAdd.js +72 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestDelete.js +20 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestGet.js +138 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestInstancesUpdate.js +21 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestNodesUpdate.js +21 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestRepoAdd.js +46 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestRepoGet.js +57 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestSpecificationUpdate.js +21 -0
- package/project/server/plugin-data/system-under-test/plugin_data_SystemUnderTestUpdate.js +24 -0
- package/project/server/plugin-data/test-case/debug.js +39 -0
- package/project/server/plugin-data/test-case/debugger-api.js +398 -0
- package/project/server/plugin-data/test-case/debugger.js +129 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseActorsFileGet.js +26 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseAdd.js +74 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseAnalyze.js +451 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseButtonsAdd.js +19 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseButtonsGet.js +19 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseButtonsUpdate.js +19 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugBreakpointClear.js +56 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugBreakpointClearAll.js +23 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugBreakpointSet.js +118 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugBreakpointUpdate.js +84 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugGet.js +40 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugGetMembers.js +40 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugGetProperty.js +47 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugGetSource.js +29 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugLoad.js +35 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugRun.js +52 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugStart.js +217 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDebugStop.js +23 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseDelete.js +20 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseExecutionStart.js +73 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseGet.js +118 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseRecentDelete.js +57 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseRecentGet.js +20 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseRecentUpdate.js +62 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseRename.js +43 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseSpecificationUpdate.js +21 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseStacksGet.js +54 -0
- package/project/server/plugin-data/test-case/plugin_data_TestCaseUpdate.js +42 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataEnvironmentGet.js +72 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataEnvironmentUpdate.js +19 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataGeneralGet.js +19 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataGeneralUpdate.js +19 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataOutputGet.js +19 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataOutputUpdate.js +19 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataSystemGet.js +19 -0
- package/project/server/plugin-data/test-data/plugin_data_TestDataSystemUpdate.js +19 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteAdd.js +51 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteButtonsAdd.js +19 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteButtonsGet.js +18 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteButtonsUpdate.js +18 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteDelete.js +20 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteExecutionStart.js +401 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteGet.js +110 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteRecentDelete.js +54 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteRecentGet.js +18 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteRecentUpdate.js +59 -0
- package/project/server/plugin-data/test-suite/plugin_data_TestSuiteUpdate.js +42 -0
- package/project/server/plugin-service/platform-fs/plugin_service_Platform-Fs.js +65 -0
- package/project/server/plugin-service/platform-fs/verify-or-create-files.js +57 -0
- package/repos.json +19 -0
- package/server-test-case.js +50 -0
- package/settings - Copy (2).json +77 -0
- package/settings.json +63 -0
- package/workspace/Bundle-AppLayer-client.bld +77 -0
- package/workspace/Bundle-AppLayer-cs.bld +37 -0
- package/workspace/Client-AppLayer-client-jsx.bld +10 -0
- package/workspace/Client-AppLayer-client.bld +10 -0
- package/workspace/Client-AppLayer-cs.bld +10 -0
- package/workspace/Server-AppLayer-cs.bld +12 -0
- package/workspace/Server-AppLayer-server.bld +12 -0
- package/workspace/actorjs.wrk +336 -0
- package/workspace/clean-all.tsk +11 -0
- package/workspace/clean-build.tsk +8 -0
- package/workspace/clean-compiled.tsk +9 -0
- package/workspace/clean-dist.tsk +7 -0
- package/workspace/clean-generated.tsk +7 -0
- package/workspace/clean-node.tsk +7 -0
- package/workspace/clean-temp.tsk +7 -0
- package/workspace/client-css-actorjs-bundle.bld +10 -0
- package/workspace/list-debug.tsk +4 -0
- package/workspace/list-default.tsk +4 -0
- package/workspace/list-redebug.tsk +4 -0
- package/workspace/list-release.tsk +4 -0
- package/workspace/list-rerelease.tsk +4 -0
- package/workspace/list-start.tsk +4 -0
- package/workspace/server-html-rc.bld +10 -0
- package/workspace/server-image-actorjs-rc.bld +9 -0
- package/workspace/simple-help.tsk +5 -0
- package/workspace/simple-help.txt +39 -0
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import TestSuiteStore from '../../../stores/test-suite-store';
|
|
5
|
+
import MiddleTestSuitesTabDefinition from './tabs/middle-test-suites-tab-definition';
|
|
6
|
+
import MiddleTestSuitesTabExecution from './tabs/middle-test-suites-tab-execution';
|
|
7
|
+
import MiddleTestSuitesTabLog from './tabs/middle-test-suites-tab-log';
|
|
8
|
+
import MiddleTestSuitesTabSequenceDiagram from './tabs/middle-test-suites-tab-sequence-diagram';
|
|
9
|
+
import { ActionTestSuiteGet } from '../../../actions/action-test-suite/action-test-suite';
|
|
10
|
+
import Arc from 'z-abs-complayer-documentation-client/client/calculations/arc';
|
|
11
|
+
import Tabs from 'z-abs-complayer-bootstrap-client/client/tabs';
|
|
12
|
+
import Tab from 'z-abs-complayer-bootstrap-client/client/tab';
|
|
13
|
+
import {RouterContext} from 'z-abs-complayer-router-client/client/react-component/router-context';
|
|
14
|
+
import Route from 'z-abs-complayer-router-client/client/react-component/route';
|
|
15
|
+
import HighResolutionDuration from 'z-abs-corelayer-cs/clientServer/time/high-resolution-duration';
|
|
16
|
+
import AppProtocolConst from 'z-abs-funclayer-engine-cs/clientServer/communication/app-protocol/app-protocol-const';
|
|
17
|
+
import ActorResultConst from 'z-abs-funclayer-engine-cs/clientServer/execution/actor-result-const';
|
|
18
|
+
import HelperTab from 'z-abs-corelayer-client/client/components/helper-tab';
|
|
19
|
+
import ReactComponentRealtime from 'z-abs-corelayer-client/client/react-component/react-component-realtime';
|
|
20
|
+
import React from 'react';
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export default class MiddleTestSuitesViewTestSuite extends ReactComponentRealtime {
|
|
24
|
+
static pathNode = document.createElementNS('http://www.w3.org/2000/svg', 'path');
|
|
25
|
+
static BILLBOARD_WIDTH_ITER_FALSE = 354;
|
|
26
|
+
static BILLBOARD_WIDTH_ITER_TRUE = 434;
|
|
27
|
+
static BILLBOARD_HEIGHT = 82;
|
|
28
|
+
static BILLBOARD_ROW_WIDTH = 18;
|
|
29
|
+
|
|
30
|
+
/*static {
|
|
31
|
+
MiddleTestSuitesViewTestSuite.pathNode.classList.add('IS_TEMPLATE');
|
|
32
|
+
}*/
|
|
33
|
+
|
|
34
|
+
constructor(props) {
|
|
35
|
+
super(props, [TestSuiteStore], {
|
|
36
|
+
activeKey: 0,
|
|
37
|
+
nbrOfTestSuitesAbstractions: 0
|
|
38
|
+
});
|
|
39
|
+
this.helperTab = new HelperTab(['Definition', 'Execution', 'Log', 'Sequence Diagram', 'Specification'/*, 'Analyze'*/]);
|
|
40
|
+
if(undefined !== props.tab) {
|
|
41
|
+
this.state.activeKey = this.helperTab.getIndex(props.tab);
|
|
42
|
+
}
|
|
43
|
+
this.templateArcsTcs = null;
|
|
44
|
+
this.templateArcsIterations = null;
|
|
45
|
+
this.sumResultTcValue = ActorResultConst.NONE;
|
|
46
|
+
this.sumResultIterValue = ActorResultConst.NONE;
|
|
47
|
+
this.tc = 0;
|
|
48
|
+
this.iterationTs = 0;
|
|
49
|
+
this.totalTcs = 0;
|
|
50
|
+
this.totalTcSuccesses = 0;
|
|
51
|
+
this.totalTcFailures = 0;
|
|
52
|
+
this.totalTcNones = 0;
|
|
53
|
+
this.totalTcNas = 0;
|
|
54
|
+
this.totalTcs = 0;
|
|
55
|
+
this.totalTsSuccesses = 0;
|
|
56
|
+
this.totalTsFailures = 0;
|
|
57
|
+
this.totalTsNones = 0;
|
|
58
|
+
this.totalTsNas = 0;
|
|
59
|
+
this.highResolutionDurationTcs = new HighResolutionDuration(0n);
|
|
60
|
+
this.highResolutionDurationTss = new HighResolutionDuration(0n);
|
|
61
|
+
this.stop = false;
|
|
62
|
+
this.refSvgTcStatus = React.createRef();
|
|
63
|
+
this.refIterationsTs = React.createRef();
|
|
64
|
+
this.refSum = React.createRef();
|
|
65
|
+
this.groupData = null;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
didMount() {
|
|
69
|
+
this.groupData = this.addRealtimeFrameGroup();
|
|
70
|
+
if(this.props.repo) {
|
|
71
|
+
this.dispatch(TestSuiteStore, new ActionTestSuiteGet(this.props.repo, this.props.sut, this.props.fut, this.props.ts));
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
shouldUpdate(nextProps, nextState) {
|
|
76
|
+
return !this.shallowCompare(this.props.repo, nextProps.repo)
|
|
77
|
+
|| !this.shallowCompare(this.props.sut, nextProps.sut)
|
|
78
|
+
|| !this.shallowCompare(this.props.fut, nextProps.fut)
|
|
79
|
+
|| !this.shallowCompare(this.props.ts, nextProps.ts)
|
|
80
|
+
|| !this.shallowCompare(this.props.tab, nextProps.tab)
|
|
81
|
+
|| !this.shallowCompare(this.state.activeKey, nextState.activeKey)
|
|
82
|
+
|| !this.shallowCompare(this.state.nbrOfTestSuitesAbstractions, nextState.nbrOfTestSuitesAbstractions)
|
|
83
|
+
|| !this.shallowCompare(this.state.TestSuiteStore.run, nextState.TestSuiteStore.run)
|
|
84
|
+
|| !this.shallowCompare(this.state.TestSuiteStore.iterationsTs, nextState.TestSuiteStore.iterationsTs);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
didUpdate(prevProps, prevState) {
|
|
88
|
+
if(this.props.repo !== prevProps.repo || this.props.sut !== prevProps.sut || this.props.fut !== prevProps.fut || this.props.ts !== prevProps.ts) {
|
|
89
|
+
this.dispatch(TestSuiteStore, new ActionTestSuiteGet(this.props.repo, this.props.sut, this.props.fut, this.props.ts));
|
|
90
|
+
}
|
|
91
|
+
const nextKey = this.helperTab.getIndex(this.props.tab);
|
|
92
|
+
if(this.state.activeKey !== nextKey) {
|
|
93
|
+
this.updateState({activeKey: {$set: nextKey}});
|
|
94
|
+
}
|
|
95
|
+
if(this.state.TestSuiteStore.run.testSuite !== prevState.TestSuiteStore.run.testSuite) {
|
|
96
|
+
this._preapairTc();
|
|
97
|
+
this._prepairIterationsTs();
|
|
98
|
+
this._prepareSum();
|
|
99
|
+
}
|
|
100
|
+
else if(this.state.TestSuiteStore.iterationsTs !== prevState.TestSuiteStore.iterationsTs) {
|
|
101
|
+
this._prepairIterationsTs();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
willUnmount() {
|
|
106
|
+
this.templateArcsTcs = null;
|
|
107
|
+
this.templateArcsIterations = null;
|
|
108
|
+
this.removeRealtimeFrameGroup(this.groupData);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
onRealtimeMessage(msg) {
|
|
112
|
+
if(AppProtocolConst.TEST_CASE_STOPPED === msg.msgId) {
|
|
113
|
+
const key = this.templateArcsTcs[msg.index].key;
|
|
114
|
+
const arcResults = this.templateArcsTcs[msg.index].classes;
|
|
115
|
+
this.replaceRealtimeFrameText('tc_text', this.groupData, (++this.tc).toString());
|
|
116
|
+
this.replaceRealtimeFrameObject(key, this.groupData, arcResults[msg.resultId]);
|
|
117
|
+
this.sumResultTcValue = Math.max(this.sumResultTcValue, msg.resultId);
|
|
118
|
+
|
|
119
|
+
this.replaceRealtimeFrameText('total_sum_tcs', this.groupData, (++this.totalTcs).toString());
|
|
120
|
+
this.highResolutionDurationTcs.add(msg.duration);
|
|
121
|
+
this.replaceRealtimeFrameText('total_sum_duration_tcs', this.groupData, this.highResolutionDurationTcs.getDuration());
|
|
122
|
+
|
|
123
|
+
if(ActorResultConst.SUCCESS === msg.resultId) {
|
|
124
|
+
this.replaceRealtimeFrameText('total_sum_tc_success', this.groupData, `${++this.totalTcSuccesses}`);
|
|
125
|
+
}
|
|
126
|
+
else if(ActorResultConst.NONE === msg.resultId) {
|
|
127
|
+
this.replaceRealtimeFrameText('total_sum_tc_none', this.groupData, `${++this.totalTcNones}`);
|
|
128
|
+
}
|
|
129
|
+
else if(ActorResultConst.NA === msg.resultId) {
|
|
130
|
+
this.replaceRealtimeFrameText('total_sum_tc_na', this.groupData, `${++this.totalTcNas}`);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
this.replaceRealtimeFrameText('total_sum_tc_failure', this.groupData, `${++this.totalTcFailures}`);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
else if(AppProtocolConst.TEST_STAGE_STOPPED === msg.msgId) {
|
|
137
|
+
const key = this.templateArcsTcs[msg.index].key;
|
|
138
|
+
const arcResults = this.templateArcsTcs[msg.index].classes;
|
|
139
|
+
this.replaceRealtimeFrameText('tc_text', this.groupData, (++this.tc).toString());
|
|
140
|
+
this.replaceRealtimeFrameObject(key, this.groupData, arcResults[msg.resultId]);
|
|
141
|
+
this.sumResultTcValue = Math.max(this.sumResultTcValue, msg.resultId);
|
|
142
|
+
|
|
143
|
+
this.replaceRealtimeFrameText('total_sum_tcs', this.groupData, (++this.totalTcs).toString());
|
|
144
|
+
this.highResolutionDurationTcs.add(msg.duration);
|
|
145
|
+
this.replaceRealtimeFrameText('total_sum_duration_tcs', this.groupData, this.highResolutionDurationTcs.getDuration());
|
|
146
|
+
|
|
147
|
+
if(ActorResultConst.SUCCESS === msg.resultId) {
|
|
148
|
+
this.replaceRealtimeFrameText('total_sum_tc_success', this.groupData, `${++this.totalTcSuccesses}`);
|
|
149
|
+
}
|
|
150
|
+
else if(ActorResultConst.NONE === msg.resultId) {
|
|
151
|
+
this.replaceRealtimeFrameText('total_sum_tc_none', this.groupData, `${++this.totalTcNones}`);
|
|
152
|
+
}
|
|
153
|
+
else if(ActorResultConst.NA === msg.resultId) {
|
|
154
|
+
this.replaceRealtimeFrameText('total_sum_tc_na', this.groupData, `${++this.totalTcNas}`);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
this.replaceRealtimeFrameText('total_sum_tc_failure', this.groupData, `${++this.totalTcFailures}`);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
else if(AppProtocolConst.TEST_SUITE_STARTED === msg.msgId) {
|
|
161
|
+
this.sumResultTcValue = ActorResultConst.NONE;
|
|
162
|
+
this.tc = 0;
|
|
163
|
+
if(this.stop) {
|
|
164
|
+
this.stop = false;
|
|
165
|
+
this.iterationTs = 0;
|
|
166
|
+
this._clean(1 < this.state.TestSuiteStore.iterationsTs);
|
|
167
|
+
}
|
|
168
|
+
if(0 !== this.iterationTs) {
|
|
169
|
+
this.tc = 0;
|
|
170
|
+
if(++this.iterationTs > this.state.TestSuiteStore.iterationsTs) {
|
|
171
|
+
this.replaceRealtimeFrameText('tc_text', this.groupData, 0);
|
|
172
|
+
if(1 < this.state.TestSuiteStore.iterationsTs) {
|
|
173
|
+
this.replaceRealtimeFrameText('iter_text', this.groupData, 0);
|
|
174
|
+
}
|
|
175
|
+
this.iterationTs = 1;
|
|
176
|
+
this._clean(1 < this.state.TestSuiteStore.iterationsTs);
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
this._clean();
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
this.replaceRealtimeFrameText('tc_text', this.groupData, 0);
|
|
184
|
+
if(1 < this.state.TestSuiteStore.iterationsTs) {
|
|
185
|
+
this.replaceRealtimeFrameText('iter_text', this.groupData, 0);
|
|
186
|
+
}
|
|
187
|
+
this.iterationTs = 1;
|
|
188
|
+
this._clean(1 < this.state.TestSuiteStore.iterationsTs);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
else if(AppProtocolConst.TEST_SUITE_STOP === msg.msgId) {
|
|
192
|
+
this.stop = true;
|
|
193
|
+
}
|
|
194
|
+
else if(AppProtocolConst.TEST_SUITE_STOPPED === msg.msgId) {
|
|
195
|
+
this.replaceRealtimeFrameText('total_sum_tss', this.groupData, this.iterationTs.toString());
|
|
196
|
+
this.highResolutionDurationTss.add(msg.duration);
|
|
197
|
+
this.replaceRealtimeFrameText('total_sum_duration_tss', this.groupData, this.highResolutionDurationTss.getDuration());
|
|
198
|
+
if(ActorResultConst.SUCCESS === msg.resultId) {
|
|
199
|
+
this.replaceRealtimeFrameText('total_sum_ts_success', this.groupData, `${++this.totalTsSuccesses}`);
|
|
200
|
+
}
|
|
201
|
+
else if(ActorResultConst.NONE === msg.resultId) {
|
|
202
|
+
this.replaceRealtimeFrameText('total_sum_ts_none', this.groupData, `${++this.totalTsNones}`);
|
|
203
|
+
}
|
|
204
|
+
else if(ActorResultConst.NA === msg.resultId) {
|
|
205
|
+
this.replaceRealtimeFrameText('total_sum_ts_na', this.groupData, `${++this.totalTsNas}`);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
this.replaceRealtimeFrameText('total_sum_ts_failure', this.groupData, `${++this.totalTsFailures}`);
|
|
209
|
+
}
|
|
210
|
+
if(1 !== this.state.TestSuiteStore.iterationsTs) {
|
|
211
|
+
if(1 < this.state.TestSuiteStore.iterationsTs) {
|
|
212
|
+
const key = this.templateArcsIterations[this.iterationTs-1].key;
|
|
213
|
+
const arcResults = this.templateArcsIterations[this.iterationTs-1].classes;
|
|
214
|
+
this.replaceRealtimeFrameText('iter_text', this.groupData, this.iterationTs.toString());
|
|
215
|
+
this.replaceRealtimeFrameObject(key, this.groupData, arcResults[this.sumResultTcValue]);
|
|
216
|
+
this.sumResultIterValue = Math.max(this.sumResultIterValue, this.sumResultTcValue);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
if(msg.last) {
|
|
220
|
+
ddgc.gc();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
else if(AppProtocolConst.TEST_SUITE_CLEAR === msg.msgId) {
|
|
224
|
+
this.tc = 0;
|
|
225
|
+
this.iterationTs = 0;
|
|
226
|
+
this._clean(true);
|
|
227
|
+
ddgc.gc();
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
_addResultArch(key, svg, resultArcs, currentAngle, nextAngle, nnnn) {
|
|
232
|
+
const arcNode = MiddleTestSuitesViewTestSuite.pathNode.cloneNode();
|
|
233
|
+
arcNode.setAttribute('d', Arc.describeArc(37, 37, 34, -19, currentAngle, nextAngle));
|
|
234
|
+
const classes = [];
|
|
235
|
+
resultArcs.push({
|
|
236
|
+
key,
|
|
237
|
+
classes
|
|
238
|
+
});
|
|
239
|
+
ActorResultConst.classes.forEach((className) => {
|
|
240
|
+
const arc = arcNode.cloneNode(true);
|
|
241
|
+
arc.classList.add(className);
|
|
242
|
+
classes.push(arc);
|
|
243
|
+
});
|
|
244
|
+
svg.appendChild(arcNode);
|
|
245
|
+
arcNode.classList.add('test_none');
|
|
246
|
+
this.addRealtimeFrame(key, this.groupData, arcNode);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
_preapairTc() {
|
|
250
|
+
this.tc = 0;
|
|
251
|
+
this.templateArcsTcs = [];
|
|
252
|
+
if(this.refSvgTcStatus.current) {
|
|
253
|
+
const svg = this.refSvgTcStatus.current;
|
|
254
|
+
const text = svg.childNodes[2];
|
|
255
|
+
this.addRealtimeFrame('tc_text', this.groupData, text.firstChild);
|
|
256
|
+
let nbrOfTestSuitesAbstractions = 0 ;
|
|
257
|
+
this.state.TestSuiteStore.run.testSuite.forEach((abstractions) => {
|
|
258
|
+
abstractions.forEach((abstraction) => {
|
|
259
|
+
for(let i = 0; i < abstraction.iterationsTs; ++i) {
|
|
260
|
+
++nbrOfTestSuitesAbstractions;
|
|
261
|
+
nbrOfTestSuitesAbstractions += abstraction.type;
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
});
|
|
265
|
+
this.updateState({nbrOfTestSuitesAbstractions: {$set: nbrOfTestSuitesAbstractions}});
|
|
266
|
+
const arcs = [];
|
|
267
|
+
const angle = 360.0 / nbrOfTestSuitesAbstractions;
|
|
268
|
+
let currentAngle = 0;
|
|
269
|
+
let nextAngle = angle;
|
|
270
|
+
let index = 0;
|
|
271
|
+
let hasState = false;
|
|
272
|
+
this.state.TestSuiteStore.run.testSuite.forEach((abstractions) => {
|
|
273
|
+
abstractions.forEach((abstraction) => {
|
|
274
|
+
++index;
|
|
275
|
+
if(0 === abstraction.type) {
|
|
276
|
+
for(let i = 0; i < abstraction.iterationsTs; ++i) {
|
|
277
|
+
const key = `arc_${index}_${i + 1}`;
|
|
278
|
+
this._addResultArch(key, svg, this.templateArcsTcs, currentAngle, nextAngle, 'TC');
|
|
279
|
+
currentAngle = nextAngle;
|
|
280
|
+
nextAngle += angle;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
else {
|
|
284
|
+
if(hasState) {
|
|
285
|
+
const key = `arc_${index}_1`;
|
|
286
|
+
this._addResultArch(key, svg, this.templateArcsTcs, currentAngle, nextAngle, 'TC');
|
|
287
|
+
currentAngle = nextAngle;
|
|
288
|
+
nextAngle += angle;
|
|
289
|
+
++index;
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
hasState = true;
|
|
293
|
+
}
|
|
294
|
+
const key = `arc_${index}_1`;
|
|
295
|
+
this._addResultArch(key, svg, this.templateArcsTcs, currentAngle, nextAngle, 'TC');
|
|
296
|
+
currentAngle = nextAngle;
|
|
297
|
+
nextAngle += angle;
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
});
|
|
301
|
+
if(hasState) {
|
|
302
|
+
const key = `arc_${++index}_1`;
|
|
303
|
+
this._addResultArch(key, svg, this.templateArcsTcs, currentAngle, nextAngle, 'TC');
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
_prepairIterationsTs() {
|
|
309
|
+
this.iterationTs = 0;
|
|
310
|
+
this.templateArcsIterations = [];
|
|
311
|
+
if(this.refIterationsTs.current) {
|
|
312
|
+
const svg = this.refIterationsTs.current;
|
|
313
|
+
const text = svg.childNodes[2];
|
|
314
|
+
this.addRealtimeFrame('iter_text', this.groupData, text.firstChild);
|
|
315
|
+
if(1 !== this.state.TestSuiteStore.iterationsTs) {
|
|
316
|
+
const arcs = [];
|
|
317
|
+
const angle = 360.0 / this.state.TestSuiteStore.iterationsTs;
|
|
318
|
+
let currentAngle = 0;
|
|
319
|
+
let nextAngle = angle;
|
|
320
|
+
let index = 0;
|
|
321
|
+
for(let i = 0; i < this.state.TestSuiteStore.iterationsTs; ++i) {
|
|
322
|
+
const key = `arc_iter_${i + 1}`;
|
|
323
|
+
this._addResultArch(key, svg, this.templateArcsIterations, currentAngle, nextAngle, 'TS');
|
|
324
|
+
currentAngle = nextAngle;
|
|
325
|
+
nextAngle += angle;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
_prepareSum() {
|
|
332
|
+
const svg = this.refSum.current;
|
|
333
|
+
const tspanTcs = svg.childNodes[1].childNodes[1].firstChild;
|
|
334
|
+
this.addRealtimeFrame('total_sum_tcs', this.groupData, tspanTcs);
|
|
335
|
+
const tspanDurationTcs = svg.childNodes[2].childNodes[1].firstChild;
|
|
336
|
+
this.addRealtimeFrame('total_sum_duration_tcs', this.groupData, tspanDurationTcs);
|
|
337
|
+
const textTcResults = svg.childNodes[3];
|
|
338
|
+
const tspanTcSuccess = textTcResults.childNodes[1].firstChild;
|
|
339
|
+
this.addRealtimeFrame('total_sum_tc_success', this.groupData, tspanTcSuccess);
|
|
340
|
+
const tspanTcFailure = textTcResults.childNodes[3].firstChild;
|
|
341
|
+
this.addRealtimeFrame('total_sum_tc_failure', this.groupData, tspanTcFailure);
|
|
342
|
+
const tspanTcNone = textTcResults.childNodes[5].firstChild;
|
|
343
|
+
this.addRealtimeFrame('total_sum_tc_none', this.groupData, tspanTcNone);
|
|
344
|
+
const tspanTcNa = textTcResults.childNodes[7].firstChild;
|
|
345
|
+
this.addRealtimeFrame('total_sum_tc_na', this.groupData, tspanTcNa);
|
|
346
|
+
const tspanTss = svg.childNodes[4].childNodes[1].firstChild;
|
|
347
|
+
this.addRealtimeFrame('total_sum_tss', this.groupData, tspanTss);
|
|
348
|
+
const tspanDurationTss = svg.childNodes[5].childNodes[1].firstChild;
|
|
349
|
+
this.addRealtimeFrame('total_sum_duration_tss', this.groupData, tspanDurationTss);
|
|
350
|
+
const textTsResults = svg.childNodes[6];
|
|
351
|
+
const tspanTsSuccess = textTsResults.childNodes[1].firstChild;
|
|
352
|
+
this.addRealtimeFrame('total_sum_ts_success', this.groupData, tspanTsSuccess);
|
|
353
|
+
const tspanTsFailure = textTsResults.childNodes[3].firstChild;
|
|
354
|
+
this.addRealtimeFrame('total_sum_ts_failure', this.groupData, tspanTsFailure);
|
|
355
|
+
const tspanTsNone = textTsResults.childNodes[5].firstChild;
|
|
356
|
+
this.addRealtimeFrame('total_sum_ts_none', this.groupData, tspanTsNone);
|
|
357
|
+
const tspanTsNa = textTsResults.childNodes[7].firstChild;
|
|
358
|
+
this.addRealtimeFrame('total_sum_ts_na', this.groupData, tspanTsNa);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
_clean(iter = false) {
|
|
362
|
+
this._clearSumStatus();
|
|
363
|
+
this._clearTcStatus();
|
|
364
|
+
if(iter) {
|
|
365
|
+
this._clearIterStatus();
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
_clearTcStatus() {
|
|
370
|
+
this.sumResultTcValue = ActorResultConst.NONE;
|
|
371
|
+
if(this.templateArcsTcs) {
|
|
372
|
+
this.templateArcsTcs.forEach((arc) => {
|
|
373
|
+
const key = arc.key;
|
|
374
|
+
const arcResults = arc.classes;
|
|
375
|
+
this.replaceRealtimeFrameObject(key, this.groupData, arcResults[0]);
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
_clearIterStatus() {
|
|
381
|
+
this.sumResultIterValue = ActorResultConst.NONE;
|
|
382
|
+
if(1 !== this.state.TestSuiteStore.iterationsTs) {
|
|
383
|
+
for(let i = 0; i < this.state.TestSuiteStore.iterationsTs; ++i) {
|
|
384
|
+
const arc = this.templateArcsIterations[i];
|
|
385
|
+
const key = arc.key;
|
|
386
|
+
const arcResults = arc.classes;
|
|
387
|
+
this.replaceRealtimeFrameObject(key, this.groupData, arcResults[0]);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
_clearSumStatus() {
|
|
393
|
+
if(1 === this.iterationTs) {
|
|
394
|
+
this.highResolutionDurationTcs = new HighResolutionDuration(0n);
|
|
395
|
+
this.replaceRealtimeFrameText('total_sum_duration_tcs', this.groupData, this.highResolutionDurationTcs.getDuration());
|
|
396
|
+
this.replaceRealtimeFrameText('total_sum_tc_success', this.groupData, "0");
|
|
397
|
+
this.replaceRealtimeFrameText('total_sum_tc_none', this.groupData, "0");
|
|
398
|
+
this.replaceRealtimeFrameText('total_sum_tc_na', this.groupData, "0");
|
|
399
|
+
this.replaceRealtimeFrameText('total_sum_tc_failure', this.groupData, "0");
|
|
400
|
+
this.replaceRealtimeFrameText('total_sum_tcs', this.groupData, "0");
|
|
401
|
+
this.totalTcSuccesses = 0;
|
|
402
|
+
this.totalTcNones = 0;
|
|
403
|
+
this.totalTcNas = 0;
|
|
404
|
+
this.totalTcFailures = 0;
|
|
405
|
+
this.totalTcs = 0;
|
|
406
|
+
this.highResolutionDurationTss = new HighResolutionDuration(0n);
|
|
407
|
+
this.replaceRealtimeFrameText('total_sum_duration_tss', this.groupData, this.highResolutionDurationTss.getDuration());
|
|
408
|
+
this.replaceRealtimeFrameText('total_sum_ts_success', this.groupData, "0");
|
|
409
|
+
this.replaceRealtimeFrameText('total_sum_ts_none', this.groupData, "0");
|
|
410
|
+
this.replaceRealtimeFrameText('total_sum_ts_na', this.groupData, "0");
|
|
411
|
+
this.replaceRealtimeFrameText('total_sum_ts_failure', this.groupData, "0");
|
|
412
|
+
this.replaceRealtimeFrameText('total_sum_tss', this.groupData, "0");
|
|
413
|
+
this.totalTsSuccesses = 0;
|
|
414
|
+
this.totalTsNones = 0;
|
|
415
|
+
this.totalTsNas = 0;
|
|
416
|
+
this.totalTsFailures = 0;
|
|
417
|
+
this.totalTcs = 0;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
getTabPath(index) {
|
|
422
|
+
return `${this.props.tab ? '' : this.props.ts + '/'}${this.helperTab.getRoute(index)}`;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
renderTcStatus() {
|
|
426
|
+
if(0 !== this.state.TestSuiteStore.run.testSuite.size) {
|
|
427
|
+
return (
|
|
428
|
+
<div className="test_suite_result_view_tcs">
|
|
429
|
+
<svg ref={this.refSvgTcStatus} className="test_suite_result_view" viewBox="0 0 74 74" xmlns="http://www.w3.org/2000/svg">
|
|
430
|
+
<circle cx="37" cy="37" r="35" strokeWidth="1" fill="whitesmoke" />
|
|
431
|
+
<circle cx="37" cy="37" r="14" strokeWidth="1" fill="white" />
|
|
432
|
+
<text className="test_suite_result_view_tcs" x="37" y="37" dy="5">{this.state.nbrOfTestSuitesAbstractions}</text>
|
|
433
|
+
</svg>
|
|
434
|
+
</div>
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
renderIterationStatus() {
|
|
440
|
+
if(0 !== this.state.TestSuiteStore.run.testSuite.size && 1 !== this.state.TestSuiteStore.iterationsTs) {
|
|
441
|
+
return (
|
|
442
|
+
<div className="test_suite_result_view_iterations">
|
|
443
|
+
<svg ref={this.refIterationsTs} className="test_suite_result_view" viewBox="0 0 74 74" xmlns="http://www.w3.org/2000/svg">
|
|
444
|
+
<circle cx="37" cy="37" r="35" strokeWidth="1" fill="whitesmoke" />
|
|
445
|
+
<circle cx="37" cy="37" r="14" strokeWidth="1" fill="white" />
|
|
446
|
+
<text className="test_suite_result_view_iterations" x="37" y="37" dy="5">{this.state.TestSuiteStore.iterationsTs}</text>
|
|
447
|
+
</svg>
|
|
448
|
+
</div>
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
renderSumTcs(row) {
|
|
454
|
+
return (
|
|
455
|
+
<>
|
|
456
|
+
<text key="1" className="test_suite_result_view_sum_tcs" x="6" y={MiddleTestSuitesViewTestSuite.BILLBOARD_ROW_WIDTH*row} textAnchor="left">
|
|
457
|
+
<tspan className="test_suite_result_view_sum_tcs_caption">tc#</tspan>
|
|
458
|
+
<tspan className="test_suite_result_view_sum_tcs_text" dx="4">0</tspan>
|
|
459
|
+
</text>
|
|
460
|
+
</>
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
renderSumDurationTcs(row) {
|
|
465
|
+
return (
|
|
466
|
+
<>
|
|
467
|
+
<text key="1" className="test_suite_result_view_sum_tc_duration" x="100" y={MiddleTestSuitesViewTestSuite.BILLBOARD_ROW_WIDTH*row} textAnchor="left">
|
|
468
|
+
<tspan className="test_suite_result_view_sum_tc_duration_caption">duration:</tspan>
|
|
469
|
+
<tspan className="test_suite_result_view_sum_tc_duration_text" dx="4">0.0ms</tspan>
|
|
470
|
+
</text>
|
|
471
|
+
</>
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
renderSumTcResults(row) {
|
|
476
|
+
return (
|
|
477
|
+
<>
|
|
478
|
+
<text key="1" className="test_suite_result_view_sum_tc_result" x="6" y={MiddleTestSuitesViewTestSuite.BILLBOARD_ROW_WIDTH*row} textAnchor="left">
|
|
479
|
+
<tspan className="test_suite_result_view_sum_tc_result_caption_success">success</tspan>
|
|
480
|
+
<tspan className="test_suite_result_view_sum_tc_result_text" dx="4">0</tspan>
|
|
481
|
+
<tspan className="test_suite_result_view_sum_tc_result_caption_failure" dx="8">failure</tspan>
|
|
482
|
+
<tspan className="test_suite_result_view_sum_tc_result_text" dx="4">0</tspan>
|
|
483
|
+
<tspan className="test_suite_result_view_sum_tc_result_caption_none" dx="8">none</tspan>
|
|
484
|
+
<tspan className="test_suite_result_view_sum_tc_result_text" dx="4">0</tspan>
|
|
485
|
+
<tspan className="test_suite_result_view_sum_tc_result_caption_na" dx="8">n/a</tspan>
|
|
486
|
+
<tspan className="test_suite_result_view_sum_tc_result_text" dx="4">0</tspan>
|
|
487
|
+
</text>
|
|
488
|
+
</>
|
|
489
|
+
);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
renderSumTss(row) {
|
|
493
|
+
return (
|
|
494
|
+
<>
|
|
495
|
+
<text key="1" className="test_suite_result_view_sum_tss" x="6" y={MiddleTestSuitesViewTestSuite.BILLBOARD_ROW_WIDTH*row} textAnchor="left">
|
|
496
|
+
<tspan className="test_suite_result_view_sum_tss_caption">ts#</tspan>
|
|
497
|
+
<tspan className="test_suite_result_view_sum_tss_text" dx="4">0</tspan>
|
|
498
|
+
</text>
|
|
499
|
+
</>
|
|
500
|
+
);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
renderSumDurationTss(row) {
|
|
504
|
+
return (
|
|
505
|
+
<>
|
|
506
|
+
<text key="1" className="test_suite_result_view_sum_ts_duration" x="100" y={MiddleTestSuitesViewTestSuite.BILLBOARD_ROW_WIDTH*row} textAnchor="left">
|
|
507
|
+
<tspan className="test_suite_result_view_sum_ts_duration_caption">duration:</tspan>
|
|
508
|
+
<tspan className="test_suite_result_view_sum_ts_duration_text" dx="4">0.0ms</tspan>
|
|
509
|
+
</text>
|
|
510
|
+
</>
|
|
511
|
+
);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
renderSumTsResults(row) {
|
|
515
|
+
return (
|
|
516
|
+
<>
|
|
517
|
+
<text key="1" className="test_suite_result_view_sum_ts_result" x="6" y={MiddleTestSuitesViewTestSuite.BILLBOARD_ROW_WIDTH*row} textAnchor="left">
|
|
518
|
+
<tspan className="test_suite_result_view_sum_ts_result_caption_success">success</tspan>
|
|
519
|
+
<tspan className="test_suite_result_view_sum_ts_result_text" dx="4">0</tspan>
|
|
520
|
+
<tspan className="test_suite_result_view_sum_ts_result_caption_failure" dx="8">failure</tspan>
|
|
521
|
+
<tspan className="test_suite_result_view_sum_ts_result_text" dx="4">0</tspan>
|
|
522
|
+
<tspan className="test_suite_result_view_sum_ts_result_caption_none" dx="8">none</tspan>
|
|
523
|
+
<tspan className="test_suite_result_view_sum_ts_result_text" dx="4">0</tspan>
|
|
524
|
+
<tspan className="test_suite_result_view_sum_ts_result_caption_na" dx="8">n/a</tspan>
|
|
525
|
+
<tspan className="test_suite_result_view_sum_ts_result_text" dx="4">0</tspan>
|
|
526
|
+
</text>
|
|
527
|
+
</>
|
|
528
|
+
);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
renderSum() {
|
|
532
|
+
const hasIter = 1 !== this.state.TestSuiteStore.iterationsTs;
|
|
533
|
+
const height = MiddleTestSuitesViewTestSuite.BILLBOARD_HEIGHT;
|
|
534
|
+
const viewBox = hasIter ? `0 0 ${MiddleTestSuitesViewTestSuite.BILLBOARD_WIDTH_ITER_TRUE} ${height}` : `0 0 ${MiddleTestSuitesViewTestSuite.BILLBOARD_WIDTH_ITER_FALSE} ${height}`;
|
|
535
|
+
const width = (hasIter ? MiddleTestSuitesViewTestSuite.BILLBOARD_WIDTH_ITER_TRUE : MiddleTestSuitesViewTestSuite.BILLBOARD_WIDTH_ITER_FALSE) - 6;
|
|
536
|
+
const className = hasIter ? 'test_suite_result_view_sum_billboard_iter_true' : 'test_suite_result_view_sum_billboard_iter_false';
|
|
537
|
+
return (
|
|
538
|
+
<div className={className}>
|
|
539
|
+
<svg ref={this.refSum} className={className} viewBox={viewBox} xmlns="http://www.w3.org/2000/svg">
|
|
540
|
+
<rect className={className} x="2" y="2" rx="3" ry="3" width={width} height={height-4} />
|
|
541
|
+
{this.renderSumTcs(1)}
|
|
542
|
+
{this.renderSumDurationTcs(1)}
|
|
543
|
+
{this.renderSumTcResults(2)}
|
|
544
|
+
{this.renderSumTss(3)}
|
|
545
|
+
{this.renderSumDurationTss(3)}
|
|
546
|
+
{this.renderSumTsResults(4)}
|
|
547
|
+
</svg>
|
|
548
|
+
</div>
|
|
549
|
+
);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
render() {
|
|
553
|
+
let index = 0;
|
|
554
|
+
return (
|
|
555
|
+
<div className="test_suite_tabs">
|
|
556
|
+
{this.renderIterationStatus()}
|
|
557
|
+
{this.renderTcStatus()}
|
|
558
|
+
{this.renderSum()}
|
|
559
|
+
<Tabs id="test_suite_tabs" activeKey={this.state.activeKey}
|
|
560
|
+
onSelect={(key) => {
|
|
561
|
+
if(undefined !== key) {
|
|
562
|
+
this.context.history(`${this.helperTab.getRoute(key)}`, {replace: true});
|
|
563
|
+
}
|
|
564
|
+
}}
|
|
565
|
+
>
|
|
566
|
+
<Tab id="test_suite_definition" tab={this.getTabPath(index)} title={this.helperTab.getTabName(index++)}>
|
|
567
|
+
<MiddleTestSuitesTabDefinition active={index - 1 === this.state.activeKey} />
|
|
568
|
+
</Tab>
|
|
569
|
+
<Tab id="test_suite_execution" tab={this.getTabPath(index)} title={this.helperTab.getTabName(index++)} colorMark="execution">
|
|
570
|
+
<Route handler={MiddleTestSuitesTabExecution} switch="*" active={index - 1 === this.state.activeKey} catchClick />
|
|
571
|
+
</Tab>
|
|
572
|
+
<Tab id="test_suite_log" tab={this.getTabPath(index)} title={this.helperTab.getTabName(index++)} colorMark="log">
|
|
573
|
+
{/*<Route handler={MiddleTestSuitesTabLog} switch="*" catchClick active={index - 1 === this.state.activeKey} />*/}
|
|
574
|
+
<MiddleTestSuitesTabLog active={index - 1 === this.state.activeKey} sut={this.props.sut} fut={this.props.fut} ts={this.props.ts} repo={this.props.repo} />
|
|
575
|
+
</Tab>
|
|
576
|
+
<Tab id="test_suite_sequence_diagram" tab={this.getTabPath(index)} title={this.helperTab.getTabName(index++)} colorMark="sequence-diagram">
|
|
577
|
+
<Route handler={MiddleTestSuitesTabSequenceDiagram} switch="*" catchClick active={index - 1 === this.state.activeKey} />
|
|
578
|
+
{/*<MiddleTestSuitesTabSequenceDiagram active={index - 1 === this.state.activeKey} sut={this.props.sut} fut={this.props.fut} ts={this.props.ts} repo={this.props.repo} />*/}
|
|
579
|
+
</Tab>
|
|
580
|
+
<Tab id="test_suite_specification" tab={this.getTabPath(index)} title={this.helperTab.getTabName(index++)}>
|
|
581
|
+
<h1>Specification</h1>
|
|
582
|
+
</Tab>
|
|
583
|
+
{/*<Tab id="test_suite_analyze" tab={this.getTabPath(index)} title={this.helperTab.getTabName(index++)}>
|
|
584
|
+
<h1>Analyze</h1>
|
|
585
|
+
</Tab>*/}
|
|
586
|
+
</Tabs>
|
|
587
|
+
</div>
|
|
588
|
+
);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
MiddleTestSuitesViewTestSuite.contextType = RouterContext;
|