diff options
Diffstat (limited to 'comm/mailnews/jsaccount/test/idl')
-rw-r--r-- | comm/mailnews/jsaccount/test/idl/moz.build | 15 | ||||
-rw-r--r-- | comm/mailnews/jsaccount/test/idl/msgIFooUrl.idl | 17 |
2 files changed, 32 insertions, 0 deletions
diff --git a/comm/mailnews/jsaccount/test/idl/moz.build b/comm/mailnews/jsaccount/test/idl/moz.build new file mode 100644 index 0000000000..9975e6125b --- /dev/null +++ b/comm/mailnews/jsaccount/test/idl/moz.build @@ -0,0 +1,15 @@ +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# Any copyright is dedicated to the Public Domain. +# http://creativecommons.org/publicdomain/zero/1.0/ + +XPIDL_SOURCES += [ + "msgIFooUrl.idl", +] + +XPIDL_MODULE = "testJsAccount" + +if "comm" in CONFIG["MOZ_BUILD_APP"]: + test_harness_base = TEST_HARNESS_FILES.xpcshell.comm +else: + test_harness_base = TEST_HARNESS_FILES.xpcshell diff --git a/comm/mailnews/jsaccount/test/idl/msgIFooUrl.idl b/comm/mailnews/jsaccount/test/idl/msgIFooUrl.idl new file mode 100644 index 0000000000..9652a27cc5 --- /dev/null +++ b/comm/mailnews/jsaccount/test/idl/msgIFooUrl.idl @@ -0,0 +1,17 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim:set ts=2 sw=2 sts=2 et cindent: */ +/* Any copyright is dedicated to the Public Domain. + * http://creativecommons.org/publicdomain/zero/1.0/ */ + +// This is a sample test interface implemented by the URL object. + +#include "nsISupports.idl" + +[scriptable, uuid(12CAD9FC-57FC-4AEE-A800-895A289237DD)] +interface msgIFooUrl : nsISupports +{ + /// Foo id for item. + attribute AString itemId; + /// Does this url refer to an attachment? + readonly attribute boolean isAttachment; +}; |