@aj-shadow/actorjs-app 0.0.0-aj-beta.221 → 0.0.0-aj-beta.224
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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-log.jsx +6 -3
- package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-sequence-diagram.jsx +11 -8
- package/project/client/components/middle/test-suites/tabs/middle-test-suites-tab-log.jsx +6 -3
- package/project/client/components/middle/test-suites/tabs/middle-test-suites-tab-sequence-diagram.jsx +11 -8
- package/project/client/stores/plus-services-store.js +0 -3
- package/project/client/stores/test-case-store.js +6 -2
- package/project/client/stores/test-suite-store.js +5 -1
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aj-shadow/actorjs-app",
|
|
3
|
-
"version": "0.0.0-aj-beta.
|
|
3
|
+
"version": "0.0.0-aj-beta.224",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@aj-shadow/actorjs-app",
|
|
9
|
-
"version": "0.0.0-aj-beta.
|
|
9
|
+
"version": "0.0.0-aj-beta.224",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "SEE LICENSE IN LICENSE.txt"
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -82,11 +82,14 @@ export default class MiddleTestCasesTabLog extends ReactComponentRealtime {
|
|
|
82
82
|
);
|
|
83
83
|
}*/
|
|
84
84
|
|
|
85
|
-
_fireButtonAction(valueName, value,
|
|
85
|
+
_fireButtonAction(valueName, value, cb) {
|
|
86
86
|
this.dispatch(TestCaseStore, new ActionTestCaseButtonsUpdate('log', valueName, value));
|
|
87
|
-
if(this.cbIsRealtime(
|
|
87
|
+
if(!this.cbIsRealtime()) {
|
|
88
|
+
cb(false);
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
88
91
|
this.renderRealtime(() => {
|
|
89
|
-
|
|
92
|
+
cb(true);
|
|
90
93
|
});
|
|
91
94
|
}
|
|
92
95
|
}
|
package/project/client/components/middle/test-cases/tabs/middle-test-cases-tab-sequence-diagram.jsx
CHANGED
|
@@ -59,11 +59,14 @@ export default class MiddleTestCasesTabSequenceDiagram extends ReactComponentRea
|
|
|
59
59
|
this.refSeqDia.current.active(nextProps.active);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
_fireButtonAction(valueName, value,
|
|
62
|
+
_fireButtonAction(valueName, value, cb) {
|
|
63
63
|
this.dispatch(TestCaseStore, new ActionTestCaseButtonsUpdate('sequenceDiagram', valueName, value));
|
|
64
|
-
if(this.cbIsRealtime()) {
|
|
64
|
+
if(!this.cbIsRealtime()) {
|
|
65
|
+
cb(false);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
65
68
|
this.renderRealtime(() => {
|
|
66
|
-
|
|
69
|
+
cb(true);
|
|
67
70
|
});
|
|
68
71
|
}
|
|
69
72
|
}
|
|
@@ -139,11 +142,11 @@ export default class MiddleTestCasesTabSequenceDiagram extends ReactComponentRea
|
|
|
139
142
|
<RealtimePressDownButton size="aj_btn_xs" buttonValue={stateSequenceDiagram.guiProtocolData} icon={'icon-gui-event-stack'} toolTipContent="GUI Stack name" toolTipHeading={MiddleTestCasesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'guiProtocolData')} />
|
|
140
143
|
</div>
|
|
141
144
|
<div className="aj_btn_group" role="group" aria-label="...">
|
|
142
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Data" buttonValue={stateSequenceDiagram.
|
|
143
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Precondition" buttonValue={stateSequenceDiagram.
|
|
144
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Execution" buttonValue={stateSequenceDiagram.
|
|
145
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Postcondition" buttonValue={stateSequenceDiagram.
|
|
146
|
-
<RealtimePressDownButton size="aj_btn_xs" name="None" buttonValue={stateSequenceDiagram.
|
|
145
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Data" buttonValue={stateSequenceDiagram.phaseData} icon={'icon-phase-data'} toolTipContent="Data Phase Events" toolTipHeading={MiddleTestCasesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phaseData')} />
|
|
146
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Precondition" buttonValue={stateSequenceDiagram.phasePrecondition} icon={'icon-phase-precondition'} toolTipContent="Precondition Phase Events" toolTipHeading={MiddleTestCasesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phasePrecondition')} />
|
|
147
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Execution" buttonValue={stateSequenceDiagram.phaseExecution} icon={'icon-phase-execution'} toolTipContent="Execution Phase Events" toolTipHeading={MiddleTestCasesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phaseExecution')} />
|
|
148
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Postcondition" buttonValue={stateSequenceDiagram.phasePostCondition} icon={'icon-phase-postcondition'} toolTipContent="Postcondition Phase Events" toolTipHeading={MiddleTestCasesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phasePostCondition')} />
|
|
149
|
+
<RealtimePressDownButton size="aj_btn_xs" name="None" buttonValue={stateSequenceDiagram.phaseNone} icon={'icon-phase-none'} toolTipContent="None Phase Events" toolTipHeading={MiddleTestCasesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phaseNone')} />
|
|
147
150
|
</div>
|
|
148
151
|
</div>
|
|
149
152
|
</div>
|
|
@@ -55,11 +55,14 @@ export default class MiddleTestSuitesTabLog extends ReactComponentRealtime {
|
|
|
55
55
|
this.refLog.current.active(nextProps.active);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
_fireButtonAction(valueName, value,
|
|
58
|
+
_fireButtonAction(valueName, value, cb) {
|
|
59
59
|
this.dispatch(TestSuiteStore, new ActionTestSuiteButtonsUpdate('log', valueName, value));
|
|
60
|
-
if(this.cbIsRealtime()) {
|
|
60
|
+
if(!this.cbIsRealtime()) {
|
|
61
|
+
cb(false);
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
61
64
|
this.renderRealtime(() => {
|
|
62
|
-
|
|
65
|
+
cb(true);
|
|
63
66
|
});
|
|
64
67
|
}
|
|
65
68
|
}
|
|
@@ -54,11 +54,14 @@ export default class MiddleTestSuitesTabSequenceDiagram extends ReactComponentRe
|
|
|
54
54
|
this.refSeqDia.current.active(nextProps.active);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
_fireButtonAction(valueName, value,
|
|
57
|
+
_fireButtonAction(valueName, value, cb) {
|
|
58
58
|
this.dispatch(TestSuiteStore, new ActionTestSuiteButtonsUpdate('sequenceDiagram', valueName, value));
|
|
59
|
-
if(this.cbIsRealtime()) {
|
|
59
|
+
if(!this.cbIsRealtime()) {
|
|
60
|
+
cb(false);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
60
63
|
this.renderRealtime(() => {
|
|
61
|
-
|
|
64
|
+
cb(true);
|
|
62
65
|
});
|
|
63
66
|
}
|
|
64
67
|
}
|
|
@@ -134,11 +137,11 @@ export default class MiddleTestSuitesTabSequenceDiagram extends ReactComponentRe
|
|
|
134
137
|
<RealtimePressDownButton size="aj_btn_xs" buttonValue={stateSequenceDiagram.guiProtocolData} icon={'icon-gui-event-stack'} toolTipContent="GUI Stack name" toolTipHeading={MiddleTestSuitesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'guiProtocolData')} />
|
|
135
138
|
</div>
|
|
136
139
|
<div className="aj_btn_group" role="group" aria-label="...">
|
|
137
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Data" buttonValue={stateSequenceDiagram.
|
|
138
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Precondition" buttonValue={stateSequenceDiagram.
|
|
139
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Execution" buttonValue={stateSequenceDiagram.
|
|
140
|
-
<RealtimePressDownButton size="aj_btn_xs" name="Postcondition" buttonValue={stateSequenceDiagram.
|
|
141
|
-
<RealtimePressDownButton size="aj_btn_xs" name="None" buttonValue={stateSequenceDiagram.
|
|
140
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Data" buttonValue={stateSequenceDiagram.phaseData} icon={'icon-phase-data'} toolTipContent="Data Phase Events" toolTipHeading={MiddleTestSuitesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phaseData')} />
|
|
141
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Precondition" buttonValue={stateSequenceDiagram.phasePrecondition} icon={'icon-phase-precondition'} toolTipContent="Precondition Phase Events" toolTipHeading={MiddleTestSuitesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phasePrecondition')} />
|
|
142
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Execution" buttonValue={stateSequenceDiagram.phaseExecution} icon={'icon-phase-execution'} toolTipContent="Execution Phase Events" toolTipHeading={MiddleTestSuitesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phaseExecution')} />
|
|
143
|
+
<RealtimePressDownButton size="aj_btn_xs" name="Postcondition" buttonValue={stateSequenceDiagram.phasePostcondition} icon={'icon-phase-postcondition'} toolTipContent="Postcondition Phase Events" toolTipHeading={MiddleTestSuitesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phasePostcondition')} />
|
|
144
|
+
<RealtimePressDownButton size="aj_btn_xs" name="None" buttonValue={stateSequenceDiagram.phaseNone} icon={'icon-phase-none'} toolTipContent="None Phase Events" toolTipHeading={MiddleTestSuitesTabSequenceDiagram.SHOW_HIDE} onAction={this._fireButtonAction.bind(this, 'phaseNone')} />
|
|
142
145
|
</div>
|
|
143
146
|
</div>
|
|
144
147
|
</div>
|
|
@@ -108,7 +108,11 @@ class TestCaseStore extends StoreBaseRealtime {
|
|
|
108
108
|
guiInstanceData: false,
|
|
109
109
|
guiProtocolData: false,
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
phaseData: true,
|
|
112
|
+
phasePrecondition: true,
|
|
113
|
+
phaseExecution: true,
|
|
114
|
+
phasePostcondition: true,
|
|
115
|
+
phaseNone: true,
|
|
112
116
|
|
|
113
117
|
////////////////
|
|
114
118
|
|
|
@@ -442,7 +446,7 @@ class TestCaseStore extends StoreBaseRealtime {
|
|
|
442
446
|
buttons.zoom = action.zoom;
|
|
443
447
|
this.sendDataAction(new DataActionTestCaseButtonsUpdate(action, this.buttonsKey, buttons));
|
|
444
448
|
}
|
|
445
|
-
|
|
449
|
+
|
|
446
450
|
onActionTestCaseSpecificationMarkup(action) {
|
|
447
451
|
const markupDocument = MarkupDocumentationPage.stringify(this.state.specification.document);
|
|
448
452
|
this.updateState({specification: {definition: {$set: true}}});
|
|
@@ -76,7 +76,11 @@ class TestSuiteStore extends StoreBaseRealtime {
|
|
|
76
76
|
guiInstanceData: false,
|
|
77
77
|
guiProtocolData: false,
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
phaseData: true,
|
|
80
|
+
phasePrecondition: true,
|
|
81
|
+
phaseExecution: true,
|
|
82
|
+
phasePostcondition: true,
|
|
83
|
+
phaseNone: true,
|
|
80
84
|
|
|
81
85
|
////////////////
|
|
82
86
|
showMessages: true,
|