fix module loading for SpecRunnerUtils

This commit is contained in:
Jason San Jose 2012-07-13 14:27:30 -07:00
Родитель b6aef77d74
Коммит e3655e9796
15 изменённых файлов: 15 добавлений и 15 удалений

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

@ -31,7 +31,7 @@ define(function (require, exports, module) {
Async = require("utils/Async"),
FileUtils = require("file/FileUtils"),
CSSUtils = require("language/CSSUtils"),
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
var testPath = SpecRunnerUtils.getTestPath("/spec/CSSUtils-test-files"),
simpleCssFileEntry = new NativeFileSystem.FileEntry(testPath + "/simple.css"),

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

@ -30,7 +30,7 @@ define(function (require, exports, module) {
// Load dependent modules
var HTMLUtils = require("language/HTMLUtils"),
SpecRunnerUtils = require("./SpecRunnerUtils.js"),
SpecRunnerUtils = require("spec/SpecRunnerUtils"),
Editor = require("editor/Editor").Editor;
//Use a clean version of the editor each time

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

@ -33,7 +33,7 @@ define(function (require, exports, module) {
Commands, // loaded from brackets.test
EditorManager, // loaded from brackets.test
DocumentManager, // loaded from brackets.test
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
describe("Document", function () {

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

@ -33,7 +33,7 @@ define(function (require, exports, module) {
Commands, // loaded from brackets.test
DocumentCommandHandlers, // loaded from brackets.test
DocumentManager, // loaded from brackets.test
SpecRunnerUtils = require("./SpecRunnerUtils.js"),
SpecRunnerUtils = require("spec/SpecRunnerUtils"),
NativeFileSystem = require("file/NativeFileSystem").NativeFileSystem,
FileUtils = require("file/FileUtils");

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

@ -29,7 +29,7 @@ define(function (require, exports, module) {
'use strict';
var Editor = require("editor/Editor").Editor,
SpecRunnerUtils = require("./SpecRunnerUtils.js"),
SpecRunnerUtils = require("spec/SpecRunnerUtils"),
EditorUtils = require("editor/EditorUtils");
describe("Editor", function () {

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

@ -31,7 +31,7 @@ define(function (require, exports, module) {
EditorCommandHandlers = require("editor/EditorCommandHandlers"),
Commands = require("command/Commands"),
CommandManager = require("command/CommandManager"),
SpecRunnerUtils = require("./SpecRunnerUtils.js"),
SpecRunnerUtils = require("spec/SpecRunnerUtils"),
EditorUtils = require("editor/EditorUtils");
describe("EditorCommandHandlers", function () {

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

@ -28,7 +28,7 @@ define(function (require, exports, module) {
'use strict';
var ExtensionUtils,
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
describe("Extension Utils", function () {

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

@ -31,7 +31,7 @@ define(function (require, exports, module) {
// Load dependent modules
var FileIndexManager,
ProjectManager,
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
describe("FileIndexManager", function () {

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

@ -37,7 +37,7 @@ define(function (require, exports, module) {
Dialogs = require("widgets/Dialogs"),
NativeFileSystem = require("file/NativeFileSystem").NativeFileSystem,
FileUtils = require("file/FileUtils"),
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
describe("InlineEditorProviders", function () {

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

@ -27,7 +27,7 @@
define(function (require, exports, module) {
'use strict';
var SpecRunnerUtils = require("./SpecRunnerUtils.js"),
var SpecRunnerUtils = require("spec/SpecRunnerUtils"),
NativeApp, //The following are all loaded from the test window
LiveDevelopment,
Inspector,

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

@ -29,7 +29,7 @@ define(function (require, exports, module) {
'use strict';
// Load dependent modules
var SpecRunnerUtils = require("./SpecRunnerUtils.js");
var SpecRunnerUtils = require("spec/SpecRunnerUtils");
var _FSEncodings = require("file/NativeFileSystem").NativeFileSystem._FSEncodings;
// These are tests for the low-level file io routines in brackets-app. Make sure

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

@ -31,7 +31,7 @@ define(function (require, exports, module) {
Commands,
KeyBindingManager,
Menus,
SpecRunnerUtils = require("./SpecRunnerUtils.js"),
SpecRunnerUtils = require("spec/SpecRunnerUtils"),
StringsUtils = require("utils/StringUtils"),
Strings = require("strings");

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

@ -29,7 +29,7 @@ define(function (require, exports, module) {
// Load dependent modules
var PreferencesManager = require("preferences/PreferencesManager"),
PreferenceStorage = require("preferences/PreferenceStorage").PreferenceStorage,
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
var CLIENT_ID = "PreferencesManager-test";

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

@ -29,7 +29,7 @@ define(function (require, exports, module) {
// Load dependent modules
var ProjectManager, // Load from brackets.test
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
describe("ProjectManager", function () {

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

@ -33,7 +33,7 @@ define(function (require, exports, module) {
Commands,
DocumentManager,
FileViewController,
SpecRunnerUtils = require("./SpecRunnerUtils.js");
SpecRunnerUtils = require("spec/SpecRunnerUtils");
describe("WorkingSetView", function () {