@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,438 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import LoginStore from './login-store';
|
|
5
|
+
import { DataActionTestSuiteGet, DataActionTestSuiteAdd, DataActionTestSuiteDelete, DataActionTestSuiteUpdate, DataActionTestSuiteRecentGet, DataActionTestSuiteRecentUpdate, DataActionTestSuiteRecentDelete, DataActionTestSuiteButtonsAdd, DataActionTestSuiteButtonsGet, DataActionTestSuiteButtonsUpdate } from '../actions/action-test-suite/data-action-test-suite';
|
|
6
|
+
import { RealtimeActionTestSuiteExecutionStart } from '../actions/action-test-suite/realtime-action-test-suite';
|
|
7
|
+
import MessageTestSuiteClear from '../communication/messages/messages-c-to-c/message-test-suite-clear';
|
|
8
|
+
import MarkupTestSuite from 'z-abs-complayer-markup-client/client/markup/markup-test-suite/markup-test-suite';
|
|
9
|
+
import DataTestSuite from 'z-abs-complayer-markup-client/client/data/data-test-suite/data-test-suite';
|
|
10
|
+
import MessageTestSuiteStop from 'z-abs-funclayer-engine-cs/clientServer/communication/messages/messages-client-to-server/message-test-suite-stop';
|
|
11
|
+
import StoreBaseRealtime from 'z-abs-corelayer-client/client/store/store-base-realtime';
|
|
12
|
+
import GuidGenerator from 'z-abs-corelayer-cs/clientServer/guid-generator';
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class TestSuiteStore extends StoreBaseRealtime {
|
|
16
|
+
static EXECUTION_NOT_RUNNING = 0;
|
|
17
|
+
static EXECUTION_RUNNING = 1;
|
|
18
|
+
static EXECUTION_DISABLED = 2;
|
|
19
|
+
|
|
20
|
+
static REALTIME_CONNECTION_CLOSED = 0;
|
|
21
|
+
static REALTIME_CONNECTION_OPEN = 1;
|
|
22
|
+
static REALTIME_CONNECTION_ERROR = 2;
|
|
23
|
+
|
|
24
|
+
constructor() {
|
|
25
|
+
super({
|
|
26
|
+
testSuite: undefined,
|
|
27
|
+
iterationsTs: 1,
|
|
28
|
+
run: {
|
|
29
|
+
testSuite: new Map()
|
|
30
|
+
},
|
|
31
|
+
result: 'None',
|
|
32
|
+
markup: {
|
|
33
|
+
definition: false,
|
|
34
|
+
content: undefined,
|
|
35
|
+
contentOriginal: undefined,
|
|
36
|
+
rows: undefined
|
|
37
|
+
},
|
|
38
|
+
execution: TestSuiteStore.EXECUTION_NOT_RUNNING,
|
|
39
|
+
executionGuid: '',
|
|
40
|
+
realtimeConnection: TestSuiteStore.REALTIME_CONNECTION_CLOSED,
|
|
41
|
+
recentTestSuites: [],
|
|
42
|
+
testSuites: [],
|
|
43
|
+
buttonsLoaded: false,
|
|
44
|
+
buttons: {
|
|
45
|
+
sequenceDiagram: {
|
|
46
|
+
zoom: 1.0,
|
|
47
|
+
width: 180,
|
|
48
|
+
scroll: true,
|
|
49
|
+
|
|
50
|
+
executedStateEvents: true,
|
|
51
|
+
notExecutedStateEvents: false,
|
|
52
|
+
|
|
53
|
+
serverEvents: false,
|
|
54
|
+
connectionEvents: false,
|
|
55
|
+
messageEvents: true,
|
|
56
|
+
messageDetailEvents: false,
|
|
57
|
+
|
|
58
|
+
protocolData: true,
|
|
59
|
+
protocolAddressNameData: false,
|
|
60
|
+
protocolIpData: true,
|
|
61
|
+
protocolTransportData: false,
|
|
62
|
+
protocolInfoData: false,
|
|
63
|
+
protocolInstanceData: true,
|
|
64
|
+
protocolNameData: true,
|
|
65
|
+
|
|
66
|
+
stackEvents: true,
|
|
67
|
+
stackInfoEvents: false,
|
|
68
|
+
stackInstanceEvents: true,
|
|
69
|
+
stackProtocolEvents: true,
|
|
70
|
+
|
|
71
|
+
guiEvents: true,
|
|
72
|
+
guiObjectEvents: true,
|
|
73
|
+
guiActionEvents: true,
|
|
74
|
+
guiFunctionEvents: false,
|
|
75
|
+
guiInfoData: true,
|
|
76
|
+
guiInstanceData: false,
|
|
77
|
+
guiProtocolData: false,
|
|
78
|
+
|
|
79
|
+
phases: [true, true, true, true, true],
|
|
80
|
+
|
|
81
|
+
////////////////
|
|
82
|
+
showMessages: true,
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
showMessageContent: false,
|
|
87
|
+
showMessageContentOpen: false,
|
|
88
|
+
showSentMessageNumbers: false,
|
|
89
|
+
showReceivedMessageNumbers: false,
|
|
90
|
+
showSentMessageDetailNumbers: false,
|
|
91
|
+
showReceivedMessageDetailNumbers: false,
|
|
92
|
+
|
|
93
|
+
showAddresses: false
|
|
94
|
+
},
|
|
95
|
+
log: {
|
|
96
|
+
filterError: true,
|
|
97
|
+
filterWarning: true,
|
|
98
|
+
filterSuccess: true,
|
|
99
|
+
filterFailure: true,
|
|
100
|
+
filterEngine: false,
|
|
101
|
+
filterTestData: false,
|
|
102
|
+
filterDebug: false,
|
|
103
|
+
filterIP: true,
|
|
104
|
+
filterGUI: true,
|
|
105
|
+
filterBrowserLog: true,
|
|
106
|
+
filterBrowserErr: true,
|
|
107
|
+
filterDetailEngine: false,
|
|
108
|
+
filterDetailTestData: false,
|
|
109
|
+
filterDetailDebug: false,
|
|
110
|
+
filterOpenIp: false,
|
|
111
|
+
filterOpenGui: false,
|
|
112
|
+
filterOpenBrowserLog: false,
|
|
113
|
+
filterOpenBrowserErr: false,
|
|
114
|
+
zoom: 1.0,
|
|
115
|
+
scroll: true
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
this.systemUnderTestStore = null;
|
|
120
|
+
this.buttonsKey = '';
|
|
121
|
+
this.on('DataActionLoginUpdate', (store) => {
|
|
122
|
+
this.buttonsKey = `${store.state.login.labId}_${store.state.login.userId}`;
|
|
123
|
+
this.sendDataAction(new DataActionTestSuiteButtonsGet(this.buttonsKey));
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
onActionTestSuiteMounted(action) {
|
|
128
|
+
const loginData = LoginStore.isLoggedIn();
|
|
129
|
+
if(loginData) {
|
|
130
|
+
this.buttonsKey = `${loginData.labId}_${loginData.userId}`;
|
|
131
|
+
this.sendDataAction(new DataActionTestSuiteButtonsGet(this.buttonsKey));
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
this.once('DataActionLoginGet', (store) => {
|
|
135
|
+
this.buttonsKey = `${store.state.login.labId}_${store.state.login.userId}`;
|
|
136
|
+
this.sendDataAction(new DataActionTestSuiteButtonsGet(this.buttonsKey));
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
setSystemUnderTestStore(systemUnderTestStore) {
|
|
142
|
+
this.systemUnderTestStore = systemUnderTestStore;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
onActionTestSuiteGet(action) {
|
|
146
|
+
this.clearMarkup();
|
|
147
|
+
this.sendDataAction(new DataActionTestSuiteGet(action.repo, action.sut, action.fut, action.ts));
|
|
148
|
+
if(undefined !== action.ts) {
|
|
149
|
+
this.sendDataAction(new DataActionTestSuiteRecentUpdate(action.repo, action.sut, action.fut, action.ts));
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
onActionTestSuiteAdd(action) {
|
|
154
|
+
this.sendDataAction(new DataActionTestSuiteAdd(action.repo, action.sut, action.fut, action.ts, action.description, new DataTestSuite()));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
onActionTestSuiteDelete(action) {
|
|
158
|
+
this.sendDataAction(new DataActionTestSuiteDelete(action.repo, action.sut, action.fut, action.tses));
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
onActionTestSuiteMarkup(action) {
|
|
162
|
+
const markupTs = MarkupTestSuite.stringify(this.state.testSuite);
|
|
163
|
+
this.updateState({markup: {definition: {$set: true}}});
|
|
164
|
+
this.updateState({markup: {content: {$set: markupTs}}});
|
|
165
|
+
this.updateState({markup: {contentOriginal: {$set: markupTs}}});
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
onActionTestSuiteMarkupSave(action) {
|
|
169
|
+
const result = MarkupTestSuite.parse(this.state.markup.content);
|
|
170
|
+
if(!result.success) {
|
|
171
|
+
this.updateState({markup: { rows: {$set: result.rows}}});
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
this.updateState({testSuite: { ts: {$set: result.ts}}});
|
|
175
|
+
this.sendDataAction(new DataActionTestSuiteUpdate(action.repo, action.sut, action.fut, action.ts, undefined, this.state.testSuite));
|
|
176
|
+
this.clearMarkup();
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
onActionTestSuiteMarkupCancel(action) {
|
|
181
|
+
this.clearMarkup();
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
onActionTestSuiteMarkupChange(action) {
|
|
185
|
+
const result = MarkupTestSuite.parse(action.markup);
|
|
186
|
+
// if(result.success) {
|
|
187
|
+
// const markupTs = MarkupTestSuite.stringify({ts: result.ts});
|
|
188
|
+
// this.updateState({markup: {content: {$set: markupTs}}});
|
|
189
|
+
// }
|
|
190
|
+
// else {
|
|
191
|
+
this.updateState({markup: { content: {$set: action.markup}}});
|
|
192
|
+
// }
|
|
193
|
+
this.updateState({markup: { rows: {$set: result.rows}}});
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
onActionTestSuiteButtonsUpdate(action) {
|
|
197
|
+
const buttons = this.deepCopy(this.state.buttons);
|
|
198
|
+
const tab = buttons[action.tab];
|
|
199
|
+
tab[action.button] = action.value;
|
|
200
|
+
this.sendDataAction(new DataActionTestSuiteButtonsUpdate(action, this.buttonsKey, buttons));
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
onActionTestSuiteZoom(action) {
|
|
204
|
+
const buttons = this.deepCopy(this.state.buttons);
|
|
205
|
+
buttons.zoom = action.zoom;
|
|
206
|
+
this.sendDataAction(new DataActionTestSuiteButtonsUpdate(action, this.buttonsKey, buttons));
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
onActionTestSuiteExecutionStart(action) {
|
|
210
|
+
this.updateState({execution: {$set: TestSuiteStore.EXECUTION_DISABLED}});
|
|
211
|
+
this.updateState({executionGuid: {$set: GuidGenerator.create()}});
|
|
212
|
+
this.sendRealtimeAction(new RealtimeActionTestSuiteExecutionStart(action.repoName, action.sutName, action.futName, action.tsName, action.stagedSut, action.stagedSutInstance, action.stagedSutNodes, this.systemUnderTestStore.state.systemsUnderTestNames, this.systemUnderTestStore.state.systemsUnderTestNodes, {slow:false,asService:false}, this.state.iterationsTs), this.state.executionGuid);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
onActionTestSuiteExecutionStop(action) {
|
|
216
|
+
this.updateState({execution: {$set: TestSuiteStore.EXECUTION_DISABLED}});
|
|
217
|
+
this.handleRealtimeMessage(new MessageTestSuiteStop());
|
|
218
|
+
this.sendRealtimeMessage(new MessageTestSuiteStop(this.state.executionGuid), null);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
onActionTestSuiteRecentGet(action) {
|
|
222
|
+
this.sendDataAction(new DataActionTestSuiteRecentGet());
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
onActionTestSuiteRecentDelete(action) {
|
|
226
|
+
this.sendDataAction(new DataActionTestSuiteRecentDelete(action.repo, action.sut, action.fut, action.tses));
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
onActionTestSuiteIterations(action) {
|
|
230
|
+
this.updateState({iterationsTs: {$set: action.iterationsTs}});
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
_addExecTestSuite(abstractions, repoName, tsName, key, commentOut, pendings) {
|
|
234
|
+
let current = 1;
|
|
235
|
+
const testCases = [];
|
|
236
|
+
abstractions.forEach((abstraction) => {
|
|
237
|
+
if(abstraction.name.startsWith('tc')) {
|
|
238
|
+
testCases.push({
|
|
239
|
+
tsName: tsName,
|
|
240
|
+
tcName: abstraction.name,
|
|
241
|
+
type: 0,
|
|
242
|
+
iterationsTs: !abstraction.iterationsTs ? 1 : abstraction.iterationsTs,
|
|
243
|
+
commentOut: commentOut || abstraction._commentOut_
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
else if(abstraction.name.startsWith('ts')) {
|
|
247
|
+
const parameters = abstraction.name.split('.');
|
|
248
|
+
parameters.splice(0, 1);
|
|
249
|
+
if(3 === parameters.length) {
|
|
250
|
+
const currentKey = `${key}_${current.toString().padStart(5, '0')}`;
|
|
251
|
+
++current;
|
|
252
|
+
++pendings.pendings;
|
|
253
|
+
this.sendDataAction(new DataActionTestSuiteGet(repoName, ...parameters, currentKey, commentOut || abstraction._commentOut_, pendings));
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
else if(abstraction.name.startsWith('stage')) {
|
|
257
|
+
testCases.push({
|
|
258
|
+
tsName: tsName,
|
|
259
|
+
tcName: abstraction.name,
|
|
260
|
+
type: 1,
|
|
261
|
+
iterationsTs: 1,
|
|
262
|
+
commentOut: commentOut || abstraction._commentOut_
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
pendings.testSuite.set(key, testCases);
|
|
267
|
+
if(0 === pendings.pendings) {
|
|
268
|
+
const sortedTestSuite = new Map([...pendings.testSuite].sort());
|
|
269
|
+
this.updateState({run: {testSuite: {$set: sortedTestSuite}}});
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
onDataActionTestSuiteGet(action) {
|
|
274
|
+
const response = action.getResponse();
|
|
275
|
+
if(response.isSuccess()) {
|
|
276
|
+
if(!action.key) {
|
|
277
|
+
if(undefined !== response.data.testSuites) {
|
|
278
|
+
this.updateState({testSuites: {$set: response.data.testSuites}});
|
|
279
|
+
this.calculateTestSuites();
|
|
280
|
+
}
|
|
281
|
+
else if(undefined !== response.data.testSuite) {
|
|
282
|
+
this.updateState({testSuite: {$set: response.data.testSuite}});
|
|
283
|
+
const currentKey = '1';
|
|
284
|
+
this.updateState({run: {testSuite: (testSuite) => {
|
|
285
|
+
testSuite.clear();
|
|
286
|
+
testSuite.set(currentKey, []);
|
|
287
|
+
}}});
|
|
288
|
+
this._addExecTestSuite(response.data.testSuite.ts.abstractions, action.repo, `ts.${action.sut}.${action.fut}.${action.ts}`, currentKey, action.commentOut, action.pendings);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
--action.pendings.pendings;
|
|
293
|
+
this._addExecTestSuite(response.data.testSuite.ts.abstractions, action.repo, `ts.${action.sut}.${action.fut}.${action.ts}`, action.key, action.commentOut, action.pendings);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
onDataActionTestSuiteAdd(action) {
|
|
299
|
+
const response = action.getResponse();
|
|
300
|
+
if(response.isSuccess()) {
|
|
301
|
+
this.sendDataAction(new DataActionTestSuiteGet(action.repo, action.sut, action.fut));
|
|
302
|
+
this.calculateTestSuites();
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
onDataActionTestSuiteUpdate(action) {
|
|
307
|
+
const response = action.getResponse();
|
|
308
|
+
if(response.isSuccess()) {
|
|
309
|
+
this.sendDataAction(new DataActionTestSuiteGet(action.repo, action.sut, action.fut, action.ts));
|
|
310
|
+
this.calculateTestSuites();
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
onDataActionTestSuiteDelete(action) {
|
|
315
|
+
const response = action.getResponse();
|
|
316
|
+
if(response.isSuccess()) {
|
|
317
|
+
this.sendDataAction(new DataActionTestSuiteGet(action.repo, action.sut, action.fut));
|
|
318
|
+
this.sendDataAction(new DataActionTestSuiteRecentDelete(action.repo, action.sut, action.fut, action.tses));
|
|
319
|
+
this.calculateTestSuites();
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
onDataActionTestSuiteButtonsAdd(action) {
|
|
324
|
+
const response = action.getResponse();
|
|
325
|
+
if(response.isSuccess()) {
|
|
326
|
+
this.updateState({buttons: {$set: response.data}});
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
onDataActionTestSuiteButtonsGet(action) {
|
|
331
|
+
const response = action.getResponse();
|
|
332
|
+
if(response.isSuccess()) {
|
|
333
|
+
const keys = Object.keys(this.state.buttons);
|
|
334
|
+
const resultObject = {};
|
|
335
|
+
keys.forEach((key) => {
|
|
336
|
+
const stateObject = this.state.buttons[key];
|
|
337
|
+
const storedObject = response.data[key];
|
|
338
|
+
const mergedObject = {...stateObject, ...storedObject};
|
|
339
|
+
resultObject[key] = mergedObject;
|
|
340
|
+
});
|
|
341
|
+
this.updateState({buttonsLoaded: {$set: true}, buttons: {$set: resultObject}});
|
|
342
|
+
}
|
|
343
|
+
else {
|
|
344
|
+
this.sendDataAction(new DataActionTestSuiteButtonsAdd(this.buttonsKey, this.state.buttons));
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
onDataActionTestSuiteButtonsUpdate(action) {
|
|
349
|
+
const response = action.getResponse();
|
|
350
|
+
if(response.isSuccess()) {
|
|
351
|
+
if('sequenceDiagram' === action.tab) {
|
|
352
|
+
this.updateState({buttons: {sequenceDiagram: {$set: response.data.sequenceDiagram}}});
|
|
353
|
+
}
|
|
354
|
+
else if('log' === action.tab) {
|
|
355
|
+
this.updateState({buttons: {log: {$set: response.data.log}}});
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
onDataActionTestSuiteRecentGet(action) {
|
|
361
|
+
const response = action.getResponse();
|
|
362
|
+
if(response.isSuccess()) {
|
|
363
|
+
this.updateState({recentTestSuites: {$set: response.data}});
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
onDataActionTestSuiteRecentUpdate(action) {
|
|
368
|
+
const response = action.getResponse();
|
|
369
|
+
if(response.isSuccess()) {
|
|
370
|
+
this.sendDataAction(new DataActionTestSuiteRecentGet());
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
onDataActionTestSuiteRecentDelete(action) {
|
|
375
|
+
const response = action.getResponse();
|
|
376
|
+
if(response.isSuccess()) {
|
|
377
|
+
this.sendDataAction(new DataActionTestSuiteRecentGet());
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
onRealtimeActionTestSuiteExecutionStart(action) {
|
|
382
|
+
const response = action.getResponse();
|
|
383
|
+
if(!response.isSuccess()) {
|
|
384
|
+
this.updateState({execution: {$set: TestSuiteStore.EXECUTION_RUNNING}});
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
onRealtimeMessageExecutionStarted(action) {
|
|
389
|
+
this.updateState({execution: {$set: TestSuiteStore.EXECUTION_RUNNING}});
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
onRealtimeMessageExecutionStopped(action) {
|
|
393
|
+
this.updateState({execution: {$set: TestSuiteStore.EXECUTION_NOT_RUNNING}});
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
onRealtimeMessageRealtimeOpen(action) {
|
|
397
|
+
this.updateState({realtimeConnection: {$set: TestSuiteStore.REALTIME_CONNECTION_OPEN}});
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
onRealtimeMessageRealtimeClosed(action) {
|
|
401
|
+
this.updateState({realtimeConnection: {$set: TestSuiteStore.REALTIME_CONNECTION_CLOSED}});
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
onActionTestSuiteClear(action) {
|
|
405
|
+
this.handleRealtimeMessage(new MessageTestSuiteClear(action.tab));
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
calculateTestSuites(state) {
|
|
409
|
+
this.updateState({testSuites: (testSuites) => {
|
|
410
|
+
testSuites.sort((a, b) => {
|
|
411
|
+
return a.name > b.name ? 1 : -1;
|
|
412
|
+
});
|
|
413
|
+
}});
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
clearMarkup() {
|
|
417
|
+
this.updateState({markup: { definition: {$set: false}}});
|
|
418
|
+
this.updateState({markup: { content: {$set: undefined}}});
|
|
419
|
+
this.updateState({markup: { contentOriginal: {$set: undefined}}});
|
|
420
|
+
this.updateState({markup: { rows: {$set: undefined}}});
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// TODO: SHOULD BE STATIC
|
|
424
|
+
STATIC() {
|
|
425
|
+
return 'static';
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
VISIBLE() {
|
|
429
|
+
return 'visible';
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
HIDDEN() {
|
|
433
|
+
return 'hidden';
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
module.exports = TestSuiteStore.export(TestSuiteStore);
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import StoreBase from 'z-abs-corelayer-client/client/store/store-base';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class TestSuitesStore extends StoreBase {
|
|
8
|
+
constructor() {
|
|
9
|
+
super({
|
|
10
|
+
systemUnderTestsChecked: new Map(),
|
|
11
|
+
functionUnderTestsChecked: new Map(),
|
|
12
|
+
testSuitesChecked: new Set(),
|
|
13
|
+
current: {
|
|
14
|
+
view: 'none'
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
onActionTestSuitesSetView(action) {
|
|
20
|
+
this.updateState({current: {view: {$set: action.currentView}}});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
onActionTestSuitesSutChecked(action) {
|
|
24
|
+
if(action.checked) {
|
|
25
|
+
this.updateState({systemUnderTestsChecked: (systemUnderTestsChecked) => {
|
|
26
|
+
systemUnderTestsChecked.set(action.sut.name, action.sut);
|
|
27
|
+
}});
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
this.updateState({systemUnderTestsChecked: (systemUnderTestsChecked) => {
|
|
31
|
+
systemUnderTestsChecked.delete(action.sut.name);
|
|
32
|
+
}});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
onActionTestSuitesFutChecked(action) {
|
|
37
|
+
if(action.checked) {
|
|
38
|
+
this.updateState({functionUnderTestsChecked: (functionUnderTestsChecked) => {
|
|
39
|
+
functionUnderTestsChecked.set(action.futName, {
|
|
40
|
+
repo: action.repoName,
|
|
41
|
+
sut: action.sutName,
|
|
42
|
+
fut: action.futName
|
|
43
|
+
});
|
|
44
|
+
}});
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
this.updateState({functionUnderTestsChecked: (functionUnderTestsChecked) => {
|
|
48
|
+
functionUnderTestsChecked.delete(action.futName);
|
|
49
|
+
}});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
onActionTestSuitesTsChecked(action) {
|
|
54
|
+
if(action.checked) {
|
|
55
|
+
this.updateState({testSuitesChecked: (testSuitesChecked) => {
|
|
56
|
+
testSuitesChecked.add(action.tsName);
|
|
57
|
+
}});
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
this.updateState({testSuitesChecked: (testSuitesChecked) => {
|
|
61
|
+
testSuitesChecked.delete(action.tsName);
|
|
62
|
+
}});
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
onActionTestSuitesSutClear(action) {
|
|
67
|
+
this.updateState({systemUnderTestsChecked: (systemUnderTestsChecked) => {
|
|
68
|
+
systemUnderTestsChecked.clear();
|
|
69
|
+
}});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
onActionTestSuitesFutClear(action) {
|
|
73
|
+
this.updateState({functionUnderTestsChecked: (functionUnderTestsChecked) => {
|
|
74
|
+
functionUnderTestsChecked.clear();
|
|
75
|
+
}});
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
onActionTestSuitesTsClear(action) {
|
|
79
|
+
this.updateState({testSuitesChecked: (testSuitesChecked) => {
|
|
80
|
+
testSuitesChecked.clear();
|
|
81
|
+
}});
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
module.exports = TestSuitesStore.export(TestSuitesStore);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import DocumentationStoreBase from 'z-abs-complayer-documentation-client/client/stores/documentation-store-base';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class WorkshopStore extends DocumentationStoreBase {
|
|
8
|
+
constructor() {
|
|
9
|
+
super('Workshop', 'actorjs');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
module.exports = WorkshopStore.export(WorkshopStore);
|
|
15
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const Os = require('os');
|
|
5
|
+
const getos = require('getos');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
let pendings = 2;
|
|
9
|
+
let version = '';
|
|
10
|
+
let versionQueue = [];
|
|
11
|
+
async function loadESModule() {
|
|
12
|
+
try {
|
|
13
|
+
version = (await import('os-name')).default();
|
|
14
|
+
}
|
|
15
|
+
catch(e) {
|
|
16
|
+
ddb.error(`Could not load module 'os-name'.`, e);
|
|
17
|
+
version = 'Unknown';
|
|
18
|
+
}
|
|
19
|
+
if(0 === --pendings) {
|
|
20
|
+
versionQueue.forEach((cb) => {
|
|
21
|
+
cb();
|
|
22
|
+
});
|
|
23
|
+
versionQueue = [];
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
loadESModule();
|
|
27
|
+
|
|
28
|
+
let distributionData = null;
|
|
29
|
+
getos((err, osData) => {
|
|
30
|
+
if(err) {
|
|
31
|
+
ddb.error('Could not get os distribution data.');
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
distributionData = osData;
|
|
35
|
+
if(0 === --pendings) {
|
|
36
|
+
versionQueue.forEach((cb) => {
|
|
37
|
+
cb();
|
|
38
|
+
});
|
|
39
|
+
versionQueue = [];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
class OsHardware {
|
|
45
|
+
constructor() {
|
|
46
|
+
let cpus = Os.cpus();
|
|
47
|
+
this.cpus = [];
|
|
48
|
+
cpus.forEach((cpu) => {
|
|
49
|
+
this.cpus.push({
|
|
50
|
+
model: cpu.model,
|
|
51
|
+
speed: cpu.speed
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
getCpus() {
|
|
57
|
+
return this.cpus;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
getDevEnvironment(cbValue) {
|
|
61
|
+
const devEnvirionment = {
|
|
62
|
+
type: Os.type(),
|
|
63
|
+
platform: Os.platform(),
|
|
64
|
+
arch: Os.arch(),
|
|
65
|
+
release: Os.release(),
|
|
66
|
+
version: version,
|
|
67
|
+
versionfromNode: Os.version(),
|
|
68
|
+
distributionData: distributionData
|
|
69
|
+
};
|
|
70
|
+
if(version) {
|
|
71
|
+
cbValue(devEnvirionment);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
versionQueue.push(() => {
|
|
75
|
+
devEnvirionment.version = version;
|
|
76
|
+
devEnvirionment.distributionData = distributionData;
|
|
77
|
+
cbValue(devEnvirionment);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
module.exports = new OsHardware();
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const Os = require('os');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class OsNetworks {
|
|
8
|
+
static getArray() {
|
|
9
|
+
const networksArray = [];
|
|
10
|
+
const interfaces = Os.networkInterfaces();
|
|
11
|
+
for(let k in interfaces) {
|
|
12
|
+
let internal = false;
|
|
13
|
+
if(1 <= interfaces[k].length) {
|
|
14
|
+
internal = interfaces[k][0].internal;
|
|
15
|
+
}
|
|
16
|
+
let families = new Set();
|
|
17
|
+
if('win32' === Os.platform() && k.startsWith('vEthernet')) {
|
|
18
|
+
// Filter out virtual Ethernet adapters on windows.
|
|
19
|
+
continue;
|
|
20
|
+
}
|
|
21
|
+
interfaces[k].forEach((address) => {
|
|
22
|
+
if('IPv4' === address.family) {
|
|
23
|
+
families.add('IPv4');
|
|
24
|
+
}
|
|
25
|
+
else if('IPv6' === address.family && 0 === address.scopeid) {
|
|
26
|
+
families.add('IPv6');
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
const network = {
|
|
30
|
+
name: k,
|
|
31
|
+
families: families,
|
|
32
|
+
dhcpEnabled: false,
|
|
33
|
+
internal: internal,
|
|
34
|
+
addresses: []
|
|
35
|
+
};
|
|
36
|
+
networksArray.push(network);
|
|
37
|
+
interfaces[k].forEach((address) => {
|
|
38
|
+
if('IPv6' === address.family && 0 !== address.scopeid) {
|
|
39
|
+
// Filter out Link-local IPv6 Address
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
network.addresses.push(address);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
return networksArray;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
module.exports = OsNetworks;
|