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

📄 testgoodstypemanager.java

📁 关于商品的进、销、存管理系统
💻 JAVA
字号:
package supertest;

import junit.framework.TestCase;

import supercms.*;
import supershopmanager.*;
public class TestGoodsTypeManager extends TestCase {

public GoodsTypeManager gtm;


	public static void main(String[] args) {
		junit.textui.TestRunner.run(TestGoodsTypeManager.class);
	}

	public TestGoodsTypeManager(String arg0) {
		super(arg0);
	}

	protected void setUp() throws Throwable {
		super.setUp();
	
	
		gtm=new GoodsTypeManager();
	}

	protected void tearDown() throws Throwable {
		super.tearDown();
	}

	/*
	 * Test method for 'supercms.GoodsTypeManager.addGoodsType(GoodsType)'
	 */
	public void testgetcont() {
		
	try {
		int n=gtm.getcount();
		System.out.println(n);
	} catch (Exception e) {
		// TODO Auto-generated catch block
		e.printStackTrace();
	}

		
	}

}

⌨️ 快捷键说明

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