Bug 767894 - Device Storage - move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
authorDoug Turner <dougt@dougt.org>
Tue, 26 Jun 2012 05:51:24 -0700
changeset 97689 cad3e0609835dc8ec093b8a5ebf4f97d0a705d72
parent 97662 551e7fe3f2ac295a73c4ad77b6746868555126c4
child 97690 c707e4f15fd41182e2aea567e4fa96fe6a3f0ce6
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbent
bugs767894
milestone16.0a1
Bug 767894 - Device Storage - move test from dom/tests/mochitest/devicestorage to dom/devicestorage. rs=bent
dom/devicestorage/Makefile.in
dom/devicestorage/test/Makefile.in
dom/devicestorage/test/devicestorage_common.js
dom/devicestorage/test/test_basic.html
dom/devicestorage/test/test_dotdot.html
dom/devicestorage/test/test_enumerate.html
dom/devicestorage/test/test_enumerateMultipleContinue.html
dom/devicestorage/test/test_enumerateNoParam.html
dom/devicestorage/test/test_enumerateOptions.html
dom/devicestorage/test/test_lastModificationFilter.html
dom/devicestorage/test/test_overwrite.html
dom/devicestorage/test/test_sanity.html
dom/tests/mochitest/Makefile.in
dom/tests/mochitest/devicestorage/Makefile.in
dom/tests/mochitest/devicestorage/devicestorage_common.js
dom/tests/mochitest/devicestorage/test_basic.html
dom/tests/mochitest/devicestorage/test_dotdot.html
dom/tests/mochitest/devicestorage/test_enumerate.html
dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html
dom/tests/mochitest/devicestorage/test_enumerateNoParam.html
dom/tests/mochitest/devicestorage/test_enumerateOptions.html
dom/tests/mochitest/devicestorage/test_lastModificationFilter.html
dom/tests/mochitest/devicestorage/test_overwrite.html
dom/tests/mochitest/devicestorage/test_sanity.html
--- a/dom/devicestorage/Makefile.in
+++ b/dom/devicestorage/Makefile.in
@@ -27,14 +27,16 @@ EXPORTS         = \
 
 LOCAL_INCLUDES = \
 		-I$(topsrcdir)/dom/base \
 		-I$(topsrcdir)/dom/ipc \
 		-I$(topsrcdir)/content/base/src \
 		-I$(topsrcdir)/content/events/src \
 		$(NULL)
 
+TEST_DIRS += test
+
 include $(topsrcdir)/config/config.mk
 include $(topsrcdir)/ipc/chromium/chromium-config.mk
 include $(topsrcdir)/config/rules.mk
 
 DEFINES += -D_IMPL_NS_LAYOUT
 
rename from dom/tests/mochitest/devicestorage/Makefile.in
rename to dom/devicestorage/test/Makefile.in
--- a/dom/tests/mochitest/devicestorage/Makefile.in
+++ b/dom/devicestorage/test/Makefile.in
@@ -1,17 +1,17 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
 # You can obtain one at http://mozilla.org/MPL/2.0/.
 
-DEPTH		= ../../../..
+DEPTH		= ../../..
 topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
-relativesrcdir	= dom/tests/mochitest/devicestorage
+relativesrcdir	= dom/devicestorage/test/
 
 include $(DEPTH)/config/autoconf.mk
 
 include $(topsrcdir)/config/rules.mk
 
 _TEST_FILES	= \
 		test_sanity.html \
 		test_basic.html \
rename from dom/tests/mochitest/devicestorage/devicestorage_common.js
rename to dom/devicestorage/test/devicestorage_common.js
rename from dom/tests/mochitest/devicestorage/test_basic.html
rename to dom/devicestorage/test/test_basic.html
rename from dom/tests/mochitest/devicestorage/test_dotdot.html
rename to dom/devicestorage/test/test_dotdot.html
rename from dom/tests/mochitest/devicestorage/test_enumerate.html
rename to dom/devicestorage/test/test_enumerate.html
rename from dom/tests/mochitest/devicestorage/test_enumerateMultipleContinue.html
rename to dom/devicestorage/test/test_enumerateMultipleContinue.html
rename from dom/tests/mochitest/devicestorage/test_enumerateNoParam.html
rename to dom/devicestorage/test/test_enumerateNoParam.html
rename from dom/tests/mochitest/devicestorage/test_enumerateOptions.html
rename to dom/devicestorage/test/test_enumerateOptions.html
rename from dom/tests/mochitest/devicestorage/test_lastModificationFilter.html
rename to dom/devicestorage/test/test_lastModificationFilter.html
rename from dom/tests/mochitest/devicestorage/test_overwrite.html
rename to dom/devicestorage/test/test_overwrite.html
rename from dom/tests/mochitest/devicestorage/test_sanity.html
rename to dom/devicestorage/test/test_sanity.html
--- a/dom/tests/mochitest/Makefile.in
+++ b/dom/tests/mochitest/Makefile.in
@@ -13,17 +13,16 @@ include $(DEPTH)/config/autoconf.mk
 DIRS	+= \
 	dom-level0 \
 	dom-level1-core \
 	dom-level2-core \
 	dom-level2-html \
 	ajax \
 	bugs \
 	chrome \
-	devicestorage \
 	general \
 	whatwg \
 	geolocation \
 	localstorage \
 	orientation \
 	sessionstorage \
 	storageevent \
 	pointerlock \