1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

MacOSX: fixed some failing tests

This commit is contained in:
Federico Fissore
2015-05-12 15:22:56 +02:00
parent d2595129c5
commit 96b7c5ec6b
3 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,7 @@
<junit printsummary="yes" dir="${work.dir}" fork="true">
<jvmarg value="-Djava.library.path=${java.additional.library.path}"/>
<jvmarg value="-DWORK_DIR=."/>
<jvmarg value="-ea"/>
<classpath>
<pathelement location="bin"/>
<pathelement location="test-bin"/>

View File

@ -38,6 +38,7 @@ public abstract class AbstractWithPreferencesTest {
public void init() throws Exception {
Runtime.getRuntime().addShutdownHook(new Thread(DeleteFilesOnShutdown.INSTANCE));
Base.initPlatform();
Base.getPlatform().init();
Preferences.init(null);
Theme.init();