File tree Expand file tree Collapse file tree 4 files changed +37
-1
lines changed
app-core/src/test/java/com/mercury/platform/shared/store Expand file tree Collapse file tree 4 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 1+ language : java
Original file line number Diff line number Diff line change 22
33import com .sun .jna .platform .DesktopWindow ;
44import com .sun .jna .platform .WindowUtils ;
5+ import org .junit .Before ;
56import org .junit .Test ;
67import rx .observers .TestSubscriber ;
78
1112
1213
1314public class MercuryStoreCoreTest {
15+ private static final boolean IS_WINDOWS = System .getProperty ("os.name" ).startsWith ("Windows" );
16+ @ Before
17+ public void windowsOnly () {
18+ org .junit .Assume .assumeTrue (IS_WINDOWS );
19+ }
20+
1421 @ Test
1522 public void testSoundReducer () throws IOException {
1623 TestSubscriber <Map <String ,String >> testSubscriber = new TestSubscriber <>();
Original file line number Diff line number Diff line change 1+ # http://www.appveyor.com/docs/appveyor-yml
2+ # This is the standard AppVeyor project for the SDK
3+ # It builds pulls requests and merges to master to ensure that no tests have broken
4+ #
5+ # This follows the 3-project AppVeyor/Maven pattern established in https://github.com/dblock/log4jna/blob/master/AppVeyorMavenRelease.md
6+
7+ # https://www.appveyor.com/docs/build-environment/#java
8+ # Use the standard "Visual Studio 2015" image, since that has all the required Maven tools
9+
10+ environment :
11+ JAVA_HOME : C:\Program Files\Java\jdk1.8.0
12+ M2 : $(USERPROFILE)\.m2
13+
14+ install :
15+ # Log versions for debugging
16+ - java -version
17+ - mvn --version
18+
19+ build_script :
20+ - mvn -B clean install -Djna.nosys=true
21+
22+ # Maven runs the tests as part of the build, so we don't need to run them again
23+ test : off
24+
25+ cache :
26+ # Cache Maven and m.2
27+ - ' %MAVEN_HOME%'
28+ - ' %M2%'
Original file line number Diff line number Diff line change 1212 <module >app</module >
1313 <module >app-ui</module >
1414 <module >app-core</module >
15- <!-- < module>app-shared</module> -- >
15+ <module >app-shared</module >
1616 <module >app-local-updater</module >
1717 </modules >
1818 <packaging >pom</packaging >
You can’t perform that action at this time.
0 commit comments