gecko-dev/dom/voicemail/test/marionette/test_voicemail_statuschanged.py
Vicamo Yang f749d57c57 Bug 833278 - Part 1/2: move voicemail sources to dom/voicemail. r=mounir
--HG--
rename : dom/telephony/Makefile.in => dom/voicemail/Makefile.in
rename : dom/telephony/Voicemail.cpp => dom/voicemail/Voicemail.cpp
rename : dom/telephony/Voicemail.h => dom/voicemail/Voicemail.h
rename : dom/telephony/VoicemailEvent.cpp => dom/voicemail/VoicemailEvent.cpp
rename : dom/telephony/VoicemailEvent.h => dom/voicemail/VoicemailEvent.h
rename : dom/telephony/nsIDOMVoicemail.idl => dom/voicemail/nsIDOMMozVoicemail.idl
rename : dom/telephony/nsIDOMVoicemailEvent.idl => dom/voicemail/nsIDOMMozVoicemailEvent.idl
rename : dom/telephony/nsIDOMVoicemailStatus.idl => dom/voicemail/nsIDOMMozVoicemailStatus.idl
rename : dom/telephony/nsIDOMNavigatorTelephony.idl => dom/voicemail/nsINavigatorVoicemail.idl
rename : dom/telephony/test/marionette/pdu_builder.js => dom/voicemail/test/marionette/pdu_builder.js
rename : dom/telephony/test/marionette/test_voicemail_number.js => dom/voicemail/test/marionette/test_voicemail_number.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.js => dom/voicemail/test/marionette/test_voicemail_statuschanged.js
rename : dom/telephony/test/marionette/test_voicemail_statuschanged.py => dom/voicemail/test/marionette/test_voicemail_statuschanged.py
2013-02-05 17:02:15 +08:00

15 lines
555 B
Python

from marionette_test import MarionetteTestCase
import os
class TestVoicemailStatusChanged(MarionetteTestCase):
def testStatusChanged(self):
this_dir = os.path.abspath(os.path.dirname(__file__))
pdu_builder_path = os.path.join(this_dir, "pdu_builder.js")
self.marionette.import_script(pdu_builder_path)
test_path = os.path.join(this_dir, "test_voicemail_statuschanged.js")
test = open(test_path, "r").read()
self.marionette.set_script_timeout(30000)
self.marionette.execute_async_script(test)