diff src/test/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/ParentTest.java @ 38:cb9fabaedfd4

added tests and changed testing provider to junit47
author Shoshi TAMAKI
date Mon, 28 Jan 2013 18:52:52 +0900
parents
children 715a9fbf02fc
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/test/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/core/ParentTest.java	Mon Jan 28 18:52:52 2013 +0900
@@ -0,0 +1,21 @@
+package jp.ac.u_ryukyu.ie.cr.shoshi.jungle.core;
+
+import org.junit.Ignore;
+import org.junit.Test;
+
+import junit.framework.Assert;
+import junit.framework.TestCase;
+
+@Ignore
+public abstract class ParentTest<T extends Parent<?>> extends TestCase
+{
+	public abstract T instance();
+	
+	@Test
+	public void testGetChildren()
+	{
+		T instance = instance();
+		Children<?> children = instance.getChildren();
+		Assert.assertNotNull(children);
+	}
+}