/*
 * Copyright (C) 2005-2006 Kouji Sugisawa. All rights reserved.
 */

package jp.sourceforge.livez.dao.hibernate;

import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;

import junit.framework.TestCase;

/**
 * Hibernate 版 DAO + MySQL の基底のテスト用クラスです。<p>
 * 
 * @author 杉澤 浩二
 */
abstract class BaseMySQLTestCase extends TestCase {

	protected XmlBeanFactory factory;

	@Override
	protected void setUp() throws Exception {
		Resource res = new ClassPathResource("jp/sourceforge/livez/dao/hibernate/mysql-test.xml");
		this.factory = new XmlBeanFactory(res);
	}

}
