From 59a80bbeac77b4e8221b2838ca55a7e65bf00630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez?= Date: Thu, 5 Apr 2012 14:16:56 -0700 Subject: [PATCH] Bug 733265 - B2G SMS DB tests. r=philikon --- dom/sms/tests/Makefile.in | 10 +- dom/sms/tests/test_smsdatabaseservice.xul | 811 ++++++++++++++++++++++ 2 files changed, 819 insertions(+), 2 deletions(-) create mode 100644 dom/sms/tests/test_smsdatabaseservice.xul diff --git a/dom/sms/tests/Makefile.in b/dom/sms/tests/Makefile.in index 9b4913635db..720604f0f16 100644 --- a/dom/sms/tests/Makefile.in +++ b/dom/sms/tests/Makefile.in @@ -56,8 +56,14 @@ _TEST_FILES = \ _CHROME_TEST_FILES = \ $(NULL) +ifdef MOZ_B2G_RIL +_CHROME_TEST_FILES += \ + test_smsdatabaseservice.xul \ + $(NULL) +endif + libs:: $(_TEST_FILES) $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir) -#libs:: $(_CHROME_TEST_FILES) -# $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir) +libs:: $(_CHROME_TEST_FILES) + $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir) diff --git a/dom/sms/tests/test_smsdatabaseservice.xul b/dom/sms/tests/test_smsdatabaseservice.xul new file mode 100644 index 00000000000..92663303ad4 --- /dev/null +++ b/dom/sms/tests/test_smsdatabaseservice.xul @@ -0,0 +1,811 @@ + + + + + + Test SmsDatabaseService + + +

+ +

+  
+