1.1 --- a/src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java Thu Feb 12 21:40:00 2015 +0100 1.2 +++ b/src/org/gege/caldavsyncadapter/android/entities/AndroidEvent.java Thu Feb 12 21:48:00 2015 +0100 1.3 @@ -72,6 +72,8 @@ 1.4 import java.net.URISyntaxException; 1.5 import java.text.ParseException; 1.6 1.7 +import static org.junit.Assert.*; 1.8 + 1.9 //import android.accounts.Account; 1.10 //import android.content.ContentProviderClient; 1.11 //import android.content.ContentValues; 1.12 @@ -317,6 +319,7 @@ 1.13 public boolean createIcs(String strUid) { 1.14 boolean Result = false; 1.15 TimeZone timeZone = null; 1.16 + assertNotNull(Thread.currentThread().getContextClassLoader()); 1.17 TimeZoneRegistry registry = TimeZoneRegistryFactory.getInstance().createRegistry(); 1.18 //TODO: do not simply create the ics-file new. take into account the RAWDATA if available 1.19 /*