зеркало из https://github.com/mozilla/gecko-dev.git
Bug 883696 (part 3) - Include full paths in #include statements in js/src/jsapi-tests/. r=luke.
This commit is contained in:
Родитель
e8d906830e
Коммит
9fed70182c
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(selfTest_NaNsAreSame)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
/* Do the test a bunch of times, because sometimes we seem to randomly
|
||||
miss the propcache */
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "vm/Stack-inl.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* vim: set ts=8 sts=4 et sw=4 tw=99:
|
||||
*/
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsfriendapi.h"
|
||||
|
||||
#define NUM_TEST_BUFFERS 2
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(test_BindCallable)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsobj.h"
|
||||
#include "jswrapper.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
using namespace JS;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
JSPrincipals system_principals = {
|
||||
1
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
int called_test_fn;
|
||||
int called_test_prop_get;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsdbgapi.h"
|
||||
|
||||
BEGIN_TEST(test_cloneScript)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#if !defined(JSGC_ROOT_ANALYSIS) && !defined(JSGC_USE_EXACT_ROOTING)
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsobj.h"
|
||||
#include "vm/String.h"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testContexts_IsRunning)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "jsclass.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsdbgapi.h"
|
||||
#include "jscntxt.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testDeepFreeze_bug535703)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
static JSBool
|
||||
native(JSContext *cx, unsigned argc, jsval *vp)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testDefineProperty_bug564344)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsfriendapi.h"
|
||||
#include "jsdbgapi.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jscntxt.h"
|
||||
|
||||
static uint32_t column = 0;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testException_bug860435)
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "mozilla/PodOperations.h"
|
||||
#include "mozilla/Util.h"
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "jsutil.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsfun.h"
|
||||
#include "jscntxt.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testFunctionProperties)
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testGCExactRooting)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Contributor: Igor Bukanov
|
||||
*/
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jscntxt.h"
|
||||
|
||||
static unsigned errorCount = 0;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#define JSVAL_IS_FALSE(x) ((JSVAL_IS_BOOLEAN(x)) && !(JSVAL_TO_BOOLEAN(x)))
|
||||
#define JSVAL_IS_TRUE(x) ((JSVAL_IS_BOOLEAN(x)) && (JSVAL_TO_BOOLEAN(x)))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "js/HashTable.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "js/HashTable.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "jscntxt.h"
|
||||
#include "jscompartment.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "vm/String.h"
|
||||
|
||||
BEGIN_TEST(testIntString_bug515273)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
/*
|
||||
* This test exercises the full, deliberately-exposed JSAPI interface to ensure
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsatom.h"
|
||||
|
||||
#include "gc/Marking.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* vim: set ts=8 sts=4 et sw=4 tw=99:
|
||||
*/
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testJSEvaluateScript)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsfun.h" // for js::IsInternalFunctionObject
|
||||
|
||||
#include "jsobjinlines.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include <limits>
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "jsfriendapi.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "mozilla/DebugOnly.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
static JSClass ObjectEmulatingUndefinedClass = {
|
||||
"ObjectEmulatingUndefined",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
static JSBool
|
||||
my_convert(JSContext* context, JS::HandleObject obj, JSType type, JS::MutableHandleValue rval)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsdbgapi.h"
|
||||
|
||||
JSPrincipals *sOriginPrincipalsInErrorReporter = NULL;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <limits>
|
||||
#include <math.h>
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsstr.h"
|
||||
#include "vm/String.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "jscntxt.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
static int g_counter;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testObjectIsRegExp)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "jscompartment.h"
|
||||
#include "jsgc.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
/*
|
||||
* Test that resolve hook recursion for the same object and property is
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
BEGIN_TEST(testSameValue)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsdbgapi.h"
|
||||
|
||||
const char code[] =
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
struct ScriptObjectFixture : public JSAPITest {
|
||||
static const int code_size;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
static JSBool
|
||||
nativeGet(JSContext *cx, JS::HandleObject obj, JS::HandleId id, JS::MutableHandleValue vp)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
JSBool
|
||||
OperationCallback(JSContext *cx)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsscript.h"
|
||||
|
||||
BEGIN_TEST(testBug795104)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include "jsatom.h"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsdbgapi.h"
|
||||
|
||||
static int emptyTrapCallCount = 0;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsfriendapi.h"
|
||||
|
||||
using namespace js;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsapi.h"
|
||||
#include "jsstr.h"
|
||||
#include "js/CharacterEncoding.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
/*
|
||||
* Bug 689101 - jsval is technically a non-POD type because it has a private
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsscript.h"
|
||||
#include "jscntxt.h"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "jsscript.h"
|
||||
#include "jsstr.h"
|
||||
#include "jsfriendapi.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* 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/. */
|
||||
|
||||
#include "tests.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "js/RootingAPI.h"
|
||||
#include "jsobj.h"
|
||||
#include <stdio.h>
|
||||
|
|
Загрузка…
Ссылка в новой задаче