def __init__(self): super(SingleTestRunnerWebService, self).__init__() # With this lock we should control access to certain resources inside this class self.resource_lock = thread.allocate_lock() self.RestRequest = construct_enum(REST_MUTS='muts', REST_TEST_SPEC='test_spec', REST_TEST_RESULTS='test_results')
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Author: Przemyslaw Wirkus <*****@*****.**> """ from tools.utils import construct_enum, mkdir from prettytable import PrettyTable import os ResultExporterType = construct_enum( HTML='Html_Exporter', JUNIT='JUnit_Exporter', JUNIT_OPER='JUnit_Exporter_Interoperability', BUILD='Build_Exporter', TEXT='Text_Exporter', PRINT='Print_Exporter') class ReportExporter(): """ Class exports extended test result Python data structure to different formats like HTML, JUnit XML. Parameter 'test_result_ext' format: u'uARM': { u'LPC1768': { 'MBED_2': { 0: { 'copy_method': 'shutils.copy()', 'duration': 20, 'elapsed_time': 1.7929999828338623, 'output': 'Host test instrumentation on ...\r\n',
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Author: Przemyslaw Wirkus <*****@*****.**> """ from tools.utils import construct_enum, mkdir import os ResultExporterType = construct_enum( HTML="Html_Exporter", JUNIT="JUnit_Exporter", JUNIT_OPER="JUnit_Exporter_Interoperability", BUILD="Build_Exporter", PRINT="Print_Exporter", ) class ReportExporter: """ Class exports extended test result Python data structure to different formats like HTML, JUnit XML. Parameter 'test_result_ext' format: u'uARM': { u'LPC1768': { 'MBED_2': { 0: { 'copy_method': 'shutils.copy()', 'duration': 20, 'elapsed_time': 1.7929999828338623, 'output': 'Host test instrumentation on ...\r\n',
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Author: Przemyslaw Wirkus <*****@*****.**> """ from tools.utils import construct_enum, mkdir import os ResultExporterType = construct_enum(HTML='Html_Exporter', JUNIT='JUnit_Exporter', JUNIT_OPER='JUnit_Exporter_Interoperability', BUILD='Build_Exporter', PRINT='Print_Exporter') class ReportExporter(): """ Class exports extended test result Python data structure to different formats like HTML, JUnit XML. Parameter 'test_result_ext' format: u'uARM': { u'LPC1768': { 'MBED_2': { 0: { 'copy_method': 'shutils.copy()', 'duration': 20, 'elapsed_time': 1.7929999828338623, 'output': 'Host test instrumentation on ...\r\n', 'result': 'OK',