codecraftai-integration-runtime 1.3.0__py3-none-any.whl

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.
Files changed (48) hide show
  1. ccai/integrationruntime/__init__.py +27 -0
  2. ccai/integrationruntime/entrypoints.py +59 -0
  3. ccai/integrationruntime/initialize.py +100 -0
  4. ccai/integrationruntime/integratedtestjob.py +100 -0
  5. ccai/integrationruntime/integrationruntimedefaulttypefactory.py +51 -0
  6. ccai/integrationruntime/py.typed +0 -0
  7. ccai/integrationruntime/results/__init__.py +13 -0
  8. ccai/integrationruntime/results/concentrators/__init__.py +13 -0
  9. ccai/integrationruntime/results/concentrators/progressconcentratorservice.py +526 -0
  10. ccai/integrationruntime/results/recorders/__init__.py +22 -0
  11. ccai/integrationruntime/results/recorders/integrationjsonresultrecorder.py +126 -0
  12. ccai/integrationruntime/results/recorders/streamingresultrecorder.py +271 -0
  13. ccai/integrationruntime/results/streaming/__init__.py +25 -0
  14. ccai/integrationruntime/results/streaming/resultstreamer.py +581 -0
  15. ccai/integrationruntime/runtimeoutputcontext.py +68 -0
  16. ccai/integrationruntime/runtimerunmetadata.py +165 -0
  17. ccai/integrationruntime/templates/v2/static/images/test-report-banner-background-image.png +0 -0
  18. ccai/integrationruntime/templates/v2/static/javascript/d3.v7.js +20625 -0
  19. ccai/integrationruntime/templates/v2/static/javascript/icon-components.js +510 -0
  20. ccai/integrationruntime/templates/v2/static/javascript/mojo-components.js +1417 -0
  21. ccai/integrationruntime/templates/v2/static/javascript/prism.js +1789 -0
  22. ccai/integrationruntime/templates/v2/static/javascript/testsummary-accessibility.js +704 -0
  23. ccai/integrationruntime/templates/v2/static/javascript/testsummary-comparison.js +1287 -0
  24. ccai/integrationruntime/templates/v2/static/javascript/testsummary-components.js +3499 -0
  25. ccai/integrationruntime/templates/v2/static/javascript/testsummary-helpers.js +426 -0
  26. ccai/integrationruntime/templates/v2/static/javascript/testsummary-responsive.js +493 -0
  27. ccai/integrationruntime/templates/v2/static/javascript/testsummary.js +1128 -0
  28. ccai/integrationruntime/templates/v2/static/javascript/webcomponent-helpers.js +112 -0
  29. ccai/integrationruntime/templates/v2/static/styles/branding-theme.css +144 -0
  30. ccai/integrationruntime/templates/v2/static/styles/icon-styles.css +9 -0
  31. ccai/integrationruntime/templates/v2/static/styles/mojo-components.css +384 -0
  32. ccai/integrationruntime/templates/v2/static/styles/prism.css +143 -0
  33. ccai/integrationruntime/templates/v2/static/styles/tabs-responsive.css +186 -0
  34. ccai/integrationruntime/templates/v2/static/styles/testsummary-accessibility.css +413 -0
  35. ccai/integrationruntime/templates/v2/static/styles/testsummary-comparison.css +746 -0
  36. ccai/integrationruntime/templates/v2/static/styles/testsummary-responsive.css +679 -0
  37. ccai/integrationruntime/templates/v2/static/styles/testsummary.css +1631 -0
  38. ccai/integrationruntime/templates/v2/tabs/tab-data.html +870 -0
  39. ccai/integrationruntime/templates/v2/tabs/tab-images.html +110 -0
  40. ccai/integrationruntime/templates/v2/tabs/tab-logs.html +594 -0
  41. ccai/integrationruntime/templates/v2/tabs/tab-sounds.html +112 -0
  42. ccai/integrationruntime/templates/v2/tabs/tab-timeseries.html +368 -0
  43. ccai/integrationruntime/templates/v2/tabs/tab-videos.html +372 -0
  44. ccai/integrationruntime/templates/v2/testsummary.html +81 -0
  45. codecraftai_integration_runtime-1.3.0.dist-info/METADATA +73 -0
  46. codecraftai_integration_runtime-1.3.0.dist-info/RECORD +48 -0
  47. codecraftai_integration_runtime-1.3.0.dist-info/WHEEL +4 -0
  48. codecraftai_integration_runtime-1.3.0.dist-info/licenses/LICENSE.md +204 -0
