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

package jp.sourceforge.livez.dao.ibatis;

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 + PostgreSQL の基底のテスト用クラスです。<p>
 * 
 * @author 杉澤 浩二
 */
abstract class BasePostgreSQLTestCase extends TestCase {

	protected XmlBeanFactory factory;

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

}
