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

ByteOps-swe / MVP / 8490927449

30 Mar 2024 12:57PM UTC coverage: 42.353% (-51.8%) from 94.161%
8490927449

push

github

web-flow
Merge pull request #39 from ByteOps-swe/Barutta02-patch-2

Tolto test

27 of 126 branches covered (21.43%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

1143 existing lines in 77 files now uncovered.

981 of 2254 relevant lines covered (43.52%)

0.44 hits per line

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

59.09
/PythonSensorsSimulator/Model/simulator_executor_factory.py
1
from .Simulators import simulator
1✔
2
from .simulator_thread_pool import simulator_thread_pool
1✔
3
from .simulator_thread import simulator_thread
1✔
4
from .ThreadPoolAdapter.thread_pool_executor_adapter import thread_pool_executor_adapter
1✔
5
from .component_simulator_thread import component_simulator_thread
1✔
6
from .Writers.writer import writer
1✔
7

8
class simulator_executor_factory(component_simulator_thread):
1✔
9
    def __init__(self):
1✔
UNCOV
10
        super().__init__()
×
UNCOV
11
        self.__simulator_executor = simulator_thread_pool(thread_pool_executor_adapter(20))
×
12

13
    def add_simulator(self, simulator: simulator, writers: writer, frequency:float = 10, data_to_generate:int = -1) -> "simulator_executor_factory":
1✔
UNCOV
14
        self.__simulator_executor.append_simulator(simulator_thread(simulator ,writers,frequency, data_to_generate))
×
UNCOV
15
        return self
×
16

17
    def add_simulator_thread(self, thread_simulator : component_simulator_thread) -> "simulator_executor_factory":
1✔
18
        self.__simulator_executor.append_simulator(thread_simulator)
×
19
        return self
×
20

21
    def run(self):
1✔
UNCOV
22
        self.__simulator_executor.run_all()
×
23

24
    def stop(self):
1✔
UNCOV
25
        self.__simulator_executor.stop_all()
×
26

27
    def task(self):
1✔
28
        self.__simulator_executor.run_all()
×
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