Back to index

unity  6.0.0
Classes | Functions | Variables
unity.tests.test_panel Namespace Reference

Classes

class  PanelTestsBase
class  PanelTitleTests
class  PanelWindowButtonsTests
class  PanelHoverTests
class  PanelMenuTests
class  PanelIndicatorEntryTests
class  PanelKeyNavigationTests
class  PanelGrabAreaTests
class  PanelCrossMonitorsTests

Functions

def _make_monitor_scenarios

Variables

tuple logger = logging.getLogger(__name__)

Function Documentation

Definition at line 26 of file test_panel.py.

00026 
00027 def _make_monitor_scenarios():
00028     num_monitors = ScreenGeometry().get_num_monitors()
00029     scenarios = []
00030 
00031     if num_monitors == 1:
00032         scenarios = [('Single Monitor', {'panel_monitor': 0})]
00033     else:
00034         for i in range(num_monitors):
00035             scenarios += [('Monitor %d' % (i), {'panel_monitor': i})]
00036 
00037     return scenarios
00038 


Variable Documentation

tuple unity.tests.test_panel.logger = logging.getLogger(__name__)

Definition at line 23 of file test_panel.py.