@@ -0,0 +1,143 @@
1
+ /* PrismJS 1.29.0
2
+ https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+python */
3
+ /**
4
+ * prism.js default theme for JavaScript, CSS and HTML
5
+ * Based on dabblet (http://dabblet.com)
6
+ * @author Lea Verou
7
+ */
8
+
9
+ code[class*="language-"],
10
+ pre[class*="language-"] {
11
+ color: black;
12
+ background: none;
13
+ text-shadow: 0 1px white;
14
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
15
+ font-size: 1em;
16
+ text-align: left;
17
+ white-space: pre;
18
+ word-spacing: normal;
19
+ word-break: normal;
20
+ word-wrap: normal;
21
+ line-height: 1.5;
22
+
23
+ -moz-tab-size: 4;
24
+ -o-tab-size: 4;
25
+ tab-size: 4;
26
+
27
+ -webkit-hyphens: none;
28
+ -moz-hyphens: none;
29
+ -ms-hyphens: none;
30
+ hyphens: none;
31
+ }
32
+
33
+ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
34
+ code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
35
+ text-shadow: none;
36
+ background: #b3d4fc;
37
+ }
38
+
39
+ pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
40
+ code[class*="language-"]::selection, code[class*="language-"] ::selection {
41
+ text-shadow: none;
42
+ background: #b3d4fc;
43
+ }
44
+
45
+ @media print {
46
+ code[class*="language-"],
47
+ pre[class*="language-"] {
48
+ text-shadow: none;
49
+ }
50
+ }
51
+
52
+ /* Code blocks */
53
+ pre[class*="language-"] {
54
+ padding: 1em;
55
+ margin: .5em 0;
56
+ overflow: auto;
57
+ }
58
+
59
+ :not(pre) > code[class*="language-"],
60
+ pre[class*="language-"] {
61
+ background: #f5f2f0;
62
+ }
63
+
64
+ /* Inline code */
65
+ :not(pre) > code[class*="language-"] {
66
+ padding: .1em;
67
+ border-radius: .3em;
68
+ white-space: normal;
69
+ }
70
+
71
+ .token.comment,
72
+ .token.prolog,
73
+ .token.doctype,
74
+ .token.cdata {
75
+ color: slategray;
76
+ }
77
+
78
+ .token.punctuation {
79
+ color: #999;
80
+ }
81
+
82
+ .token.namespace {
83
+ opacity: .7;
84
+ }
85
+
86
+ .token.property,
87
+ .token.tag,
88
+ .token.boolean,
89
+ .token.number,
90
+ .token.constant,
91
+ .token.symbol,
92
+ .token.deleted {
93
+ color: #905;
94
+ }
95
+
96
+ .token.selector,
97
+ .token.attr-name,
98
+ .token.string,
99
+ .token.char,
100
+ .token.builtin,
101
+ .token.inserted {
102
+ color: #690;
103
+ }
104
+
105
+ .token.operator,
106
+ .token.entity,
107
+ .token.url,
108
+ .language-css .token.string,
109
+ .style .token.string {
110
+ color: #9a6e3a;
111
+ /* This background color was intended by the author of this theme. */
112
+ background: hsla(0, 0%, 100%, .5);
113
+ }
114
+
115
+ .token.atrule,
116
+ .token.attr-value,
117
+ .token.keyword {
118
+ color: #07a;
119
+ }
120
+
121
+ .token.function,
122
+ .token.class-name {
123
+ color: #DD4A68;
124
+ }
125
+
126
+ .token.regex,
127
+ .token.important,
128
+ .token.variable {
129
+ color: #e90;
130
+ }
131
+
132
+ .token.important,
133
+ .token.bold {
134
+ font-weight: bold;
135
+ }
136
+ .token.italic {
137
+ font-style: italic;
138
+ }
139
+
140
+ .token.entity {
141
+ cursor: help;
142
+ }
143
+
@@ -0,0 +1,186 @@
1
+ /* =======================================================================
2
+ Author: "Myron Walker"
3
+ Copyright: "Copyright 2024, Myron W Walker"
4
+ Version: = "2.0.0"
5
+ Email: myron.walker@gmail.com
6
+
7
+ Responsive Design Styles for Tab Pages
8
+ Provides mobile-friendly layout for artifact tab pages.
9
+ =======================================================================*/
10
+
11
+ /* =======================================================================
12
+ BASE TAB PAGE STYLES
13
+ =======================================================================*/
14
+
15
+ .page-style {
16
+ margin: 0px;
17
+ padding: 10px;
18
+ box-sizing: border-box;
19
+ width: 100%;
20
+ min-width: 280px;
21
+ }
22
+
23
+ .flex-container {
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+ width: auto;
27
+ height: auto;
28
+ gap: 15px;
29
+ }
30
+
31
+ .item-container {
32
+ display: flex;
33
+ flex-direction: column;
34
+ max-width: 100%;
35
+ }
36
+
37
+ .item-label {
38
+ width: 100%;
39
+ height: 30px;
40
+ justify-content: center;
41
+ font-weight: bold;
42
+ word-break: break-word;
43
+ }
44
+
45
+ .item-content {
46
+ width: 100%;
47
+ height: auto;
48
+ max-width: 100%;
49
+ }
50
+
51
+ /* =======================================================================
52
+ IMAGE TAB RESPONSIVE
53
+ =======================================================================*/
54
+
55
+ .item-container img {
56
+ max-width: 100%;
57
+ height: auto;
58
+ object-fit: contain;
59
+ }
60
+
61
+ /* =======================================================================
62
+ AUDIO TAB RESPONSIVE
63
+ =======================================================================*/
64
+
65
+ .item-container audio {
66
+ width: 100%;
67
+ max-width: 400px;
68
+ min-width: 200px;
69
+ }
70
+
71
+ /* =======================================================================
72
+ VIDEO TAB RESPONSIVE
73
+ =======================================================================*/
74
+
75
+ .item-container video {
76
+ max-width: 100%;
77
+ height: auto;
78
+ }
79
+
80
+ /* =======================================================================
81
+ DATA/LOG TAB RESPONSIVE
82
+ =======================================================================*/
83
+
84
+ .data-viewer,
85
+ .log-viewer {
86
+ width: 100%;
87
+ overflow-x: auto;
88
+ -webkit-overflow-scrolling: touch;
89
+ }
90
+
91
+ .data-viewer pre,
92
+ .log-viewer pre {
93
+ white-space: pre-wrap;
94
+ word-wrap: break-word;
95
+ font-size: 12px;
96
+ }
97
+
98
+ /* =======================================================================
99
+ CHART TAB RESPONSIVE
100
+ =======================================================================*/
101
+
102
+ .chart-container {
103
+ width: 100%;
104
+ overflow-x: auto;
105
+ -webkit-overflow-scrolling: touch;
106
+ }
107
+
108
+ .chart-container svg {
109
+ max-width: 100%;
110
+ height: auto;
111
+ }
112
+
113
+ /* =======================================================================
114
+ RESPONSIVE BREAKPOINTS
115
+ =======================================================================*/
116
+
117
+ /* Tablets (768px and below) */
118
+ @media (max-width: 768px) {
119
+ .page-style {
120
+ padding: 8px;
121
+ }
122
+
123
+ .flex-container {
124
+ flex-direction: column;
125
+ gap: 10px;
126
+ }
127
+
128
+ .item-container {
129
+ width: 100%;
130
+ }
131
+
132
+ .item-label {
133
+ font-size: 14px;
134
+ }
135
+
136
+ .item-container audio {
137
+ max-width: 100%;
138
+ }
139
+ }
140
+
141
+ /* Mobile phones (480px and below) */
142
+ @media (max-width: 480px) {
143
+ .page-style {
144
+ padding: 5px;
145
+ }
146
+
147
+ .item-label {
148
+ font-size: 12px;
149
+ height: auto;
150
+ padding: 5px 0;
151
+ }
152
+
153
+ .data-viewer pre,
154
+ .log-viewer pre {
155
+ font-size: 10px;
156
+ }
157
+ }
158
+
159
+ /* =======================================================================
160
+ TOUCH-FRIENDLY INTERACTIONS
161
+ =======================================================================*/
162
+
163
+ /* Touch-friendly audio controls */
164
+ audio::-webkit-media-controls-panel {
165
+ min-height: 44px;
166
+ }
167
+
168
+ /* Touch-friendly video controls */
169
+ video::-webkit-media-controls-panel {
170
+ min-height: 44px;
171
+ }
172
+
173
+ /* =======================================================================
174
+ PRINT STYLES
175
+ =======================================================================*/
176
+
177
+ @media print {
178
+ .page-style {
179
+ padding: 0;
180
+ }
181
+
182
+ .item-container audio,
183
+ .item-container video {
184
+ display: none;
185
+ }
186
+ }