• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ARMmbed / mbed-os-tools / #457

24 Aug 2024 09:15PM UTC coverage: 0.0% (-59.9%) from 59.947%
#457

push

coveralls-python

web-flow
Merge 7c6dbce13 into c467d6f14

0 of 4902 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/mbed_os_tools/test/host_tests/dev_null_auto.py
1
# Copyright (c) 2018, Arm Limited and affiliates.
2
# SPDX-License-Identifier: Apache-2.0
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
7
#
8
#     http://www.apache.org/licenses/LICENSE-2.0
9
#
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15

16
from .. import BaseHostTest
×
17

18
class DevNullTest(BaseHostTest):
×
19

20
    __result = None
×
21

22
    def _callback_result(self, key, value, timestamp):
×
23
        # We should not see result data in this test
24
        self.__result = False
×
25

26
    def _callback_to_stdout(self, key, value, timestamp):
×
27
        self.__result = True
×
28
        self.log("_callback_to_stdout !")
×
29

30
    def setup(self):
×
31
        self.register_callback("end", self._callback_result)
×
32
        self.register_callback("to_null", self._callback_result)
×
33
        self.register_callback("to_stdout", self._callback_to_stdout)
×
34

35
    def result(self):
×
36
        return self.__result
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc