summaryrefslogtreecommitdiff
path: root/test/test_maven_build_classpath_command.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-20 22:11:22 +0000
committerw0rp <devw0rp@gmail.com>2021-03-20 22:11:42 +0000
commitb1d833417bcb57e265e0d01df07b28f463529d4b (patch)
tree11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/test_maven_build_classpath_command.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/test_maven_build_classpath_command.vader')
-rw-r--r--test/test_maven_build_classpath_command.vader14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/test_maven_build_classpath_command.vader b/test/test_maven_build_classpath_command.vader
index 633bb2a1..c10f457b 100644
--- a/test/test_maven_build_classpath_command.vader
+++ b/test/test_maven_build_classpath_command.vader
@@ -22,31 +22,31 @@ After:
call ale#linter#Reset()
Execute(Should use 'mvnw' in classpath command if available):
- call ale#test#SetFilename('maven-test-files/maven-java-project/module1/src/main/java/dummy1.java')
+ call ale#test#SetFilename('test-files/maven/maven-java-project/module1/src/main/java/dummy1.java')
AssertEqual
\ [
- \ ale#path#Simplify(g:dir . '/maven-test-files/maven-java-project/module1'),
- \ ale#Escape(ale#path#Simplify(g:dir . '/maven-test-files/maven-java-project/module1/' . g:expected_wrapper))
+ \ ale#path#Simplify(g:dir . '/test-files/maven/maven-java-project/module1'),
+ \ ale#Escape(ale#path#Simplify(g:dir . '/test-files/maven/maven-java-project/module1/' . g:expected_wrapper))
\ . ' dependency:build-classpath',
\ ],
\ ale#maven#BuildClasspathCommand(bufnr(''))
Execute(Should use 'mvn' in classpath command if it is executable and 'mvnw' is unavailable):
- call ale#test#SetFilename('maven-test-files/maven-java-project/module2/src/main/java/dummy2.java')
+ call ale#test#SetFilename('test-files/maven/maven-java-project/module2/src/main/java/dummy2.java')
let $PATH .= (has('win32') ? ';' : ':')
- \ . ale#path#Simplify(g:dir . '/maven-test-files')
+ \ . ale#path#Simplify(g:dir . '/test-files/maven')
AssertEqual
\ [
- \ ale#path#Simplify(g:dir . '/maven-test-files/maven-java-project/module2'),
+ \ ale#path#Simplify(g:dir . '/test-files/maven/maven-java-project/module2'),
\ ale#Escape('mvn')
\ . ' dependency:build-classpath',
\ ],
\ ale#maven#BuildClasspathCommand(bufnr(''))
Execute(Should return empty string if maven cannot be executed):
- call ale#test#SetFilename('maven-test-files/non-maven-project/src/main/java/dummy.java')
+ call ale#test#SetFilename('test-files/maven/non-maven-project/src/main/java/dummy.java')
AssertEqual
\ ['', ''],