网站首页 新闻首页 网页设计图形动画软件编程网站开发办公软件操作系统数据库网络技术认证考试范文资料黑客攻防 书籍教程 进入论坛

JunitExam(2)

http://www.diybl.com/ 2008-1-5  网络 点击:  [ 评论 ]
文章搜索:    【点击打包该文章】

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package junitExam; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * * @author */ public class MasterTester extends TestCase{ public static Test suite(){ TestSuite result = new TestSuite(); //result.addTest(new FileReaderTester("testRead")); //result.addTest(new FileReaderTester("testReadAtEnd")); //will test all methods in FileReaderTester that started with test result.addTest(new TestSuite(FileReaderTester.class)); return result; } public static void main (String [] args) { junit.textui.TestRunner.run(suite()); } }

如果图片或页面不能正常显示请点击这里 站内搜索:   

文章评论

请您留言

 

最新新闻