1
1
"""Platform related code."""
4
setup_action_queue_test = None
7
_GeneralINotifyProcessor = None
10
4
if sys.platform.startswith('linux'):
11
from tests.platform import linux as linux_test
12
setup_action_queue_test = linux_test.setup_action_queue_test
13
setup_main_test = linux_test.setup_main_test
14
get_main_params = linux_test.get_main_params
15
from ubuntuone.platform.linux import filesystem_notifications
16
_GeneralINotifyProcessor = filesystem_notifications._GeneralINotifyProcessor
17
from tests.platform.linux.test_dbus import DBusTwistedTestCase
18
IPCTestCase = DBusTwistedTestCase
5
from tests.platform.linux import test_dbus
20
from tests.platform import windows as windows_test
21
setup_action_queue_test = windows_test.setup_action_queue_test
22
setup_main_test = windows_test.setup_main_test
23
get_main_params = windows_test.get_main_params
24
from ubuntuone.platform.windows import filesystem_notifications
25
_GeneralINotifyProcessor = filesystem_notifications.NotifyProcessor
26
from tests.platform.windows.test_ipc import PerspectiveBrokerTestCase
27
IPCTestCase = PerspectiveBrokerTestCase
8
from tests.platform.windows import test_ipc
11
IPCTestCase = ipc_source.IPCTestCase
12
StatusTestCase = ipc_source.StatusTestCase
13
EventsTestCase = ipc_source.EventsTestCase
14
SyncDaemonTestCase = ipc_source.SyncDaemonTestCase
15
FileSystemTestCase = ipc_source.FileSystemTestCase
16
SharesTestCase = ipc_source.SharesTestCase
17
ConfigTestCase = ipc_source.ConfigTestCase
18
FoldersTestCase = ipc_source.FoldersTestCase
19
PublicFilesTestCase = ipc_source.PublicFilesTestCase