changeset 71:e2aee3228a72

Fixed org.icedrobot.daneel.junit.TestUtils. * src/test/java/org/icedrobot/daneel/junit/TestUtils.java (TestUtils_getClassLoader): Implemented.
author Xerxes R?nby <xerxes@zafena.se>
date Wed, 23 Mar 2011 11:00:12 +0100
parents 9cf792cbb36c
children 57fe21b3757e
files src/test/java/org/icedrobot/daneel/junit/TestUtils.java
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/test/java/org/icedrobot/daneel/junit/TestUtils.java	Wed Mar 23 10:32:31 2011 +0100
+++ b/src/test/java/org/icedrobot/daneel/junit/TestUtils.java	Wed Mar 23 11:00:12 2011 +0100
@@ -37,6 +37,10 @@
 
 package org.icedrobot.daneel.junit;
 
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
 import java.io.File;
 import java.lang.reflect.Method;
 
@@ -46,6 +50,12 @@
 
     private static DaneelClassLoader daneelClassLoader;
 
+    @Test
+    public void TestUtils_getClassLoader() {
+        DaneelClassLoader loader = getClassLoader();
+        assertTrue(loader!=null);
+    }
+
     /**
      * Create a ClassLoader from the IcedRobot test Android Package file
      * (*.apk). The source are currently at http://icedtea.classpath.org/people/volker/IcedRobotAndroidTests/