Bug 684327 - Move the C++ implementation of the test component into its own subdirectory. r=khuey

--HG--
rename : js/src/xpconnect/tests/components/Makefile.in => js/src/xpconnect/tests/components/native/Makefile.in
rename : js/src/xpconnect/tests/components/xpctest.manifest => js/src/xpconnect/tests/components/native/xpctest.manifest
rename : js/src/xpconnect/tests/components/xpctest_attributes.cpp => js/src/xpconnect/tests/components/native/xpctest_attributes.cpp
rename : js/src/xpconnect/tests/components/xpctest_module.cpp => js/src/xpconnect/tests/components/native/xpctest_module.cpp
rename : js/src/xpconnect/tests/components/xpctest_private.h => js/src/xpconnect/tests/components/native/xpctest_private.h
This commit is contained in:
Bobby Holley 2011-09-23 14:50:27 -07:00
parent 91964a9e10
commit 6f02e9f167
6 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ relativesrcdir = js/src/xpconnect/tests
include $(DEPTH)/config/autoconf.mk
DIRS = idl mochitest chrome components
DIRS = idl mochitest chrome components/native
XPCSHELL_TESTS = unit

View File

@ -37,7 +37,7 @@
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../../..
DEPTH = ../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
@ -71,7 +71,7 @@ include $(topsrcdir)/config/rules.mk
DEFINES += -DLIBRARY_FILENAME="$(SHARED_LIBRARY)"
componentdir = js/src/xpconnect/tests/components
componentdir = js/src/xpconnect/tests/components/native
libs:: $(SHARED_LIBRARY)
$(INSTALL) $^ $(testxpcobjdir)/$(componentdir)

View File

@ -67,8 +67,8 @@ static const mozilla::Module::CIDEntry kXPCTestCIDs[] = {
};
static const mozilla::Module::ContractIDEntry kXPCTestContracts[] = {
{ "@mozilla.org/js/xpc/test/ObjectReadOnly;1", &kNS_XPCTESTOBJECTREADONLY_CID },
{ "@mozilla.org/js/xpc/test/ObjectReadWrite;1", &kNS_XPCTESTOBJECTREADWRITE_CID },
{ "@mozilla.org/js/xpc/test/native/ObjectReadOnly;1", &kNS_XPCTESTOBJECTREADONLY_CID },
{ "@mozilla.org/js/xpc/test/native/ObjectReadWrite;1", &kNS_XPCTESTOBJECTREADWRITE_CID },
{ NULL }
};