Bas Leijdekkers
3cc8a26e39
allow to split var declaration if it has denotable type
2018-07-04 15:56:52 +02:00
Daniil Ovchinnikov
7a147b624b
[groovy] config: take first found jar if multiple jars are found
...
If library is located under Maven repo directory, then it may have javadocs/sources jars which will be matched too:
```
groovy-all-2.4.15.jar
groovy-all-2.4.15-javadoc.jar
groovy-all-2.4.15-sources.jar
```
In this case take the first (in lexicographic order) file and use it.
2018-07-04 16:53:15 +03:00
Konstantin Kolosovsky
1e04f30841
svn: Run svn tests in TeamCity only on windows agents
...
Currently only windows svn binaries are added
2018-07-04 16:43:30 +03:00
Konstantin Kolosovsky
7705f0b58d
vcs: Add more svn tests to "VCS Tests" configuration
2018-07-04 16:43:30 +03:00
Konstantin Kolosovsky
edf95d56d4
svn: Remove redundant "sleep" calls from "SvnNativeListsTest"
2018-07-04 16:43:29 +03:00
Konstantin Kolosovsky
7e3a306f7b
svn: Fix "SvnNativeListsTest" - reflect new "svn status" output for move operations
2018-07-04 16:43:29 +03:00
Konstantin Kolosovsky
e08654987b
svn: Refactor "SvnCommandLineStabilityTest"
2018-07-04 16:43:29 +03:00
Konstantin Kolosovsky
4d383e2e17
svn: Remove useless "MultipleRefreshesTest"
2018-07-04 16:43:29 +03:00
Konstantin Kolosovsky
4a015ad5b0
svn: Cleanup "SvnChangesCorrectlyRefreshedTest"
2018-07-04 16:43:29 +03:00
Konstantin Kolosovsky
5fb6d665f0
svn: Remove redundant "sleep" calls from "SvnChangesCorrectlyRefreshedTest"
2018-07-04 16:43:29 +03:00
Konstantin Kolosovsky
ece53b6566
svn: Fix "local changes refresh" test for "rollback after deletion" case
2018-07-04 16:43:29 +03:00
Konstantin Kolosovsky
55e2f9451f
svn: Provide and reuse more common fields in "SvnTestCase"
2018-07-04 16:43:28 +03:00
Konstantin Kolosovsky
f454e0a049
svn: Refactor tests - extract and reuse "refresh local changes" logic
2018-07-04 16:43:28 +03:00
Konstantin Kolosovsky
bf1969e0e3
svn: Remove not svn-specific "SvnTestDirtyScopeStateTest"
...
Corresponding functionality is tested in "VcsDirtyScopeManagerTest"
2018-07-04 16:43:28 +03:00
Konstantin Kolosovsky
2968647e5a
svn: Refactor "SvnTreeConflictDataTest" - extract and reuse conflict preparation logic
2018-07-04 16:43:28 +03:00
Konstantin Kolosovsky
591612d74f
svn: Refactor "SvnTreeConflictDataTest" - remove redundant duplicate "refresh local changes" calls
2018-07-04 16:43:28 +03:00
Konstantin Kolosovsky
427cce5bbf
svn: Fix "redundant array creation" warnings in "TreeConflictData"
2018-07-04 16:43:28 +03:00
Konstantin Kolosovsky
5fccd7bd2e
svn: Remove redundant "sleep" calls from "SvnTreeConflictDataTest"
2018-07-04 16:43:28 +03:00
Konstantin Kolosovsky
2d7153fbf6
svn: Run "PatchApplier" in EDT in tests
2018-07-04 16:43:27 +03:00
Konstantin Kolosovsky
08c31e9213
svn: Remove duplicate "SvnChangesCorrectlyRefreshedNativeTest"
...
It duplicates "SvnChangesCorrectlyRefreshedTest"
2018-07-04 16:43:27 +03:00
Konstantin Kolosovsky
f8df1a2f0e
svn: Provide common "SvnVcs" field in "SvnTestCase"
2018-07-04 16:43:27 +03:00
Konstantin Kolosovsky
1d6ccb6fb8
svn: Remove not svn-specific "IgnoredFilesTest"
...
Corresponding functionality is tested in "IgnoreIdeaLevelTest"
2018-07-04 16:43:27 +03:00
Konstantin Kolosovsky
a43255c4e0
svn: Replace deprecated "junit.framework.Assert" usages
2018-07-04 16:43:27 +03:00
Konstantin Kolosovsky
497b639a04
svn: Refactor "SvnParseCommandLineParseTest" - extract test data to separate files
2018-07-04 16:43:27 +03:00
Konstantin Kolosovsky
b2c5c4d648
svn: Migrate "SvnParseCommandLineParseTest" to JUnit 4 style
2018-07-04 16:43:27 +03:00
Konstantin Kolosovsky
bfde7ebac0
svn: Refactor "SvnCommitTest" - inline "MyRunner"
2018-07-04 16:43:26 +03:00
Konstantin Kolosovsky
aa4e677585
svn: Remove unnecessary "SvnTestCase.setNativeAcceleration()"
2018-07-04 16:43:26 +03:00
Konstantin Kolosovsky
b82398294a
svn: Refactor "SvnCommitTest" - remove SVNKit-specific tests
2018-07-04 16:43:26 +03:00
Konstantin Kolosovsky
8ba6bdeccf
svn: Simplify test data directory detection
2018-07-04 16:43:26 +03:00
Konstantin Kolosovsky
9b65d300ea
svn: Remove redundant "sleep" call from "SvnTestCase.tearDown()"
2018-07-04 16:43:26 +03:00
Konstantin Kolosovsky
0ea3c22b6d
svn: Update svn binaries for tests to 1.9.7
...
* windows - use WANdisco binaries
* linux, mac - remove for now, correct binaries will be added later
2018-07-04 16:43:26 +03:00
Konstantin Kolosovsky
a5e077cec0
svn: Simplify plugin root detection in tests
2018-07-04 16:43:22 +03:00
Konstantin Kolosovsky
41fc1f454a
svn: Refresh "wc.db" files in VFS asynchronously
...
This also fixes deadlock in tests as synchronous VFS refresh in "SvnRootsDetector" deadlocks with "SvnTestCase.refreshSvnMappingsSynchronously()"
ad77d93afc follow-up
2018-07-04 16:43:21 +03:00
Konstantin Kolosovsky
4eb2a7599e
svn: Remove unnecessary locks in "RootsToWorkingCopies"
...
This also fixes the following deadlock in tests:
* "addRoot()" method executes task synchronously in tests and calls "Application.invokeAndWait()" in the end to run task callbacks in EDT - see "CoreProgressManager.runProcessWithProgressInCurrentThread()"
* "getWcRoot()" method is called in EDT in tests and tries to get "myLock"
Prior to this commit "addRoot()" was called under "myLock" which caused deadlock with "getWcRoot()"
2018-07-04 16:43:21 +03:00
Konstantin Kolosovsky
6b78beb057
svn: Unify working copy format detection logic
...
Remove unnecessary "WorkingCopy.is17Copy()"
2018-07-04 16:43:21 +03:00
Konstantin Kolosovsky
3f2e694aba
svn: Convert "RootsToWorkingCopies" to kotlin
2018-07-04 16:43:21 +03:00
Konstantin Kolosovsky
b29b5f46c9
svn: Convert "RootsToWorkingCopies" to kotlin - rename file
2018-07-04 16:43:21 +03:00
Konstantin Kolosovsky
bfb1646e1b
svn: Compare "java.io.File" files with "FileUtil.filesEqual()"
2018-07-04 16:43:21 +03:00
Konstantin Kolosovsky
511a7155cb
svn: Convert "WorkingCopy" to kotlin
2018-07-04 16:43:21 +03:00
Konstantin Kolosovsky
19a7ee1b4b
svn: Convert "WorkingCopy" to kotlin - rename file
2018-07-04 16:43:20 +03:00
Konstantin Kolosovsky
a55f2605d3
svn: Inline and remove "Svn17TestCase"
2018-07-04 16:43:20 +03:00
Konstantin Kolosovsky
3fa013a964
svn: Move "SvnTestCase" to "org.jetbrains.idea.svn" package
2018-07-04 16:43:20 +03:00
Konstantin Kolosovsky
b1e994aed0
svn: Remove separate svn 1.8 test suite and test data
2018-07-04 16:43:20 +03:00
Konstantin Kolosovsky
eb83002ff2
svn: Remove unnecessary svn 1.6 tests and test data
2018-07-04 16:43:20 +03:00
Vladimir.Orlov
a195b954c0
IDEA-CR-33717
...
patch script and updater: improve bsdiff(http://www.daemonology.net/bsdiff/ ) work with memory and increased required memory up to 3100MB. The changes allow to do diff for files ~260MB+ size each (current max size is ~220MB+ each).
2018-07-04 16:41:02 +03:00
Daniil Ovchinnikov
6b0a68b40e
[groovy] bump 'equals between inconvertible types' test project descriptor to 3.0 (IDEA-194977)
2018-07-04 16:38:02 +03:00
Aleksey Pivovarov
5e2269e34f
editor: update javadoc
2018-07-04 16:34:23 +03:00
Aleksey Pivovarov
6513329849
editor: @NotNull
2018-07-04 16:24:35 +03:00
Aleksey Pivovarov
2aec7b74c8
IDEA-127997 lst: fix rendering for folded regions
...
* Mark lines with folded deletions/insertions as modified.
* Scroll to the first block in collapsed area on click, if there are multiple options.
* Mark lines with folded ignored and non-ignored changes as non-ignored
First, convert ranges into affected visual lines.
Next, merge interleaving ranges together.
2018-07-04 16:18:36 +03:00
Aleksey Pivovarov
4b845d433f
lst: do not store RangeHighlighter in tracker Blocks
...
* use single RangeHighlighter to render ranges in gutter
2018-07-04 16:18:35 +03:00