📄 mysqlfixture.java
字号:
/* * XP Forum * * Copyright (c) 2002-2003 RedSoft Group. All rights reserved. * */package org.redsoft.forum.fixture;import org.redsoft.forum.dao.DAOFactory;/** * Fixture for MySQL. Must be used for all MySQL DAO test cases * * @author <a href="mailto:jwtronics@yahoo.com">John Wong</a> * * @version $Id: MysqlFixture.java,v 1.1.1.1 2004/02/04 03:52:13 mustang Exp $ */public class MysqlFixture { private JdbcFixture jdbcFixtureIns = new JdbcFixture(); public void setUp() throws Exception { jdbcFixtureIns.setUp(); // factory should init with data source DAOFactory factory = DAOFactory.getInstance(); //factory.init(jdbcFixtureIns.getDataSource()); } public void tearDown() throws Exception { jdbcFixtureIns.tearDown(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -