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

ByteOps-swe / MVP / 8452709948

27 Mar 2024 01:35PM UTC coverage: 69.685% (-13.9%) from 83.559%
8452709948

push

github

Barutta02
modifica schema

1 of 16 new or added lines in 6 files covered. (6.25%)

350 existing lines in 27 files now uncovered.

1547 of 2220 relevant lines covered (69.68%)

0.7 hits per line

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

61.11
/PythonSensorsSimulator/Model/simulator_thread_pool.py
1
from typing import List
1✔
2
from .component_simulator_thread import component_simulator_thread
1✔
3
from .ThreadPoolAdapter.thread_pool_target import thread_pool_target
1✔
4
#utilizzo di una THREADPOOL ADAPTER
5
#Pattern adapter
6

7
class simulator_thread_pool:
1✔
8

9
    def __init__(self, thread_pool_adapter: thread_pool_target):
1✔
UNCOV
10
        self.__simulators: List[component_simulator_thread] = []
×
UNCOV
11
        self.__thread_pool_adapter = thread_pool_adapter
×
12

13
    def run_all(self):
1✔
UNCOV
14
        self.__thread_pool_adapter.map(simulator_thread_pool.__start_simulator, self.__simulators)
×
15

16
    def stop_all(self):
1✔
UNCOV
17
        self.__thread_pool_adapter.map(simulator_thread_pool.__stop_simulator, self.__simulators)
×
18

19
    def append_simulator(self, simulator: component_simulator_thread):
1✔
UNCOV
20
        self.__simulators.append(simulator)
×
21

22
    @staticmethod
1✔
23
    def __start_simulator(simulator: component_simulator_thread):
1✔
UNCOV
24
        simulator.task()
×
25

26
    def __stop_simulator(self, simulator: component_simulator_thread):
1✔
27
        simulator.stop()
×
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

© 2026 Coveralls, Inc