![]() |
BioImager
3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
|
Public Member Functions | |
| def | test_on_and_off (self) |
| def | test_enable_and_disable (self) |
| def | test_enable_enabled (self) |
| def | test_disable_disabled (self) |
Tests cases for all devices. This collection of tests cover the very basic behaviour of devices,stuff like initialising and enabling the device. Classes of tests specific to each device type should subclass from it. Subclasses must define a `device` property during `setUp`, an instance of :class:`Device`.
Definition at line 96 of file test_devices.py.
| def microscope.testsuite.test_devices.DeviceTests.test_disable_disabled | ( | self | ) |
Handles disabling of an already disabled device. Test disabling twice, both before and after enabling it for the first time.
Definition at line 134 of file test_devices.py.
References microscope.testsuite.test_devices.TestDummyLightSource.device, microscope.testsuite.test_devices.TestCoherentSapphireLaser.device, microscope.testsuite.test_devices.TestCoboltLaser.device, microscope.testsuite.test_devices.TestOmicronDeepstarLaser.device, microscope.testsuite.test_devices.TestDummyCamera.device, microscope.testsuite.test_devices.TestDummyController.device, microscope.testsuite.test_devices.TestOnePositionFilterWheel.device, microscope.testsuite.test_devices.TestSixPositionFilterWheel.device, microscope.testsuite.test_devices.TestDummyDeformableMirror.device, microscope.testsuite.test_devices.TestDummySLM.device, and microscope.testsuite.test_devices.TestDummyDSP.device.
| def microscope.testsuite.test_devices.DeviceTests.test_enable_and_disable | ( | self | ) |
Definition at line 113 of file test_devices.py.
| def microscope.testsuite.test_devices.DeviceTests.test_enable_enabled | ( | self | ) |
Handles enabling of an already enabled device
Definition at line 126 of file test_devices.py.
References microscope.testsuite.test_devices.TestDummyLightSource.device, microscope.testsuite.test_devices.TestCoherentSapphireLaser.device, microscope.testsuite.test_devices.TestCoboltLaser.device, microscope.testsuite.test_devices.TestOmicronDeepstarLaser.device, microscope.testsuite.test_devices.TestDummyCamera.device, microscope.testsuite.test_devices.TestDummyController.device, microscope.testsuite.test_devices.TestOnePositionFilterWheel.device, microscope.testsuite.test_devices.TestSixPositionFilterWheel.device, microscope.testsuite.test_devices.TestDummyDeformableMirror.device, microscope.testsuite.test_devices.TestDummySLM.device, and microscope.testsuite.test_devices.TestDummyDSP.device.
| def microscope.testsuite.test_devices.DeviceTests.test_on_and_off | ( | self | ) |
Device can be turned on and off
Definition at line 108 of file test_devices.py.
References microscope.testsuite.test_devices.TestDummyLightSource.device, microscope.testsuite.test_devices.TestCoherentSapphireLaser.device, microscope.testsuite.test_devices.TestCoboltLaser.device, microscope.testsuite.test_devices.TestOmicronDeepstarLaser.device, microscope.testsuite.test_devices.TestDummyCamera.device, microscope.testsuite.test_devices.TestDummyController.device, microscope.testsuite.test_devices.TestOnePositionFilterWheel.device, microscope.testsuite.test_devices.TestSixPositionFilterWheel.device, microscope.testsuite.test_devices.TestDummyDeformableMirror.device, microscope.testsuite.test_devices.TestDummySLM.device, and microscope.testsuite.test_devices.TestDummyDSP.device.