From: <tk...@hy...> - 2008-03-05 22:22:16
|
Author: tkeeney Date: 2008-03-05 14:22:11 -0800 (Wed, 05 Mar 2008) New Revision: 8073 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=8073 Added: trunk/src/org/hyperic/util/unittest/server/TestServerLifecycleManagement.java Log: Test case to test the unit test framework itself. Added: trunk/src/org/hyperic/util/unittest/server/TestServerLifecycleManagement.java =================================================================== --- trunk/src/org/hyperic/util/unittest/server/TestServerLifecycleManagement.java (rev 0) +++ trunk/src/org/hyperic/util/unittest/server/TestServerLifecycleManagement.java 2008-03-05 22:22:11 UTC (rev 8073) @@ -0,0 +1,45 @@ +/* + * NOTE: This copyright does *not* cover user programs that use HQ + * program services by normal system calls through the application + * program interfaces provided as part of the Hyperic Plug-in Development + * Kit or the Hyperic Client Development Kit - this is merely considered + * normal use of the program, and does *not* fall under the heading of + * "derived work". + * + * Copyright (C) [2004-2008], Hyperic, Inc. + * This file is part of HQ. + * + * HQ is free software; you can redistribute it and/or modify + * it under the terms version 2 of the GNU General Public License as + * published by the Free Software Foundation. This program is distributed + * in the hope that it will be useful, but WITHOUT ANY WARRANTY; without + * even the implied warranty of MERCHANTABILITY or FITNESS FOR A + * PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA. + */ + +package org.hyperic.util.unittest.server; + + +/** + * A test case tasked with testing the server lifecycle management operations + * provided in the super class. + */ +public class TestServerLifecycleManagement extends BaseServerTestCase { + + public TestServerLifecycleManagement(String name) { + super(name); + } + + + public void testStartServer() throws Exception { + this.startServer(); + this.stopServer(); + } + +} |