File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
src/test/java/edu/wpi/grip/core/sources Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ install :
2+ - choco install -y InnoSetup
3+
4+ build_script :
5+ - gradlew.bat assemble --stacktrace
6+
7+ after_build :
8+ - dir build
9+
10+ artifacts :
11+ - path : build\distributions\*.exe
12+
13+ deploy :
14+ - provider : GitHub
15+ artifact : /.*\.exe/ # upload all exe packages to release assets
16+ draft : true
17+ prerelease : true
18+ on :
19+ branch : master # release from master branch only
20+ appveyor_repo_tag : true # deploy on tag push only
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ public void testReadInTextFile() throws IOException {
5252
5353 @ Test (expected = IOException .class )
5454 public void testReadInFileWithoutExtension () throws MalformedURLException , IOException {
55- final ImageFileSource fileSource = new ImageFileSource (eventBus , new File ("file://temp/fdkajdl3eaf" ));
55+ final File testFile = new File ("temp" + File .separator +"fdkajdl3eaf" );
56+
57+ final ImageFileSource fileSource = new ImageFileSource (eventBus , testFile );
5658 OutputSocket <Mat > outputSocket = fileSource .getOutputSockets ()[0 ];
5759 assertTrue ("No matrix should have been returned." , outputSocket .getValue ().empty ());
5860 }
You can’t perform that action at this time.
0 commit comments