1
0
mirror of https://github.com/adobe/brackets.git synced 2024-11-20 09:53:00 +01:00
brackets/test
Pete Nykänen 32300dc3a5
Issue #11261: keep the search bar open (#14141)
* It fixes issue #11261 by preventing  the search bar from closing as a result of clicking in the main editor. This is done by commenting out the code in line 256. The search bar will also close when the ESC key is pressed while the main editor has focus

* Commented out unnecessary code around line 256

* [issue#11261] * Added in a menu option to allow find bar to stay open/automatically close
* Add a close icon to the search bar (for completeness)
* Fix escape key for in-editor searches
* Remember last search phrase if no selection for in-editor searches

* [issue#11261] Code clean up of initial mistakes of the previous commit

* [issue#11261] Strange issue with spacing in src/nls/fr/strings.js...

* [issue#11261] Strange issue with spacing in src/nls/fr/strings.js...

* [issue#11261] Further merge conflict resolution and clean up

* [issue#11261] Fix to branch and to testing

* [issue#11261] Fixes for incorrect regexp processing

* [issue#11261] Why does JSLint keep changing its own file

* [issue#11261] Not sure about the french one, let's exclude it for now until I can confirm with a Quebecois at work

* [issue#11261] Test left test file with change...

* [issue #11261] Minor fixes as per conversation of pull request

* [Issue #11261] Fixes mainly to the regular expression side of things

* [Issue #11261] Revert accidental change in JSLint

* [issue #11261] Remove loosy TODO and wording consistency change

* [Issue #11261] Remove Find Next on 'Find' option (we already have Find Next)

* [Issue #11261] (Retry the Travis CI build)

* Totally forgot to actually save the merge conflict resolution. Here it is.

* Merged master incorrectly - fix bad merge

* Fix test

Signed-off-by: petetnt <pete.a.nykanen@gmail.com>
2018-03-02 16:56:14 +02:00
..
node Add wrapper functions to call the fs-extra ones. (#13830) 2017-12-07 17:30:56 +01:00
perf Correct typo (Peformance -> Performance) (#13902) 2018-01-10 22:47:24 +02:00
smokes Linted CSS 2016-02-27 15:04:25 -05:00
spec Issue #11261: keep the search bar open (#14141) 2018-03-02 16:56:14 +02:00
thirdparty resuts -> results (#13865) 2017-11-17 18:56:12 +02:00
BootstrapReporterView.css Implement Splitview 2014-08-29 13:05:49 -07:00
BootstrapReporterView.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
jasmine.sh Merge pull request #12024 from ficristo/jasmine-sh-log 2016-01-28 11:30:59 +05:30
PerformanceTestSuite.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
polyfills.js Fix jshint errors 2014-05-28 16:58:16 +02:00
README.md Update README.md 2018-02-01 16:46:17 +05:30
SpecRunner.html Upgrade less from 2.5.1 to 2.7.2 2017-01-08 09:17:52 +01:00
SpecRunner.js Add Extract to Variable and Extract to Function features in js (#13980) 2018-01-11 11:46:56 +05:30
TestPreferencesImpl.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
UnitTestReporter.js Move most inline jslint directives to config files 2016-08-12 09:22:41 +02:00
UnitTestSuite.js Issue #12859 Keyboard modifiers support for simulateKeyEvent (#12863) 2016-12-23 17:07:22 +02:00

Overview

Unit testing for brackets uses Jasmine.

Getting started

Running Tests

2 options for running tests:

  1. Run brackets-app and click "Run Tests" from the menu (debugging and dev tools not supported)
  2. Run jasmine.sh (only OSX is supported) or manually run Brackets-app with the argument file://path/to/brackets/test/SpecRunner.html.

Adding New Tests

  1. Create a new .js file under spec/
  2. Write the test (see spec/Editor-test.js or Jasmine documentation)
  3. Edit SpecRunner.html and add the spec .js file in a new script tag

Known Issues

None