Bug 883696 (part 3) - Include full paths in #include statements in js/src/jsapi-tests/. r=luke.

This commit is contained in:
Nicholas Nethercote 2013-06-27 14:43:30 -07:00
Родитель e8d906830e
Коммит 9fed70182c
63 изменённых файлов: 63 добавлений и 63 удалений

Просмотреть файл

@ -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>