FileDocCategorySizeDatePackage
MySQLCustomSQLTest.javaAPI DocHibernate 3.2.5945Tue May 08 16:56:00 BST 2007org.hibernate.test.sql.hand.custom.mysql

MySQLCustomSQLTest.java

//$Id: MySQLCustomSQLTest.java 10977 2006-12-12 17:28:04 -0600 (Tue, 12 Dec 2006) steve.ebersole@jboss.com $
package org.hibernate.test.sql.hand.custom.mysql;

import junit.framework.Test;

import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.MySQLDialect;
import org.hibernate.junit.functional.FunctionalTestClassTestSuite;
import org.hibernate.test.sql.hand.custom.CustomStoredProcTestSupport;

/**
 * Custom SQL tests for MySQL
 *
 * @author Gavin King
 */
public class MySQLCustomSQLTest extends CustomStoredProcTestSupport {

	public MySQLCustomSQLTest(String str) {
		super(str);
	}

	public String[] getMappings() {
		return new String[] { "sql/hand/custom/mysql/Mappings.hbm.xml" };
	}

	public static Test suite() {
		return new FunctionalTestClassTestSuite( MySQLCustomSQLTest.class );
	}

	public boolean appliesTo(Dialect dialect) {
		return ( dialect instanceof MySQLDialect );
	}
}