зеркало из https://github.com/mozilla/brackets.git
fix module loading for SpecRunnerUtils
This commit is contained in:
Родитель
b6aef77d74
Коммит
e3655e9796
|
@ -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 () {
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче