1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
Commit Graph

43 Commits

Author SHA1 Message Date
RaymondLim
90b8194650 Unit tests for dropping image files in Brackets. 2013-10-23 19:56:40 -07:00
Jochen Hagenstroem
0304ce1cab Merge branch 'master' into couzteau/preview-images-review
Conflicts resolved
	test/UnitTestSuite.js
2013-10-17 17:54:08 -07:00
Narciso Jaramillo
df1d141f27 Add contentChange event to TextRange. Make it so original change event doesn't fire if boundaries don't actually change. 2013-10-16 20:13:16 -07:00
Jochen Hagenstroem
eaf8716801 - add unit test for prettyPrintBytes (+13 squashed commits)
- add test case for clearCurrentlyViewedFile
- add test case for getCurrentlyViewedFile and setCurrentlyViewedFile
- add test case for clearCurrentDocument
- add DocumentManager integration tests
- add test cases to verify that currentDocumentChange and activeEditorChange events are fired correctly
2013-10-16 17:47:16 -07:00
Kevin Dangoor
0b76ededc7 Revert "Merge pull request #3406 from WebsiteDeveloper/Issue-1617"
This reverts commit 2d350a5305, reversing
changes made to d7fa08d205.
2013-10-03 15:31:33 -04:00
Bernhard Sirlinger
0fb6c87605 Fix unit test failures 2013-09-25 22:19:20 +02:00
Kevin Dangoor
f2aa82c858 Breaks HTMLInstrumentation into three files.
HTMLInstrumentation: handles the interface between editor/document
and live HTML.

HTMLSimpleDOM: Parses HTML into a simple DOM-like structure with
properties useful for HTMLInstrumentation.

HTMLDiff: Generates a list of edits to mutate a Simple DOMs into another.
2013-09-03 11:27:18 -04:00
Jason San Jose
6d4bcbc4ea unit tests for RemoteFunctions DOMEditHandler 2013-08-08 22:42:59 -07:00
Narciso Jaramillo
99c35cf661 Merge with master 2013-07-29 16:22:02 -07:00
Jeff Booher
2f55989e26 Merge pull request #4421 from adobe/nj/animate-inline-final
Animate inline editors.
2013-07-15 23:49:08 -07:00
Narciso Jaramillo
119b4efe3f Animate inline editors open. 2013-07-10 18:39:18 -07:00
Jason San Jose
8a1e472f80 handle more extension load error cases. add new unit tests. 2013-07-10 13:00:14 -07:00
Kevin Dangoor
9ff48c6c77 Now capable of producing the simplest possible diff (attribute value
changed)
2013-06-18 15:03:26 -04:00
Narciso Jaramillo
e2440ab0da For #3868, properly convert backslashy paths back to Unixy paths on their way back from Node 2013-05-16 18:23:01 -07:00
Narciso Jaramillo
7ea30651e9 Make unit tests work with fake registry/repo URLs 2013-05-10 11:02:15 -07:00
Narciso Jaramillo
72927de9ed Back out Extension Manager for now:
* Remove "File > Extension Manager..." and reinstate "File > Install Extension..."
* Add "Browse Extensions" button to the Install Extension dialog that goes to the wiki page
* Add toolbar icon to open the Install Extension dialog
2013-04-23 13:41:10 -07:00
Narciso Jaramillo
e33b445f1d Renamed ExtensionMgr to ExtensionManager 2013-04-15 21:11:09 -07:00
Narciso Jaramillo
47d5b82bf7 Initial extension manager dialog/view/model (with non-final layout) 2013-04-15 16:18:08 -07:00
Chema Balsas
d81450b00b Merge pull request #3300 from TomMalbran/tom/font-size-2
Fixing the adjust font restore scroll and adding unit tests
2013-04-04 00:13:12 -07:00
RaymondLim
fa5f4176b4 Add unit tests for HTML Instrumentation.
Update DOMHelper to support uppercase tag names.
Add one more empty tag -- wbr.
Add code to ignore invalid closing empty tags.
2013-04-01 23:57:49 -07:00
Tomás Malbrán
638c855493 Fixing the adjust font restore scroll and adding unit tests 2013-03-30 23:25:45 -03:00
RaymondLim
9c336f515f Merge remote-tracking branch 'origin' into rlim/word-wrap
Conflicts:
	src/editor/Editor.js
2013-03-19 15:33:40 -07:00
Narciso Jaramillo
ec0b0ae76d Initial implementation of Install dialog, with a mock backend and some basic unit tests 2013-03-18 16:44:15 -07:00
Kevin Dangoor
827916a954 initial package validation. includes metadata and checks for
existence of package.json
2013-03-18 16:44:15 -07:00
RaymondLim
5f5ef09b8d Add unit tests for word-wrap and active line options. 2013-03-12 23:15:33 -07:00
Jason San Jose
9e93e5aefc LanguageManager unit tests 2013-02-25 16:18:51 -08:00
Joel Brandt
61383b204c initial commit of NodeConnection to core 2013-02-15 06:49:30 -08:00
Narciso Jaramillo
f26d8cd745 Cleaned up refresh code and made it so we always refresh after showing the editor. Addresses some cases in #2782. 2013-02-12 15:53:54 -08:00
Jason San Jose
15d5ca27d5 Merge branch 'master' into cmv3
Conflicts:
	test/UnitTestSuite.js
2013-01-23 10:01:51 -08:00
Kevin Dangoor
77a1c59d67 Add a test for QuickOpen and a custom matcher for editor cursor position.
The QuickOpen test checks three things currently:

1. Ability to open a file with QuickOpen with the expected matching
2. Ability to jump to a line
3. The selected line is centered
2013-01-18 10:47:13 -05:00
Kevin Dangoor
1bd19a54dd Merge branch 'master' into dangoor/fix-2068
Conflicts:
	src/search/QuickOpen.js
2013-01-16 22:17:54 -05:00
Kevin Dangoor
4eafccf533 pull the stringMatch code out of QuickOpen and into a new module 2013-01-09 11:03:52 -05:00
Glenn Ruehle
cb39b0c006 Initial native menu tests. 2013-01-08 09:41:51 -08:00
Kevin Dangoor
ba87bcc577 add an initial QuickOpen test. 2012-12-31 22:23:11 -05:00
Peter Flynn
1328419383 Add a few more unit tests for Find. Update unit-test harness files to
include this suite.

Update a few other unit tests to use KeyEvent constants, and remove unused
dependencies. (All those suites still pass too).
2012-12-10 14:03:56 -08:00
Glenn Ruehle
8d4280f253 Add unit tests. 2012-08-16 12:28:01 -07:00
Randy Edmunds
a2a3a3f676 initial checkin 2012-07-16 14:50:18 -07:00
Ty Voliter
cfd66159c5 Merge remote-tracking branch 'origin/master' into tvoliter/issue-924-take2
* origin/master:
  now that the working set view handles mousedown instead of click in order to capture left and right clicks, it's necessary to call preventDefault() so the focus is not removed from the editor.
  remove high ascii file
  fix typo
  git munged high ascii in file name, so use only low ascii
  Fix typo
  Update ExtensionLoader require paths to include text plugin. Update InlineImageViewer to use text plugin to load an HTML template.
  Correct showInlineEditor to toggleQuickEdit. Updated all references and ran unit tests.
  Fix SHOW_INLINE_EDITOR command handler to return a promise.
  Clean up Debug menu (issues #977, #1056): - Move JSLint to View menu; Use Tabs to Edit menu - Remove "Experimental" heading - Remove "Close Browsers" command (after discussion w/ Glenn) - underlying NativeApp API not removed since it's still used by unit tests - Reorder remaining Debug menu items - Rename "Reload Window"->"Reload Brackets" for clarity - Rename "New Window"->"New Brackets Window" for clarity - Move JSLint command impl to JSLintUtils - (Left Use Tabs impl in DebugCommandHandlers for now until it has a more natural home)
  Add unit tests for filtering out token types in JavaScript Quick Edit.
  initial set of tests complete
  intermediate checkin for first unit test
  RequireJS text plugin 1.0.8

Conflicts:
	src/extensions/default/JavaScriptQuickEdit/unittests.js
2012-06-21 12:16:06 -07:00
Ty Voliter
3d9aa377ec separate inline JS tests from JS parsing tests 2012-06-20 11:56:15 -07:00
Randy Edmunds
c413ab115e intermediate checkin for first unit test 2012-06-19 17:46:14 -07:00
Peter Flynn
2f4972e544 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-13 15:57:15 -07:00
Jason San Jose
4db3e085de code review comments 2012-06-12 17:38:40 -07:00
Jason San Jose
123f19f3a0 Revert .json file listing of test suites.
Conflicts:
	test/SpecRunner.js
2012-06-12 11:45:16 -07:00