@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,222 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import SystemUnderTestStore from '../../../stores/system-under-test-store';
|
|
5
|
+
import TestCaseStore from '../../../stores/test-case-store';
|
|
6
|
+
import TestCasesStore from '../../../stores/test-cases-store';
|
|
7
|
+
import MiddleTestCasesViewRecent from './middle-test-cases-view-recent';
|
|
8
|
+
import MiddleTestCasesViewSut from './middle-test-cases-view-sut';
|
|
9
|
+
import MiddleTestCasesViewFut from './middle-test-cases-view-fut';
|
|
10
|
+
import MiddleTestCasesViewTc from './middle-test-cases-view-tc';
|
|
11
|
+
import MiddleTestCasesViewTestCase from './middle-test-cases-view-test-case';
|
|
12
|
+
import { ActionSystemUnderTestSet } from '../../../actions/action-system-under-test/action-system-under-test';
|
|
13
|
+
import { ActionTestCasesSetView } from '../../../actions/action-test-cases';
|
|
14
|
+
import MiddleNotFound from '../middle-not-found';
|
|
15
|
+
import ButtonNew from 'z-abs-complayer-bootstrap-client/client/button-new';
|
|
16
|
+
import ComponentBreadcrump from 'z-abs-complayer-bootstrap-client/client/breadcrump';
|
|
17
|
+
import Route from 'z-abs-complayer-router-client/client/react-component/route';
|
|
18
|
+
import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
|
|
19
|
+
import React from 'react';
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
export default class MiddleTestCasesViewColumns extends ReactComponentStore {
|
|
23
|
+
constructor(props) {
|
|
24
|
+
super(props, [TestCaseStore, SystemUnderTestStore]);
|
|
25
|
+
this.boundKeyDown = this._keyDown.bind(this);
|
|
26
|
+
this.scrollRecent = 0;
|
|
27
|
+
this.scrollFut = 0;
|
|
28
|
+
this.scrollSut = 0;
|
|
29
|
+
this.scrollTc = 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
didMount() {
|
|
33
|
+
window.addEventListener('keydown', this.boundKeyDown, true);
|
|
34
|
+
this.setView();
|
|
35
|
+
if(this.props.onTcName && this.props.tc) {
|
|
36
|
+
this.props.onTcName(this.props.tc);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
shouldUpdate(nextProps, nextState) {
|
|
41
|
+
return !this.shallowCompare(this.props.sut, nextProps.sut)
|
|
42
|
+
|| !this.shallowCompare(this.props.fut, nextProps.fut)
|
|
43
|
+
|| !this.shallowCompare(this.props.tc, nextProps.tc)
|
|
44
|
+
|| this.state.TestCaseStore.markup.definition !== nextState.TestCaseStore.markup.definition
|
|
45
|
+
|| !this.deepCompare(this.state.SystemUnderTestStore.systemUnderTests, nextState.SystemUnderTestStore.systemUnderTests);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
didUpdate(prevProps) {
|
|
49
|
+
this.setView();
|
|
50
|
+
if(this.props.tc !== prevProps.tc) {
|
|
51
|
+
this.props.onTcName(this.props.tc);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
willUnmount() {
|
|
56
|
+
window.removeEventListener('keydown', this.boundKeyDown, true);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
_keyDown(e) {
|
|
60
|
+
if(e.altKey && 'c' === e.key && !this._disabledCopy()) {
|
|
61
|
+
e.preventDefault();
|
|
62
|
+
this._copyMarkupName(e);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
setView() {
|
|
67
|
+
if(this.props.tc) {
|
|
68
|
+
this.dispatch(SystemUnderTestStore, new ActionSystemUnderTestSet(this.props.sut));
|
|
69
|
+
this.dispatch(TestCasesStore, new ActionTestCasesSetView('tc'));
|
|
70
|
+
}
|
|
71
|
+
else if(this.props.fut) {
|
|
72
|
+
this.dispatch(SystemUnderTestStore, new ActionSystemUnderTestSet(this.props.sut));
|
|
73
|
+
this.dispatch(TestCasesStore, new ActionTestCasesSetView('fut'));
|
|
74
|
+
}
|
|
75
|
+
else if(this.props.sut) {
|
|
76
|
+
this.dispatch(SystemUnderTestStore, new ActionSystemUnderTestSet(null));
|
|
77
|
+
this.dispatch(TestCasesStore, new ActionTestCasesSetView('sut'));
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
this.dispatch(SystemUnderTestStore, new ActionSystemUnderTestSet(null));
|
|
81
|
+
this.dispatch(TestCasesStore, new ActionTestCasesSetView('none'));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
renderTestCases() {
|
|
86
|
+
return (
|
|
87
|
+
<div className="test_case_columns">
|
|
88
|
+
<MiddleTestCasesViewRecent />
|
|
89
|
+
<MiddleTestCasesViewSut />
|
|
90
|
+
</div>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
renderTestCasesSut(repo) {
|
|
95
|
+
return (
|
|
96
|
+
<div className="test_case_columns">
|
|
97
|
+
<MiddleTestCasesViewRecent />
|
|
98
|
+
<MiddleTestCasesViewSut />
|
|
99
|
+
<MiddleTestCasesViewFut repo={repo} sut={this.props.sut} />
|
|
100
|
+
</div>
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
renderTestCasesFut(repo) {
|
|
105
|
+
return (
|
|
106
|
+
<div className="test_case_columns">
|
|
107
|
+
<MiddleTestCasesViewRecent scroll={this.scrollRecent}
|
|
108
|
+
onRestoreData={(scrollTop) => {
|
|
109
|
+
this.scrollRecent = scrollTop;
|
|
110
|
+
}}
|
|
111
|
+
/>
|
|
112
|
+
<MiddleTestCasesViewSut scroll={this.scrollSut}
|
|
113
|
+
onRestoreData={(scrollTop) => {
|
|
114
|
+
this.scrollSut = scrollTop;
|
|
115
|
+
}}
|
|
116
|
+
/>
|
|
117
|
+
<MiddleTestCasesViewFut repo={repo} sut={this.props.sut} scroll={this.scrollFut}
|
|
118
|
+
onRestoreData={(scrollTop) => {
|
|
119
|
+
this.scrollFut = scrollTop;
|
|
120
|
+
}}
|
|
121
|
+
/>
|
|
122
|
+
<MiddleTestCasesViewTc repo={repo} sut={this.props.sut} fut={this.props.fut} scroll={this.scrollTc}
|
|
123
|
+
onRestoreData={(scrollTop) => {
|
|
124
|
+
this.scrollTc = scrollTop;
|
|
125
|
+
}}
|
|
126
|
+
/>
|
|
127
|
+
</div>
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
renderTestCasesTc(repo) {
|
|
132
|
+
return (
|
|
133
|
+
<Route switch={["/:tab*", ""]} sut={this.props.sut} fut={this.props.fut} repo={repo} tc={this.props.tc} handler={MiddleTestCasesViewTestCase} />
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
renderColumns() {
|
|
138
|
+
const sut = !this.props.sut ? undefined : this.state.SystemUnderTestStore.systemUnderTests.find((sut) => {
|
|
139
|
+
return sut.name === this.props.sut;
|
|
140
|
+
});
|
|
141
|
+
const repo = sut ? sut.repo : undefined;
|
|
142
|
+
if(this.props.tc) {
|
|
143
|
+
return this.renderTestCasesTc(repo);
|
|
144
|
+
}
|
|
145
|
+
else if(this.props.fut) {
|
|
146
|
+
return this.renderTestCasesFut(repo);
|
|
147
|
+
}
|
|
148
|
+
else if(this.props.sut) {
|
|
149
|
+
return this.renderTestCasesSut(repo);
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
return this.renderTestCases();
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
_getTestCaseFullName() {
|
|
157
|
+
let testCaseFullName = 'tc';
|
|
158
|
+
if(this.props.sut) {
|
|
159
|
+
testCaseFullName += `.${this.props.sut}`;
|
|
160
|
+
}
|
|
161
|
+
if(this.props.fut) {
|
|
162
|
+
testCaseFullName += `.${this.props.fut}`;
|
|
163
|
+
}
|
|
164
|
+
if(this.props.tc) {
|
|
165
|
+
testCaseFullName += `.${this.props.tc}`;
|
|
166
|
+
}
|
|
167
|
+
return testCaseFullName;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
renderTestCaseFullName() {
|
|
171
|
+
return (
|
|
172
|
+
<div className="bootstrap_breadcrump_full_name">
|
|
173
|
+
{'Markup name: ' + this._getTestCaseFullName()}
|
|
174
|
+
</div>
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
_copyMarkupName(e) {
|
|
179
|
+
navigator.clipboard.writeText(this._getTestCaseFullName()).then(() => {
|
|
180
|
+
/* clipboard successfully set */
|
|
181
|
+
}, () => {
|
|
182
|
+
/* clipboard write failed */
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
_disabledCopy() {
|
|
187
|
+
return this.state.TestCaseStore.markup.definition;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
renderCopyButton() {
|
|
191
|
+
return (
|
|
192
|
+
<ButtonNew icon="icon-markup-copy" colorMark="markup_color" size="aj_btn_xs" placement="bottom" heading="Copy" content="Markup name" shortcut="Alt+c" disabled={this._disabledCopy()}
|
|
193
|
+
onClick={(e) => {
|
|
194
|
+
this._copyMarkupName(e);
|
|
195
|
+
}}
|
|
196
|
+
/>
|
|
197
|
+
);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
render() {
|
|
201
|
+
return (
|
|
202
|
+
<div className="same_size_as_parent">
|
|
203
|
+
<div className="test_case_breadcrump">
|
|
204
|
+
<ComponentBreadcrump items={[
|
|
205
|
+
{name: 'Test Cases', link: ''},
|
|
206
|
+
{name: this.props.sut, link: `${this.props.sut}`},
|
|
207
|
+
{name: this.props.fut, link: `${this.props.sut}/${this.props.fut}`},
|
|
208
|
+
{name: this.props.tc, link: `${this.props.sut}/${this.props.fut}/${this.props.tc}`}
|
|
209
|
+
]}/>
|
|
210
|
+
<div className="bootstrap_breadcrump_full_name">
|
|
211
|
+
{'-'}
|
|
212
|
+
</div>
|
|
213
|
+
<div className="aj_btn_group" style={{marginLeft:'8px'}} role="group" aria-label="...">
|
|
214
|
+
{this.renderCopyButton()}
|
|
215
|
+
</div>
|
|
216
|
+
{this.renderTestCaseFullName()}
|
|
217
|
+
</div>
|
|
218
|
+
{this.renderColumns()}
|
|
219
|
+
</div>
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import FilterStore from '../../../stores/filter-store';
|
|
5
|
+
import FunctionUnderTestStore from '../../../stores/function-under-test-store';
|
|
6
|
+
import TestCasesStore from '../../../stores/test-cases-store';
|
|
7
|
+
import { ActionTestCasesFutChecked, ActionTestCasesFutClear } from '../../../actions/action-test-cases';
|
|
8
|
+
import { ActionFunctionUnderTestGet } from '../../../actions/action-function-under-test';
|
|
9
|
+
import Link from 'z-abs-complayer-router-client/client/react-component/link';
|
|
10
|
+
import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export default class MiddleTestCasesViewFut extends ReactComponentStore {
|
|
15
|
+
constructor(props) {
|
|
16
|
+
super(props, [FilterStore, FunctionUnderTestStore, TestCasesStore]);
|
|
17
|
+
this.refFut = React.createRef();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
didMount() {
|
|
21
|
+
if(this.props.repo) {
|
|
22
|
+
this.dispatch(FunctionUnderTestStore, new ActionFunctionUnderTestGet(this.props.repo, this.props.sut));
|
|
23
|
+
}
|
|
24
|
+
if(this.props.scroll) {
|
|
25
|
+
this.refFut.current.scrollTop = this.props.scroll;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
shouldUpdate(nextProps, nextState) {
|
|
30
|
+
return !this.shallowCompare(this.props.repo, nextProps.repo)
|
|
31
|
+
|| !this.shallowCompare(this.props.sut, nextProps.sut)
|
|
32
|
+
|| !this.shallowCompareArrayValues(this.state.FunctionUnderTestStore.functionUnderTests, nextState.FunctionUnderTestStore.functionUnderTests)
|
|
33
|
+
|| !this.shallowCompareMapValues(this.state.TestCasesStore.functionUnderTestsChecked, nextState.TestCasesStore.functionUnderTestsChecked);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
didUpdate(prevProps, prevState) {
|
|
37
|
+
if(this.props.repo && (this.props.repo !== prevProps.repo || this.props.sut !== prevProps.sut)) {
|
|
38
|
+
this.dispatch(FunctionUnderTestStore, new ActionFunctionUnderTestGet(this.props.repo, this.props.sut));
|
|
39
|
+
this.dispatch(TestCasesStore, new ActionTestCasesFutClear());
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
willUnmount() {
|
|
44
|
+
this.dispatch(TestCasesStore, new ActionTestCasesFutClear());
|
|
45
|
+
this.props.onRestoreData && this.props.onRestoreData(this.refFut.current.scrollTop);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
renderCheckbox(futName) {
|
|
49
|
+
return (
|
|
50
|
+
<input type="checkbox" id={`test_cases_input_checkbox_fut_${futName}`} aria-label="..." autoComplete="off" checked={this.state.TestCasesStore.functionUnderTestsChecked.has(futName)}
|
|
51
|
+
onChange={(e) => {
|
|
52
|
+
this.dispatch(TestCasesStore, new ActionTestCasesFutChecked(this.props.repo, this.props.sut, futName, e.currentTarget.checked));
|
|
53
|
+
}}
|
|
54
|
+
/>
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
renderFunctionUnderTestRows() {
|
|
59
|
+
const functionUnderTestRows = this.state.FunctionUnderTestStore.functionUnderTests.map((fut, i) => {
|
|
60
|
+
return (
|
|
61
|
+
<tr key={`tc:fut_${this.props.sut}/${fut.name}`}>
|
|
62
|
+
<th scope="row">{i + 1}</th>
|
|
63
|
+
<td>{this.renderCheckbox(fut.name)}</td>
|
|
64
|
+
<td>
|
|
65
|
+
<Link className="test_case_link" href={`/${this.props.sut}/${fut.name}`}>
|
|
66
|
+
{fut.name}
|
|
67
|
+
</Link>
|
|
68
|
+
</td>
|
|
69
|
+
</tr>)
|
|
70
|
+
})
|
|
71
|
+
return functionUnderTestRows;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
render() {
|
|
75
|
+
return (
|
|
76
|
+
<div ref={this.refFut} className="test_case_column">
|
|
77
|
+
<div className="test_cases_table">
|
|
78
|
+
<div className="panel panel-default">
|
|
79
|
+
<div className="panel-heading">
|
|
80
|
+
<h3 className="panel-title">
|
|
81
|
+
[
|
|
82
|
+
<Link className="test_case_link" href={`/${this.props.sut}`}>
|
|
83
|
+
{this.props.sut}
|
|
84
|
+
</Link>
|
|
85
|
+
] - Fut
|
|
86
|
+
</h3>
|
|
87
|
+
</div>
|
|
88
|
+
<table id="tc_fut_table" className="table test_cases_table">
|
|
89
|
+
<thead>
|
|
90
|
+
<tr>
|
|
91
|
+
<th>#</th>
|
|
92
|
+
<th></th>
|
|
93
|
+
<th>Name</th>
|
|
94
|
+
</tr>
|
|
95
|
+
</thead>
|
|
96
|
+
<tbody>
|
|
97
|
+
{this.renderFunctionUnderTestRows()}
|
|
98
|
+
</tbody>
|
|
99
|
+
</table>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import FilterStore from '../../../stores/filter-store';
|
|
5
|
+
import TestCaseStore from '../../../stores/test-case-store';
|
|
6
|
+
import { ActionTestCaseRecentGet } from '../../../actions/action-test-case/action-test-case';
|
|
7
|
+
import Link from 'z-abs-complayer-router-client/client/react-component/link';
|
|
8
|
+
import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
|
|
9
|
+
import React from 'react';
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export default class MiddleTestCasesViewRecent extends ReactComponentStore {
|
|
13
|
+
constructor(props) {
|
|
14
|
+
super(props, [FilterStore, TestCaseStore]);
|
|
15
|
+
this.refRecent = React.createRef();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
didMount() {
|
|
19
|
+
this.dispatch(TestCaseStore, new ActionTestCaseRecentGet());
|
|
20
|
+
if(this.props.scroll) {
|
|
21
|
+
this.refRecent.current.scrollTop = this.props.scroll;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
shouldUpdate(nextProps, nextState) {
|
|
26
|
+
return !this.shallowCompare(this.state.TestCaseStore.recentTestCases, nextState.TestCaseStore.recentTestCases);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
willUnmount() {
|
|
30
|
+
this.props.onRestoreData && this.props.onRestoreData(this.refRecent.current.scrollTop);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
renderRecentTestCasesRows() {
|
|
34
|
+
let recentTestCasesRows = this.state.TestCaseStore.recentTestCases.map((recentTc, i) => {
|
|
35
|
+
return (
|
|
36
|
+
<tr key={`tc.${recentTc.sut}.${recentTc.fut}.${recentTc.tc}`}>
|
|
37
|
+
<th scope="row">{i + 1}</th>
|
|
38
|
+
<td>
|
|
39
|
+
<Link className="test_case_link" href={`/${recentTc.sut}/${recentTc.fut}/${recentTc.tc}`}>
|
|
40
|
+
{`tc.${recentTc.sut}.${recentTc.fut}.${recentTc.tc}`}
|
|
41
|
+
</Link>
|
|
42
|
+
</td>
|
|
43
|
+
<td>{recentTc.repo}</td>
|
|
44
|
+
</tr>)
|
|
45
|
+
})
|
|
46
|
+
return recentTestCasesRows;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
render() {
|
|
50
|
+
return (
|
|
51
|
+
<div ref={this.refRecent} className="test_case_column">
|
|
52
|
+
<div className="test_cases_table">
|
|
53
|
+
<div className="panel panel-default">
|
|
54
|
+
<div className="panel-heading">
|
|
55
|
+
<h3 className="panel-title">Recent</h3>
|
|
56
|
+
</div>
|
|
57
|
+
<table id="tc_recent_table" className="table test_cases_table">
|
|
58
|
+
<thead>
|
|
59
|
+
<tr>
|
|
60
|
+
<th>#</th>
|
|
61
|
+
<th>Name</th>
|
|
62
|
+
<th>Repo</th>
|
|
63
|
+
</tr>
|
|
64
|
+
</thead>
|
|
65
|
+
<tbody>
|
|
66
|
+
{this.renderRecentTestCasesRows()}
|
|
67
|
+
</tbody>
|
|
68
|
+
</table>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import FilterStore from '../../../stores/filter-store';
|
|
5
|
+
import SystemUnderTestStore from '../../../stores/system-under-test-store';
|
|
6
|
+
import TestCasesStore from '../../../stores/test-cases-store';
|
|
7
|
+
import { ActionTestCasesSutChecked, ActionTestCasesSutClear } from '../../../actions/action-test-cases';
|
|
8
|
+
import { ActionSystemUnderTestGet } from '../../../actions/action-system-under-test/action-system-under-test';
|
|
9
|
+
import Link from 'z-abs-complayer-router-client/client/react-component/link';
|
|
10
|
+
import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export default class MiddleTestCasesViewSut extends ReactComponentStore {
|
|
15
|
+
constructor(props) {
|
|
16
|
+
super(props, [FilterStore, SystemUnderTestStore, TestCasesStore]);
|
|
17
|
+
this.refSut = React.createRef();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
didMount() {
|
|
21
|
+
this.dispatch(SystemUnderTestStore, new ActionSystemUnderTestGet());
|
|
22
|
+
if(this.props.scroll) {
|
|
23
|
+
this.refSut.current.scrollTop = this.props.scroll;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
shouldUpdate(nextProps, nextState) {
|
|
28
|
+
return this.state.FilterStore !== nextState.FilterStore
|
|
29
|
+
|| !this.deepCompare(this.state.SystemUnderTestStore.systemUnderTests, nextState.SystemUnderTestStore.systemUnderTests)
|
|
30
|
+
|| !this.shallowCompareMapValues(this.state.TestCasesStore.systemUnderTestsChecked, nextState.TestCasesStore.systemUnderTestsChecked);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
willUnmount() {
|
|
34
|
+
this.dispatch(TestCasesStore, new ActionTestCasesSutClear());
|
|
35
|
+
this.props.onRestoreData && this.props.onRestoreData(this.refSut.current.scrollTop);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
renderCheckbox(sut) {
|
|
39
|
+
if('Global' === sut.repo && 'Actor' === sut.name) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
return (
|
|
44
|
+
<input type="checkbox" id={`test_cases_input_checkbox_sut_${sut.name}`} aria-label="..." autoComplete="off" checked={this.state.TestCasesStore.systemUnderTestsChecked.has(sut.name)}
|
|
45
|
+
onChange={(e) => {
|
|
46
|
+
this.dispatch(TestCasesStore, new ActionTestCasesSutChecked(sut, e.currentTarget.checked));
|
|
47
|
+
}}
|
|
48
|
+
/>
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
renderSystemUnderTestRows() {
|
|
54
|
+
if('*' === this.state.FilterStore.sut) {
|
|
55
|
+
return this.state.SystemUnderTestStore.systemUnderTests.map((sut, i) => {
|
|
56
|
+
return (
|
|
57
|
+
<tr key={`tc:sut_${sut.name}`}>
|
|
58
|
+
<th scope="row">{i + 1}</th>
|
|
59
|
+
<td>{this.renderCheckbox(sut)}</td>
|
|
60
|
+
<td>
|
|
61
|
+
<Link className="test_case_link" href={`/${sut.name}`}>
|
|
62
|
+
{sut.name}
|
|
63
|
+
</Link>
|
|
64
|
+
</td>
|
|
65
|
+
<td>{sut.repo}</td>
|
|
66
|
+
</tr>
|
|
67
|
+
);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
render() {
|
|
73
|
+
return (
|
|
74
|
+
<div ref={this.refSut} className="test_case_column">
|
|
75
|
+
<div className="test_cases_table">
|
|
76
|
+
<div className="panel panel-default">
|
|
77
|
+
<div className="panel-heading">
|
|
78
|
+
<h3 className="panel-title">Sut</h3>
|
|
79
|
+
</div>
|
|
80
|
+
<table id="tc_sut_table" className="table test_cases_table">
|
|
81
|
+
<thead>
|
|
82
|
+
<tr>
|
|
83
|
+
<th>#</th>
|
|
84
|
+
<th></th>
|
|
85
|
+
<th>Name</th>
|
|
86
|
+
<th>Repo</th>
|
|
87
|
+
</tr>
|
|
88
|
+
</thead>
|
|
89
|
+
<tbody>
|
|
90
|
+
{this.renderSystemUnderTestRows()}
|
|
91
|
+
</tbody>
|
|
92
|
+
</table>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
import FilterStore from '../../../stores/filter-store';
|
|
5
|
+
import TestCaseStore from '../../../stores/test-case-store';
|
|
6
|
+
import TestCasesStore from '../../../stores/test-cases-store';
|
|
7
|
+
import { ActionTestCasesTcChecked, ActionTestCasesTcClear } from '../../../actions/action-test-cases';
|
|
8
|
+
import { ActionTestCaseGet } from '../../../actions/action-test-case/action-test-case';
|
|
9
|
+
import Link from 'z-abs-complayer-router-client/client/react-component/link';
|
|
10
|
+
import ReactComponentStore from 'z-abs-corelayer-client/client/react-component/react-component-store';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export default class MiddleTestCasesViewTc extends ReactComponentStore {
|
|
15
|
+
constructor(props) {
|
|
16
|
+
super(props, [FilterStore, TestCasesStore, TestCaseStore]);
|
|
17
|
+
this.refTc = React.createRef();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
didMount() {
|
|
21
|
+
if(this.props.repo) {
|
|
22
|
+
this.dispatch(TestCaseStore, new ActionTestCaseGet(this.props.repo, this.props.sut, this.props.fut));
|
|
23
|
+
}
|
|
24
|
+
if(this.props.scroll) {
|
|
25
|
+
this.refTc.current.scrollTop = this.props.scroll;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
shouldUpdate(nextProps, nextState) {
|
|
30
|
+
return !this.shallowCompare(this.props.repo, nextProps.repo)
|
|
31
|
+
|| !this.shallowCompare(this.props.sut, nextProps.sut)
|
|
32
|
+
|| !this.shallowCompare(this.props.fut, nextProps.fut)
|
|
33
|
+
|| !this.shallowCompare(this.state.TestCaseStore.testCases, nextState.TestCaseStore.testCases)
|
|
34
|
+
|| !this.shallowCompareMapValues(this.state.TestCasesStore.testCasesChecked, nextState.TestCasesStore.testCasesChecked);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
didUpdate(prevProps, prevState) {
|
|
38
|
+
if(this.props.repo && (this.props.repo !== prevProps.repo || this.props.sut !== prevProps.sut || this.props.fut !== prevProps.fut)) {
|
|
39
|
+
this.dispatch(TestCaseStore, new ActionTestCaseGet(this.props.repo, this.props.sut, this.props.fut));
|
|
40
|
+
this.dispatch(TestCasesStore, new ActionTestCasesTcClear());
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
willUnmount() {
|
|
45
|
+
this.dispatch(TestCasesStore, new ActionTestCasesTcClear());
|
|
46
|
+
this.props.onRestoreData && this.props.onRestoreData(this.refTc.current.scrollTop);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
renderCheckbox(tcName) {
|
|
50
|
+
return (
|
|
51
|
+
<input type="checkbox" id={`test_cases_input_checkbox_tc_${tcName}`} aria-label="..." autoComplete="off" checked={this.state.TestCasesStore.testCasesChecked.has(tcName)}
|
|
52
|
+
onChange={(e) => {
|
|
53
|
+
this.dispatch(TestCasesStore, new ActionTestCasesTcChecked(this.props.repo, this.props.sut, this.props.fut, tcName, e.currentTarget.checked));
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
renderTestCaseRows() {
|
|
60
|
+
return this.state.TestCaseStore.testCases.map((tc, i) => {
|
|
61
|
+
return (
|
|
62
|
+
<tr key={`tc:tc_${this.props.sut}/${this.props.fut}/${tc.name}`}>
|
|
63
|
+
<th scope="row">{i + 1}</th>
|
|
64
|
+
<td>{this.renderCheckbox(tc.name)}</td>
|
|
65
|
+
<td>
|
|
66
|
+
<Link className="test_case_link" href={`/${this.props.sut}/${this.props.fut}/${tc.name}/definition`}>
|
|
67
|
+
{tc.name}
|
|
68
|
+
</Link>
|
|
69
|
+
</td>
|
|
70
|
+
<td>{tc.description}</td>
|
|
71
|
+
</tr>
|
|
72
|
+
);
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
render() {
|
|
77
|
+
return (
|
|
78
|
+
<div ref={this.refTc} className="test_case_column">
|
|
79
|
+
<div className="test_cases_table">
|
|
80
|
+
<div className="panel panel-default">
|
|
81
|
+
<div className="panel-heading">
|
|
82
|
+
<h3 className="panel-title">
|
|
83
|
+
[
|
|
84
|
+
<Link className="test_case_link" global href={`/system-under-tests/${this.props.sut}/`}>
|
|
85
|
+
{this.props.sut}
|
|
86
|
+
</Link>
|
|
87
|
+
] - [{this.props.fut}] - Tc
|
|
88
|
+
</h3>
|
|
89
|
+
</div>
|
|
90
|
+
<table id="tc_tc_table" className="table test_cases_table">
|
|
91
|
+
<thead>
|
|
92
|
+
<tr>
|
|
93
|
+
<th>#</th>
|
|
94
|
+
<th></th>
|
|
95
|
+
<th>Name</th>
|
|
96
|
+
<th>Description</th>
|
|
97
|
+
</tr>
|
|
98
|
+
</thead>
|
|
99
|
+
<tbody>
|
|
100
|
+
{this.renderTestCaseRows()}
|
|
101
|
+
</tbody>
|
|
102
|
+
</table>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
}
|