Randy Edmunds
9552ae8af7
Fix test for new DOM values
2014-06-18 16:22:58 -07:00
Kevin Dangoor
c55a530d3b
Add comment with link to #7646
2014-04-29 09:45:11 -04:00
Kevin Dangoor
9a8647e67d
Turn off test temporarily
2014-04-29 09:40:08 -04:00
Ingo Richter
b856768671
- fix for https://github.com/adobe/brackets/issues/6931
...
The fix is to cutoff the leading slash on a module name.
Test is not working due to issues with the ProjectManager and the missing projectRoot
2014-02-27 18:21:32 -08:00
Kevin Dangoor
3f2ad065a0
Minor fixes in code hint test/debug code to address review comments.
2013-11-11 15:44:04 -05:00
Kevin Dangoor
7fc2bd15cb
Re-enable some tests
2013-11-08 10:17:03 -05:00
Kevin Dangoor
f80c0c9d98
Fixes code hint tests by controlling worker resets.
...
Previously, the web worker would be restarted at somewhat random
times during test runs (after a specific number of hints was requested).
This change forces the worker to start afresh with each test and switches
the worker so that it doesn't reset during any of the tests.
2013-11-08 09:33:56 -05:00
Glenn Ruehle
0fd2e149dd
Respond to more review comments.
2013-11-06 16:32:15 -08:00
Ian Wehrman
004ff6931b
Merge branch 'brackets' into glenn/file-system
...
Conflicts:
src/project/ProjectManager.js
2013-11-01 17:22:32 -07:00
Jason San Jose
fce09d4c85
Merge pull request #5400 from adobe/dangoor/4922-document-methods-missing
...
Consider 2,000 lines to be a large file for hints.
2013-11-01 11:25:37 -07:00
Ian Wehrman
0942969d84
Merge branch 'brackets' into glenn/file-system
...
Conflicts:
src/LiveDevelopment/LiveDevelopment.js
src/document/DocumentCommandHandlers.js
src/project/ProjectManager.js
2013-10-31 10:01:48 -07:00
Ingo Richter
c96a5ea074
Update unittests.js
...
Disabled failing unit test.
2013-10-29 18:04:40 -07:00
Kevin Dangoor
0aef4999a1
Turn off tests that are failing for timing reasons.
2013-10-24 11:26:28 -04:00
Ian Wehrman
bfb113d5a9
Merge branch 'brackets' into glenn/file-system
...
Conflicts:
src/document/DocumentManager.js
src/language/JSUtils.js
src/project/ProjectManager.js
src/search/FindInFiles.js
2013-10-21 12:20:33 -07:00
Glenn Ruehle
290da888da
Make FileSystem a singleton.
2013-10-17 15:39:35 -07:00
gmeluski
be80ae2cca
changing not.toBeNull to toBeTruthy
...
:
2013-10-11 15:21:54 -04:00
Peter Flynn
087a4519a5
Cleaner fix for race condition bugs in JS code hints unit tests.
2013-10-10 18:45:42 -07:00
Peter Flynn
af57cff028
Standardize back on trailing-/ for directory paths. This is safer for legacy
...
code that concats paths with this assumption. The normalization hook in
FileSystem also removes duplicated /es. In the future it could also handle
"/." and "/..", but it doesn't yet.
Fixes the infinite-traversal bug in JS code hints & re-enables the unit
tests that were hitting it. But adds some hacky temp code to forestall race
conditions when running these tests (presumably a race on master too).
Many of the diffs are just restoring code back to what it is on master.
2013-10-10 18:12:07 -07:00
Glenn Ruehle
996ea0d724
Remove FileSystem.pathExists(). Fix a bunch of unit test failures.
2013-10-08 16:31:26 -07:00
Glenn Ruehle
490ce527a9
Fix a bunch of unit test failures.
2013-09-11 15:20:09 -07:00
Glenn Ruehle
ada68e2b1f
Merge with master
2013-09-11 12:35:44 -07:00
dloverin
0c892a988f
Work around issue https://github.com/marijnh/tern/issues/207 by calling Tern.findQueryExpr() and Infer.expressionType() as suggested by marijn. The problem with this fix is it requires a "full" text update with the parameter hint request. Suggested a possible solution in the issue.
...
The quality of the hints has been much improved and record type annotations can be hinted correctly.
2013-08-15 22:52:31 -04:00
Glenn Ruehle
65f69aad42
Merge with master
2013-08-14 11:04:47 -07:00
dloverin
794c5d1ad8
improve error handling
2013-08-01 21:05:09 -04:00
dloverin
3492796714
Fix exception after picking hint from code hints combo.
...
Clean up unittests.js and change string from "<no arguments>"
to "<no parameters>"
2013-08-01 21:05:08 -04:00
dloverin
d837cd19e2
rename ScopeManager.requestFunctionHint to ScopeManager.requestParameterHint.
...
add unittests for HintUtils.formatParameterHint
2013-08-01 21:05:08 -04:00
dloverin
8ae1abe419
Add HintUtil2.formatParameterHint and fix bugs
2013-08-01 21:05:08 -04:00
dloverin
adb56c0b58
fix unit tests and move function hint type parsing into the tern worker.
2013-08-01 21:05:07 -04:00
dloverin
5205cba81c
refactor
2013-08-01 21:05:07 -04:00
dloverin
a9c916726f
parameter hint fixes
2013-08-01 21:05:07 -04:00
Glenn Ruehle
819a20882d
Use fullPath and name getters instead of getPath() and getName().
2013-07-23 11:38:53 -07:00
Glenn Ruehle
848e0b67f4
Make FileSystem a class, and support multiple instances.
2013-07-21 12:25:39 -07:00
Erik Tierney
9afd44282b
Update expected results, as Tern now gives us better results than what the test was expecting.
2013-07-12 10:46:39 -04:00
Glenn Ruehle
045f34654b
Initial integration into core.
2013-07-08 10:10:41 -07:00
Jason San Jose
b9d69228bc
Merge pull request #4205 from dloverin/jody-test3
...
Jody added some new code hint tests
2013-06-17 13:46:03 -07:00
dloverin
893b3bd29d
Merge pull request #4254 from eztierney/iss-3863
...
Fix Issue #3863 - jump-to-def goes to exports line.
2013-06-17 13:26:40 -07:00
Erik Tierney
0f73f04bcc
Added unit test for jumping to a function in exports.
...
Modified _waitForJump to wait until the jump promise is done, rather than checking that the cursor had changed.
Updated 1 other test which was looking at everything that was exported from the test module.
2013-06-17 14:50:16 -04:00
dloverin
c784efb4c7
Ignore empty lines when finding a fragment for partial updates.
...
Change hintsPrsentExact to verify number of entries match.
2013-06-14 11:03:56 -04:00
Erik Tierney
5435d4092e
Merge pull request #4177 from dloverin/pref-regexp-fix
...
do not wrap regular expresssions in '^' and '$', only strings.
2013-06-14 06:32:54 -07:00
dloverin
e06e5e4f6f
fix unittests and add FIXMEs
2013-06-13 17:03:08 -04:00
Erik Tierney
34601065ce
Update tern & acorn
...
tern is now 0.2
acorn is now 0.3
remove exclusion for ember.js, as it seems to be fixed with the latest tern
2013-06-13 09:46:03 -04:00
dloverin
49e25e4f6b
remove quick edit tests. Put those tests in quick edit module.
2013-06-12 16:59:01 -04:00
dloverin
8df8808553
Merge branch 'test3' of https://github.com/jodyzhang/brackets into jody-test3
...
Conflicts:
src/extensions/default/JavaScriptCodeHints/unittests.js
2013-06-10 11:25:44 -04:00
dloverin
fccdb12b02
do not wrap regular expresssions in '^' and '$', only strings.
2013-06-10 09:03:06 -04:00
Erik Tierney
c353fe4b4b
Merge pull request #4150 from dloverin/insert-hint-wo-replace
...
insert hint without replacing text to the right of the caret
2013-06-07 10:28:35 -07:00
Erik Tierney
241b2322ef
Merge pull request #4147 from dloverin/pref-file
...
Allow preferences to be overridden by a configuration file.
2013-06-07 10:26:51 -07:00
dloverin
69410b1ac1
insert hint without replacing text to the right of the caret
2013-06-07 13:12:18 -04:00
dloverin
759c3cd088
preferences for 'excluded-directories' and 'excluded-files' always append to the builtin defaults
2013-06-07 11:37:58 -04:00
dloverin
d65fbdcacf
Allow preferences to be overridden by a configuration file.
...
src/extensions/default/JavaScriptCodeHints/Preferences.js
New class to parse JSON preferences object and store preferences.
src/extensions/default/JavaScriptCodeHints/ScopeManager.js
Look for preference file, .jscodehints, in the project root directory.
Remove obsolete "shouldPrimePump" parameter.
src/extensions/default/JavaScriptCodeHints/main.js
Remove obsolete "shouldPrimePump" parameter.
src/extensions/default/JavaScriptCodeHints/unittests.js
Add new preference tests.
Add new preference tests under unittest-files/preference-test-files
2013-06-07 08:51:05 -04:00
Erik Tierney
ba49afb6a1
Don't provide hints in string literals
...
fixes issue #4050
2013-06-05 14:09:10 -04:00