/*
* IconsTest.java
* Copyright 2011 Connor Petty <cpmeister@users.sourceforge.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Created on Feb 28, 2011, 11:55:55 PM
*/
package pcgen.gui2.tools;
import junit.framework.TestCase;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
/**
*
* @author Connor Petty <cpmeister@users.sourceforge.net>
*/
public class IconsTest extends TestCase
{
@BeforeClass
public static void setUpClass() throws Exception
{
}
@AfterClass
public static void tearDownClass() throws Exception
{
}
@Before
@Override
public void setUp() throws Exception
{
super.setUp();
}
@After
@Override
public void tearDown() throws Exception
{
super.tearDown();
}
/**
* Test that the icons in Icons actually exist
*/
@Test
public void testIconsExist()
{
System.out.println("getImageIcon");
for (Icons icon : Icons.values())
{
assertNotNull(icon.getImageIcon());
}
}
}