摘要: 1 import org.junit.Test; 2 3 public class Demo { 4 5 /** 6 * 枚举 7 */ 8 @Test 9 public void test() {10 11 print(Grade.... 阅读全文
posted @ 2014-06-14 22:58 是但哥 阅读(132) 评论(0) 推荐(0)
摘要: 1 import org.junit.Test; 2 3 public class Demo { 4 5 /** 6 * 枚举 7 */ 8 @Test 9 public void test() {10 11 print(Grade.... 阅读全文
posted @ 2014-06-14 22:47 是但哥 阅读(1225) 评论(0) 推荐(0)
摘要: 1 import java.util.Arrays; 2 import java.util.List; 3 4 import org.junit.Test; 5 6 7 8 public class Demo { 9 10 /**11 * 可变参数12 */13... 阅读全文
posted @ 2014-06-14 21:22 是但哥 阅读(113) 评论(0) 推荐(0)
摘要: 1 import java.util.ArrayList; 2 import java.util.HashMap; 3 import java.util.Iterator; 4 import java.util.LinkedHashMap; 5 import java.util.List... 阅读全文
posted @ 2014-06-14 21:05 是但哥 阅读(133) 评论(0) 推荐(0)
摘要: 1 import junit.framework.Assert; 2 3 import org.junit.After; 4 import org.junit.Before; 5 import org.junit.Test; 6 7 public class JUnitTest { 8 9 ... 阅读全文
posted @ 2014-06-14 20:12 是但哥 阅读(160) 评论(0) 推荐(0)