Index: trunk/quest-plugin-core-test/.classpath
===================================================================
--- trunk/quest-plugin-core-test/.classpath	(revision 511)
+++ trunk/quest-plugin-core-test/.classpath	(revision 511)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" output="target/test-classes" path="src/test/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="src" output="target/classes" path="src/main/java">
+		<attributes>
+			<attribute name="optional" value="true"/>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+		<attributes>
+			<attribute name="maven.pomderived" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>
Index: trunk/quest-plugin-core-test/.project
===================================================================
--- trunk/quest-plugin-core-test/.project	(revision 511)
+++ trunk/quest-plugin-core-test/.project	(revision 511)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>quest-plugin-core-test</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.m2e.core.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
Index: trunk/quest-plugin-core-test/pom.xml
===================================================================
--- trunk/quest-plugin-core-test/pom.xml	(revision 511)
+++ trunk/quest-plugin-core-test/pom.xml	(revision 511)
@@ -0,0 +1,134 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>de.ugoe.cs.quest</groupId>
+	<artifactId>quest-plugin-core-test</artifactId>
+	<version>0.0.1-SNAPSHOT</version>
+	<name>quest-plugin-core-test</name>
+	<scm>
+		<url>https://quest.informatik.uni-goettingen.de/svn/quest/trunk/quest-plugin-core-test</url>
+	</scm>
+  <dependencies>
+    <dependency>
+      <groupId>de.ugoe.cs.quest</groupId>
+      <artifactId>quest-plugin-core</artifactId>
+      <version>0.0.1-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.8.1</version>
+        <scope>test</scope>
+    </dependency>
+    <dependency>
+	  <groupId>junit-addons</groupId>
+	  <artifactId>junit-addons</artifactId>
+	  <version>1.4</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.eclipse.m2e</groupId>
+          <artifactId>lifecycle-mapping</artifactId>
+          <version>1.0.0</version>
+          <configuration>
+            <lifecycleMappingMetadata>
+              <pluginExecutions>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-dependency-plugin</artifactId>
+                    <versionRange>[1.0.0,)</versionRange>
+                    <goals>
+                      <goal>unpack</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore/>
+                  </action>
+                </pluginExecution>
+                <pluginExecution>
+                  <pluginExecutionFilter>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>emma-maven-plugin</artifactId>
+                    <versionRange>[1.0-alpha-3,)</versionRange>
+                    <goals>
+                      <goal>emma</goal>
+                    </goals>
+                  </pluginExecutionFilter>
+                  <action>
+                    <ignore/>
+                  </action>
+                </pluginExecution>
+              </pluginExecutions>
+            </lifecycleMappingMetadata>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>1.6</source>
+          <target>1.6</target>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>2.4</version>
+        <executions>
+          <execution>
+            <id>unpack</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>de.ugoe.cs.quest</groupId>
+                  <artifactId>quest-plugin-core</artifactId>
+                  <version>0.0.1-SNAPSHOT</version>
+                  <outputDirectory>${project.build.directory}/classes</outputDirectory>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>emma-maven-plugin</artifactId>
+        <version>1.0-alpha-3</version>
+        <inherited>true</inherited>          
+        <executions>
+          <execution>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>emma</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.3.2</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
Index: trunk/quest-plugin-core-test/src/test/java/de/ugoe/cs/quest/plugin/PluginLoaderTest.java
===================================================================
--- trunk/quest-plugin-core-test/src/test/java/de/ugoe/cs/quest/plugin/PluginLoaderTest.java	(revision 511)
+++ trunk/quest-plugin-core-test/src/test/java/de/ugoe/cs/quest/plugin/PluginLoaderTest.java	(revision 511)
@@ -0,0 +1,158 @@
+package de.ugoe.cs.quest.plugin;
+
+import java.io.File;
+
+import junitx.framework.ArrayAssert;
+
+import org.junit.*;
+import static org.junit.Assert.*;
+
+/**
+ * The class <code>PluginLoaderTest</code> contains tests for the class
+ * <code>{@link PluginLoader}</code>.
+ * 
+ * @author Steffen Herbold
+ * @version 1.0
+ */
+public class PluginLoaderTest {
+	
+	@Test
+	public void testPluginLoader_1() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		assertNotNull(loader);
+	}
+	
+	@Test(expected = java.security.InvalidParameterException.class)
+	public void testPluginLoader_2() throws Exception {
+		new PluginLoader(null);
+	}
+	
+	@Test(expected = java.security.InvalidParameterException.class)
+	public void testPluginLoader_3() throws Exception {
+		new PluginLoader(new File("testdata/de.ugoe.cs.quest.plugin.PluginLoaderTest/jfcmonitor.jar"));
+	}
+		
+	@Test
+	public void testCheckNameConformity_1() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "quest-plugin-jfc-1.0.jar";
+		boolean expected = true;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_2() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "quest-plugin-jf-c-1.0.jar";
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_3() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "quest-plugin-jfc.jar";
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_4() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "quest-plugi-jfc-1.0.jar";
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_5() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "quest-pluginjfc-1.0.jar";
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_6() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "quest-plugin-jfc-1-0.jar";
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_7() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "quest-plugin-jfc-1.0.nojar";
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_8() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = null;
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testCheckNameConformity_9() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		String filename = "";
+		boolean expected = false;
+		
+		boolean result = loader.checkNameConformity(filename);
+		
+		assertEquals(expected, result);
+	}
+	
+	@Test
+	public void testGetClassPathFromJar_1() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		File jarFile = new File("testdata/de.ugoe.cs.quest.plugin.PluginLoaderTest/jfcmonitor.jar");
+		
+		String[] expected = new String[]{ "file:" + jarFile.getParentFile().getAbsolutePath()+"/javahelperlib.jar" };
+				
+		String[] result = loader.getClassPathFromJar(jarFile);
+		
+		ArrayAssert.assertEquivalenceArrays(expected, result);
+	}
+	
+	@Test
+	public void testGetClassPathFromJar_2() throws Exception {
+		PluginLoader loader = new PluginLoader(new File("."));
+		File jarFile = new File("testdata/de.ugoe.cs.quest.plugin.PluginLoaderTest/jmi.jar");
+		
+		String[] expected = new String[]{ };
+				
+		String[] result = loader.getClassPathFromJar(jarFile);
+		
+		ArrayAssert.assertEquivalenceArrays(expected, result);
+	}
+
+}
