// Path: src/cn/com/tcc/TCC.java
// public static interface ErrorFunction extends Callback {
// 	public void callback(Pointer opaque, String msg);
// }


import org.junit.Assert;
import org.junit.Test;
import org.omg.CORBA.IntHolder;
import org.omg.CORBA.StringHolder;
import cn.com.tcc.TCC.ErrorFunction;
import com.sun.jna.Callback;
import com.sun.jna.Function;
import com.sun.jna.Pointer;

package cn.com.tcc;




public class SetErrorFuncTest extends BaseTest {
	@Test
	public void setErrorFunc() {
		State state = new State();
		final ObjHolder opaqueHolder = new ObjHolder();
		final StringHolder msgHolder = new StringHolder();

// Path: src/cn/com/tcc/TCC.java
// public static interface ErrorFunction extends Callback {
// 	public void callback(Pointer opaque, String msg);
// }


// Path: test/cn/com/tcc/SetErrorFuncTest.java
import org.junit.Assert;
import org.junit.Test;
import org.omg.CORBA.IntHolder;
import org.omg.CORBA.StringHolder;
import cn.com.tcc.TCC.ErrorFunction;
import com.sun.jna.Callback;
import com.sun.jna.Function;
import com.sun.jna.Pointer;

package cn.com.tcc;




public class SetErrorFuncTest extends BaseTest {
	@Test
	public void setErrorFunc() {
		State state = new State();
		final ObjHolder opaqueHolder = new ObjHolder();
		final StringHolder msgHolder = new StringHolder();

		state.setErrorFunc(new ErrorFunction() {
