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:
@ -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"/>
|
||||
|
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user