1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 18:02:54 +01:00
brackets/test/UnitTestSuite.js

55 lines
2.4 KiB
JavaScript
Raw Normal View History

/*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
*/
/*jslint vars: true, plusplus: true, devel: true, browser: true, nomen: true, indent: 4, maxerr: 50 */
/*global define */
define(function (require, exports, module) {
'use strict';
2012-07-16 23:50:18 +02:00
require("spec/CodeHint-test");
2012-06-13 02:38:40 +02:00
require("spec/CodeHintUtils-test");
require("spec/CommandManager-test");
require("spec/CSSUtils-test");
require("spec/JSUtils-test");
Merge remote-tracking branch 'origin/master' into pflynn/document-apis * origin/master: (45 commits) code review comments Update comments Update CodeMirror SHA code review fixes Restore Shift-Tab to outdent behavior Re-implement performance suite filtering due to RequireJS changes in SpecRunner Revert .json file listing of test suites. Add ExtensionUtils to root require context added a comment explaining why we aren't using jquery deferreds for the done loading notification Fix #971 (Find in Files treats \n, \r, etc. as regular expressions) -- Escape backslash too (and simplify escaping regexp to use char class instead of |). createTestWindowAndRun now waits for brackets to be completely done loading (so extensions are loaded before tests run) added a 'ready' event to brackets that fires when brackets is completely done loading Code review fixes. Combined both offset to lines functions into a single function Rewrote unit tests for JavaScriptInlineEditor to get JSUtils from the require context that was used to load the extension. We only need to do this in unit tests where we rely on JSUtils to get the DocumentManager, etc. from the current window. Modified ExtensionLoader to allow for retrieving the require context that loaded an extension Refactor loadStyleSheet. Change error handling. make red bolder provide way for unit tests to restore commands after a reset Changed click handler to use $.on so runtime added menus work Fixed bug where triangle wasn't updating correctly by toggling "scroll" events on double click show ... Conflicts: test/BootstrapReporter.js test/UnitTestSuite.json
2012-06-14 00:57:15 +02:00
require("spec/Document-test");
require("spec/DocumentCommandHandlers-test");
require("spec/Editor-test");
require("spec/EditorCommandHandlers-test");
require("spec/ExtensionUtils-test");
require("spec/FileIndexManager-test");
require("spec/FindReplace-test");
require("spec/InlineEditorProviders-test");
2012-06-13 02:38:40 +02:00
require("spec/KeyBindingManager-test");
require("spec/LiveDevelopment-test");
2012-06-13 02:38:40 +02:00
require("spec/LowLevelFileIO-test");
require("spec/Menu-test");
2012-06-13 02:38:40 +02:00
require("spec/MultiRangeInlineEditor-test");
require("spec/NativeFileSystem-test");
2013-01-08 18:41:51 +01:00
require("spec/NativeMenu-test");
2012-06-13 02:38:40 +02:00
require("spec/PreferencesManager-test");
require("spec/ProjectManager-test");
require("spec/StringMatch-test");
2012-08-16 21:28:01 +02:00
require("spec/UpdateNotification-test");
2012-06-13 02:38:40 +02:00
require("spec/ViewUtils-test");
require("spec/WorkingSetView-test");
});