android junit入门(三)Application测试

测试Application

public class TestApplication extends ApplicationTestCase<TApplication> {

	public TestApplication() {
		super(TApplication.class);
	}

	@Override
	protected void setUp() throws Exception {
		super.setUp();
	}

	@SmallTest
	public void testPreconditions() {
	}

	/**
	 * Test basic startup/shutdown of Application
	 */
	@MediumTest
	public void testSimpleCreate() {
		createApplication();
	}

}

你可能感兴趣的:(application)