Ash Wilson
8e6d8334cb
Use a temporary directory for ATOM_HOME in tests
2019-02-05 13:35:09 -05:00
Ash Wilson
5854ab796f
Omit skipped specs entirely
2019-02-05 10:40:52 -05:00
Ash Wilson
f8fa5d61eb
Use ATOM_JASMINE_REPORTER to control terminal reporter
2019-02-05 10:13:49 -05:00
Ash Wilson
ed8658f54b
Use a custom Jasmine reporter to actually show spec names
2019-02-04 17:05:03 -05:00
Ash Wilson
31f0174513
Correct expectations elsewhere in the test suite
2019-02-01 15:08:46 -05:00
Ash Wilson
0a541eb552
Unit test for block decoration ordering
2019-02-01 13:13:49 -05:00
Ash Wilson
51cfc262c6
Pass an order property to test fixture block decorations
2019-02-01 13:12:47 -05:00
David Wilson
b92ae2ad04
Merge pull request #18603 from atom/electron-3-0
...
Upgrade to Electron 3.0
2019-01-31 19:15:14 -08:00
David Wilson
3714a8df87
Re-enable tests that crashed due to a superstring bug
2019-01-31 17:52:28 -08:00
Ash Wilson
88d7c6dbdd
Include now-missing project folders in initial state key computation
2019-01-24 11:33:44 -05:00
Ash Wilson
02e1ae4b0f
Notify about missing project folders
2019-01-24 10:39:50 -05:00
Ash Wilson
f6837d1f97
openLocations() flag to require a path to be an existing directory
2019-01-24 10:19:01 -05:00
David Wilson
11ed91300b
Update StyleManager specs to address deprecated ::shadow selectors
...
As of Chromium 63, ::shadow CSS selectors have been fully removed:
https://developers.google.com/web/updates/2017/10/remove-shadow-piercing
As a result, any usage of ::shadow in a stylesheet seems to get removed as soon
as the stylesheet is applied to an HTMLStyleElement. Since we have a couple of tests
that expect ::shadow selectors to be present, we must remove those expectations
since those selectors do not appear any longer.
2019-01-22 13:44:35 -08:00
David Wilson
a41b69e46f
Temporarily disable render process tests that crash in Electron 3
2019-01-18 15:13:24 -08:00
David Wilson
ff429230f1
Use correct fontWeight value in ThemeManager spec
...
In Chrome 66+ it seems that getComputedStyle().fontWeight returns the computed
numeric value of the style instead of the original descriptive name. We now
look for value '700' which corresponds to the value of 'bold'.
2019-01-18 15:13:24 -08:00
David Wilson
eee7ae8abe
Use fs.renameSync in Workspace spec to fix test failure
2019-01-18 15:13:24 -08:00
David Wilson
8eccaf2d5d
Make invalid JS file fail Babel spec again
...
This change uses a different JavaScript syntax to cause the "when a .js file
does not start with 'use babel'" spec to fail again after upgrading to Electron
3 / Node 10.3.0. The previous generator syntax seems to be supported in the
version of V8 used by Node 10 so we now need to use the 'export default' syntax
to trigger an error.
I've verified that changing the first line of this file to 'use babel' causes
the file to load successfully, so it seems this new syntax is effective to
verify the desired behavior.
2019-01-18 15:13:24 -08:00
Ash Wilson
f20aa038bd
Reorganize AtomApplication tests
2019-01-14 11:46:30 -05:00
Ash Wilson
92785ac257
Merge branch 'master' into aw/single-file
2019-01-14 10:22:51 -05:00
Ash Wilson
ae57abe70a
Update smoke test to match new open behavior
2019-01-04 13:25:42 -05:00
Ash Wilson
bac378654e
Deflake test that depends on tree-view loading project folders
2019-01-04 11:07:56 -05:00
Ash Wilson
34167d426f
Adjust tests to use --add when necessary
2019-01-04 11:07:06 -05:00
Ash Wilson
efc55d71a3
👕 Make standard happy with the test source
2019-01-04 09:11:35 -05:00
Ash Wilson
15594dd8c2
AtomApplication launch behavior shuffle
2019-01-03 16:41:17 -05:00
Ash Wilson
6938a31329
Never open the parent directory of a file path
2019-01-03 16:39:09 -05:00
Ash Wilson
01bd45ef4c
When only a file is specified, don't open the parent directory
2018-12-20 15:59:41 -05:00
Max Brunsfeld
cc8ca52ba1
⬆️ language-javascript, update test w/ new scope mapping
2018-12-19 09:55:23 -08:00
Max Brunsfeld
be79ca031c
Fix typo that messed up fold marker updates
2018-11-27 10:11:32 -08:00
Benjamin Gray
47c0a14517
Adjust cursor scope when at end of line ( #18469 )
...
* Use character before newline if possible
* Add tests
2018-11-21 15:20:57 +11:00
Max Brunsfeld
108b232107
Make scopeDescriptorForPosition work correctly between tokens
...
Fixes atom/bracket-matcher#365
2018-11-08 16:45:48 -08:00
Linus Eriksson
e158dceaf8
Merge pull request #18382 from atom/b3-mb-wildcard-selector
...
Distinguish between anonymous * token and wildcard selector
2018-11-03 21:42:24 +01:00
Max Brunsfeld
815cd2b2e9
Add randomized test for updating syntax highlighting, fix bugs
2018-11-02 17:02:29 -07:00
Linus Eriksson
f51ea2564b
Distinguish between anonymous * token and wildcard selector
...
Co-authored-by: Max Brunsfeld <maxbrunsfeld@github.com >
2018-11-01 18:47:17 +01:00
Max Brunsfeld
6af0cbfc2d
Use the correct comment strings for nested languages
2018-10-25 14:36:44 -07:00
Max Brunsfeld
78cdabf692
Revert tests updates in #17949
2018-10-19 19:29:43 -07:00
Linus Eriksson
ad41476cbe
Add tests for synaxTreeScopeDescriptor
2018-10-18 17:49:37 +02:00
ariasuni
81364b6a1c
Make soft-wrap break words before a slash or space and after a dash
2018-09-26 14:05:38 +02:00
Ash Wilson
d2c38ac36a
Merge pull request #18087 from atom/aw/gutter-measurement-update
...
Update soft wrap margins on gutter re-measurement
2018-09-21 15:48:12 -04:00
Ash Wilson
d7d6a33e08
Compute expected soft wrap column
2018-09-21 14:47:44 -04:00
Ash Wilson
39bc295f1c
Test soft wrap column measurement with a custom gutter
2018-09-21 13:14:47 -04:00
Max Brunsfeld
245472734b
Allow tree-sitter setting to be set for specific languages
2018-09-21 09:34:13 -07:00
Tilde Ann Thurium
dc1f6a02f3
fix leaked state in tests.
2018-09-13 16:24:46 -07:00
Tilde Ann Thurium
9e6b4b413b
add unit tests
2018-09-12 17:02:05 -07:00
Max Brunsfeld
04d29d9ba1
⬆️ tree-sitter, language-ruby
2018-09-12 11:26:45 -07:00
Max Brunsfeld
0b6876c4c6
Accept a TextMate scope selector in bufferRangeForScopeAtPosition
2018-09-10 20:38:54 -07:00
David Wilson
d0ecc657ce
Merge pull request #17958 from cacheflow/add-capturing-to-keydown-events-when-hiding-tooltips
...
Fix: Added capturing to keydown events when hiding tooltips
2018-09-06 08:18:56 -07:00
David Wilson
c03ddebaef
Merge pull request #16940 from BoykoAlex/atom-links
...
Support `atom` protocol links when links are handled
2018-09-06 07:32:49 -07:00
Max Brunsfeld
ba96bbf8f1
Add TreeSitterLanguageMode.tokenForPosition
2018-09-05 09:54:43 -07:00
David Wilson
f5cda2b70b
Merge remote-tracking branch 'origin/master' into atom-links
2018-09-05 09:43:06 -07:00
Max Brunsfeld
60c19afca2
Move more textmate-specific tests to TextMateLanguageMode spec
2018-09-04 11:37:30 -07:00