import DiscRecordingUI
from PyObjCTools.TestSupport import TestCase, expectedFailure


class TestDRSetupPanelHelper(DiscRecordingUI.NSObject):
    def setupPanel_deviceCouldBeTarget_(self, a, b):
        return 1

    def setupPanelShouldHandleMediaReservations_(self, a):
        return 1

    def setupPanel_deviceContainsSuitableMedia_promptString_(self, a, b, c):
        return 1


class TestDRSetupPanel(TestCase):
    @expectedFailure
    def testConstants(self):
        # Documented, but not actually available...
        self.assertIsInstance(
            DiscRecordingUI.DRSetupPanelDeviceSelectionChangedNotification, str
        )
        self.assertIsInstance(DiscRecordingUI.DRSetupPanelSelectedDeviceKey, str)

    def testMethods(self):
        self.assertResultIsBOOL(TestDRSetupPanelHelper.setupPanel_deviceCouldBeTarget_)
        self.assertResultIsBOOL(
            TestDRSetupPanelHelper.setupPanelShouldHandleMediaReservations_
        )
        self.assertResultIsBOOL(
            TestDRSetupPanelHelper.setupPanel_deviceContainsSuitableMedia_promptString_
        )

6cf0f49655a008523212620b36a1af1a85e8701d
<mask token>


class TestDRSetupPanelHelper(DiscRecordingUI.NSObject):
    <mask token>
    <mask token>
    <mask token>


class TestDRSetupPanel(TestCase):

    @expectedFailure
    def testConstants(self):
        self.assertIsInstance(DiscRecordingUI.
            DRSetupPanelDeviceSelectionChangedNotification, str)
        self.assertIsInstance(DiscRecordingUI.DRSetupPanelSelectedDeviceKey,
            str)

    def testMethods(self):
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceCouldBeTarget_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanelShouldHandleMediaReservations_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceContainsSuitableMedia_promptString_)

<mask token>


class TestDRSetupPanelHelper(DiscRecordingUI.NSObject):
    <mask token>

    def setupPanelShouldHandleMediaReservations_(self, a):
        return 1
    <mask token>


class TestDRSetupPanel(TestCase):

    @expectedFailure
    def testConstants(self):
        self.assertIsInstance(DiscRecordingUI.
            DRSetupPanelDeviceSelectionChangedNotification, str)
        self.assertIsInstance(DiscRecordingUI.DRSetupPanelSelectedDeviceKey,
            str)

    def testMethods(self):
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceCouldBeTarget_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanelShouldHandleMediaReservations_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceContainsSuitableMedia_promptString_)

<mask token>


class TestDRSetupPanelHelper(DiscRecordingUI.NSObject):

    def setupPanel_deviceCouldBeTarget_(self, a, b):
        return 1

    def setupPanelShouldHandleMediaReservations_(self, a):
        return 1

    def setupPanel_deviceContainsSuitableMedia_promptString_(self, a, b, c):
        return 1


class TestDRSetupPanel(TestCase):

    @expectedFailure
    def testConstants(self):
        self.assertIsInstance(DiscRecordingUI.
            DRSetupPanelDeviceSelectionChangedNotification, str)
        self.assertIsInstance(DiscRecordingUI.DRSetupPanelSelectedDeviceKey,
            str)

    def testMethods(self):
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceCouldBeTarget_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanelShouldHandleMediaReservations_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceContainsSuitableMedia_promptString_)

import DiscRecordingUI
from PyObjCTools.TestSupport import TestCase, expectedFailure


class TestDRSetupPanelHelper(DiscRecordingUI.NSObject):

    def setupPanel_deviceCouldBeTarget_(self, a, b):
        return 1

    def setupPanelShouldHandleMediaReservations_(self, a):
        return 1

    def setupPanel_deviceContainsSuitableMedia_promptString_(self, a, b, c):
        return 1


class TestDRSetupPanel(TestCase):

    @expectedFailure
    def testConstants(self):
        self.assertIsInstance(DiscRecordingUI.
            DRSetupPanelDeviceSelectionChangedNotification, str)
        self.assertIsInstance(DiscRecordingUI.DRSetupPanelSelectedDeviceKey,
            str)

    def testMethods(self):
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceCouldBeTarget_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanelShouldHandleMediaReservations_)
        self.assertResultIsBOOL(TestDRSetupPanelHelper.
            setupPanel_deviceContainsSuitableMedia_promptString_)

import DiscRecordingUI
from PyObjCTools.TestSupport import TestCase, expectedFailure


class TestDRSetupPanelHelper(DiscRecordingUI.NSObject):
    def setupPanel_deviceCouldBeTarget_(self, a, b):
        return 1

    def setupPanelShouldHandleMediaReservations_(self, a):
        return 1

    def setupPanel_deviceContainsSuitableMedia_promptString_(self, a, b, c):
        return 1


class TestDRSetupPanel(TestCase):
    @expectedFailure
    def testConstants(self):
        # Documented, but not actually available...
        self.assertIsInstance(
            DiscRecordingUI.DRSetupPanelDeviceSelectionChangedNotification, str
        )
        self.assertIsInstance(DiscRecordingUI.DRSetupPanelSelectedDeviceKey, str)

    def testMethods(self):
        self.assertResultIsBOOL(TestDRSetupPanelHelper.setupPanel_deviceCouldBeTarget_)
        self.assertResultIsBOOL(
            TestDRSetupPanelHelper.setupPanelShouldHandleMediaReservations_
        )
        self.assertResultIsBOOL(
            TestDRSetupPanelHelper.setupPanel_deviceContainsSuitableMedia_promptString_
        )
