def testStructs(self): v = DiscRecordingUI.DREraseSessionSetupDialogOptions() self.assertEqual(v.version, 0) self.assertEqual(v.dialogOptionFlags, 0) v = DiscRecordingUI.DREraseSessionProgressDialogOptions() self.assertEqual(v.version, 0) self.assertEqual(v.dialogOptionFlags, 0) self.assertEqual(v.description, None)
def testStructs(self): v = DiscRecordingUI.DRBurnSessionSetupDialogOptions() self.assertEqual(v.version, 0) self.assertEqual(v.dialogOptionFlags, 0) self.assertEqual(v.defaultButtonTitle, None) v = DiscRecordingUI.DRBurnSessionProgressDialogOptions() self.assertEqual(v.version, 0) self.assertEqual(v.dialogOptionFlags, 0) self.assertEqual(v.description, None)
def testFunctions(self): self.assertIsInstance(DiscRecordingUI.DREraseSessionGetTypeID(), (int, long)) self.assertResultIsCFRetained(DiscRecordingUI.DREraseSessionCreate) DiscRecordingUI.DREraseSessionSetErase DiscRecordingUI.DREraseSessionGetErase self.assertArgIsIn(DiscRecordingUI.DREraseSessionSetupDialog, 1) self.assertArgIsIn(DiscRecordingUI.DREraseSessionSetupDialog, 2) self.assertArgIsIn(DiscRecordingUI.DREraseSessionBeginProgressDialog, 1) self.assertArgIsIn(DiscRecordingUI.DREraseSessionBeginProgressDialog, 2)
def testFunctions(self): self.assertIsInstance(DiscRecordingUI.DRBurnSessionGetTypeID(), int) self.assertResultIsCFRetained(DiscRecordingUI.DRBurnSessionCreate) DiscRecordingUI.DRBurnSessionSetBurn DiscRecordingUI.DRBurnSessionGetBurn # XXX: Manual bindings self.assertArgIsIn(DiscRecordingUI.DRBurnSessionSetupDialog, 1) self.assertArgIsIn(DiscRecordingUI.DRBurnSessionSetupDialog, 2) # XXX: Manual bindings self.assertArgIsIn(DiscRecordingUI.DRBurnSessionBeginProgressDialog, 2) self.assertArgIsIn(DiscRecordingUI.DRBurnSessionBeginProgressDialog, 3)