BioImager  4.9.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
Loading...
Searching...
No Matches
microscope.testsuite.test_device_server.TestStarting Class Reference
Inheritance diagram for microscope.testsuite.test_device_server.TestStarting:
microscope.testsuite.test_device_server.BaseTestServeDevices

Public Member Functions

 test_standard (self)
 
 test_immediate_interrupt (self)
 
- Public Member Functions inherited from microscope.testsuite.test_device_server.BaseTestServeDevices
 setUp (self)
 
 tearDown (self)
 

Static Public Attributes

list DEVICES
 
- Static Public Attributes inherited from microscope.testsuite.test_device_server.BaseTestServeDevices
list DEVICES = []
 
int TIMEOUT = 5
 

Additional Inherited Members

- Public Attributes inherited from microscope.testsuite.test_device_server.BaseTestServeDevices
 p
 

Detailed Description

Definition at line 157 of file test_device_server.py.

Member Function Documentation

◆ test_immediate_interrupt()

microscope.testsuite.test_device_server.TestStarting.test_immediate_interrupt ( self)
Check issues on SIGTERM before starting all devices

Definition at line 171 of file test_device_server.py.

171 def test_immediate_interrupt(self):
172 """Check issues on SIGTERM before starting all devices"""
173 pass
174
175

◆ test_standard()

microscope.testsuite.test_device_server.TestStarting.test_standard ( self)
Simplest case, start and exit, given enough time to start all devices

Definition at line 167 of file test_device_server.py.

167 def test_standard(self):
168 """Simplest case, start and exit, given enough time to start all devices"""
169 self.assertTrue(self.p.is_alive(), "service dies at start")
170

Member Data Documentation

◆ DEVICES

list microscope.testsuite.test_device_server.TestStarting.DEVICES
static
Initial value:
= [
TestCamera, "127.0.0.1", 8001, {"buffer_length": 0}
),
TestFilterWheel, "127.0.0.1", 8003, {"positions": 3}
),
]
device(typing.Callable cls, str host, int port, typing.Mapping[str, typing.Any] conf={}, typing.Optional[str] uid=None)

Definition at line 158 of file test_device_server.py.


The documentation for this class was generated from the following file: