⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 animatedplanetstest.java

📁 Java mulitplayer strategy game. Adaptation of KDE Galaxy Conquest. (rules are changed - but still th
💻 JAVA
字号:
/*
 * AnimatedPlanetsTest.java
 * JUnit based test
 *
 * Created on 1 listopad 2005, 11:18
 */

package net.sf.jawp.client.gui.test;

import java.awt.Image;

import junit.framework.TestCase;
import net.sf.jawp.api.domain.stub.PlanetRO;
import net.sf.jawp.gui.client.semi3d.AnimatedPlanetsHelper;

/**
 *
 * @author jarek
 */
public class AnimatedPlanetsTest extends TestCase
{
	
	public AnimatedPlanetsTest(final String testName)
	{
		super(testName);
	}

	protected void setUp() throws Exception
	{
	}

	protected void tearDown() throws Exception
	{
	}
	
	// TODO add test methods here. The name must begin with 'test'. For example:
	public void testCreation() 
	{
		final PlanetRO pl = PlanetRO.createTestPlanet(1, "test" );
		final Image img = AnimatedPlanetsHelper.getInstance().getImage(pl, 0);
		assertNotNull( img );
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -