Skip to content

Refactor hls-test-util and reduce getCurrentDirectory after initilization #4231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 109 commits into from
May 27, 2024
Merged
Changes from 1 commit
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
e6595bb
migrate boot test
soulomoon May 13, 2024
25108f4
Merge branch 'master' into soulomoon/update-ghcide-tests-hls-test-uti…
soulomoon May 13, 2024
542ea26
restrict the cwd to the outermost layer
soulomoon May 14, 2024
f7611a2
remove makeAbsolute
soulomoon May 14, 2024
67438ef
fix import
soulomoon May 14, 2024
9238ff6
fix more dir
soulomoon May 14, 2024
8c709ab
use abs path in template haskell
soulomoon May 14, 2024
5b15ebf
fix reference test
soulomoon May 14, 2024
2eae58b
fix ExceptionTests
soulomoon May 14, 2024
f2c1c61
fix exceptionTests
soulomoon May 14, 2024
308e726
fix
soulomoon May 14, 2024
543b270
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 14, 2024
2baa0c9
fix hls
soulomoon May 14, 2024
2ebfafc
use lsp root dir
soulomoon May 14, 2024
042df98
disable stan test
soulomoon May 14, 2024
f8f37a0
Revert "disable stan test"
soulomoon May 14, 2024
6a11d1e
special function that shift to root
soulomoon May 14, 2024
7dce0f3
remove trace
soulomoon May 14, 2024
289528a
use absolute root
soulomoon May 14, 2024
ca1c2b8
change to test config
soulomoon May 15, 2024
a3dc7ce
add goldenWithTestConfig
soulomoon May 15, 2024
1d0f544
fix
soulomoon May 15, 2024
7254731
fix notes
soulomoon May 15, 2024
2a25a1f
fix windows
soulomoon May 15, 2024
3997849
relatex test
soulomoon May 15, 2024
e2ff7d0
migrate exception tests
soulomoon May 16, 2024
91d31d8
clean up
soulomoon May 16, 2024
edca60d
remove testWithDummyPluginAndCap'
soulomoon May 16, 2024
17e3305
use single thread in test
soulomoon May 16, 2024
4c88650
move semantic tokens test
soulomoon May 16, 2024
c0ed673
clean up DependentFileTest
soulomoon May 16, 2024
8223c65
merge file tree and config root
soulomoon May 16, 2024
9882ede
update doc
soulomoon May 16, 2024
fc745c9
clean up consultCradle
soulomoon May 16, 2024
9eb3763
lift toAbsolute
soulomoon May 16, 2024
80bd4de
clean up
soulomoon May 16, 2024
836c1b7
fix
soulomoon May 16, 2024
faf0cc7
shift to the lsp root if the root is not the current directory
soulomoon May 16, 2024
887f8ed
spawn to tmp dir by default
soulomoon May 16, 2024
1320577
fix exceptionTests
soulomoon May 16, 2024
8826256
clear up
soulomoon May 16, 2024
53cfa5f
migrate THTests
soulomoon May 16, 2024
5dc3035
fix Retrie
soulomoon May 16, 2024
f3cd2e2
migrate ClientSettingsTests CodeLensTests CPPTests CradleTests
soulomoon May 16, 2024
9298cc0
add comment
soulomoon May 16, 2024
2735555
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 17, 2024
785d22a
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 18, 2024
92b8bae
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 18, 2024
1bb8c51
move recorder first
soulomoon May 19, 2024
3a5c2cf
Merge remote-tracking branch 'refs/remotes/origin/soulomoon/remove-se…
soulomoon May 19, 2024
bb45003
rename
soulomoon May 19, 2024
166bbe9
clean up
soulomoon May 19, 2024
1844682
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 20, 2024
48bc29b
fix test
soulomoon May 21, 2024
54a2330
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 22, 2024
9c89410
add timeout
soulomoon May 22, 2024
0d4482f
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 26, 2024
6dfe592
Merge remote-tracking branch 'refs/remotes/origin/soulomoon/remove-se…
soulomoon May 26, 2024
c105dc7
Update hls-test-utils/src/Test/Hls.hs
soulomoon May 26, 2024
f914c08
Merge remote-tracking branch 'refs/remotes/origin/soulomoon/remove-se…
soulomoon May 26, 2024
f386043
add Note [Root Directory], fix comment, fix NotesTest, refactor toAbs…
soulomoon May 26, 2024
01f1437
Update ghcide/src/Development/IDE/Types/HscEnvEq.hs
soulomoon May 26, 2024
37eacc9
format
soulomoon May 26, 2024
7fff110
format
soulomoon May 26, 2024
5ecce5a
format
soulomoon May 26, 2024
f3305a5
fix and clean up
soulomoon May 26, 2024
2b9a92b
clean import
soulomoon May 26, 2024
f831bf2
add comment
soulomoon May 26, 2024
5579952
improve Note [Root Directory]
soulomoon May 26, 2024
e4aed03
add TODO
soulomoon May 26, 2024
3723307
add TODO
soulomoon May 26, 2024
a0d64bf
fix lookupEnv
soulomoon May 26, 2024
a1b5927
typo
soulomoon May 26, 2024
7476dc4
fix Note
soulomoon May 27, 2024
b6d5e92
Update ghcide/src/Development/IDE/Core/Shake.hs
soulomoon May 27, 2024
57366e7
Update ghcide/src/Development/IDE/Core/Shake.hs
soulomoon May 27, 2024
ba50200
Update ghcide/src/Development/IDE/Core/Shake.hs
soulomoon May 27, 2024
2f60c23
Update plugins/hls-refactor-plugin/test/Main.hs
soulomoon May 27, 2024
06dfac4
Update plugins/hls-semantic-tokens-plugin/test/SemanticTokensTest.hs
soulomoon May 27, 2024
afb525b
Update plugins/hls-semantic-tokens-plugin/test/SemanticTokensTest.hs
soulomoon May 27, 2024
173b580
Update plugins/hls-semantic-tokens-plugin/test/SemanticTokensTest.hs
soulomoon May 27, 2024
94f94ae
Update plugins/hls-rename-plugin/test/Main.hs
soulomoon May 27, 2024
e7ec5c9
Update plugins/hls-hlint-plugin/test/Main.hs
soulomoon May 27, 2024
a09ea8a
Update ghcide/src/Development/IDE/Main.hs
soulomoon May 27, 2024
e5297b9
Update plugins/hls-notes-plugin/test/NotesTest.hs
soulomoon May 27, 2024
e7a81a3
Update ghcide/test/exe/Config.hs
soulomoon May 27, 2024
c034ac4
Update plugins/hls-hlint-plugin/test/Main.hs
soulomoon May 27, 2024
3c7cbfa
Update ghcide/test/exe/DiagnosticTests.hs
soulomoon May 27, 2024
eda61af
Update ghcide/test/exe/DiagnosticTests.hs
soulomoon May 27, 2024
b75333e
Update ghcide/test/exe/ReferenceTests.hs
soulomoon May 27, 2024
fd1632f
Update ghcide/test/exe/DependentFileTest.hs
soulomoon May 27, 2024
aecf27b
add doc
soulomoon May 27, 2024
c91bafb
add doc
soulomoon May 27, 2024
d71cb29
format
soulomoon May 27, 2024
b593e69
format
soulomoon May 27, 2024
a97281c
rename
soulomoon May 27, 2024
f75391d
add doc
soulomoon May 27, 2024
f77c154
refine Note [Root Directory]
soulomoon May 27, 2024
6656c2e
add doc
soulomoon May 27, 2024
50d6a2f
drop some toAbsolutePath
soulomoon May 27, 2024
0362913
add doc
soulomoon May 27, 2024
70d4d31
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 27, 2024
732d928
Update ghcide/src/Development/IDE/Core/Shake.hs
soulomoon May 27, 2024
99d66e3
Update ghcide/src/Development/IDE/Core/Shake.hs
soulomoon May 27, 2024
83006ad
refine doc
soulomoon May 27, 2024
ca50997
typo
soulomoon May 27, 2024
27474b2
stylish
soulomoon May 27, 2024
2142128
fix import
soulomoon May 27, 2024
03e21e4
Merge branch 'master' into soulomoon/remove-set-current-dir
soulomoon May 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update plugins/hls-semantic-tokens-plugin/test/SemanticTokensTest.hs
Co-authored-by: fendor <fendor@users.noreply.github.com>
  • Loading branch information
soulomoon and fendor authored May 27, 2024
commit afb525b1194304887823bbd7b70a321e1862b079
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ semanticTokensConfigTest =
, testConfigCaps = fullCaps
, testDirLocation = Right fs
, testLspConfig = mkSemanticConfig funcVar
}
}
$ const $ do
-- modifySemantic funcVar
void waitForBuildQueue
Expand Down