]> source.dussan.org Git - javassist.git/commitdiff
Fix deperecated junit.framework.Assert.
authornickl- <github@jigsoft.co.za>
Mon, 30 Oct 2017 06:07:43 +0000 (08:07 +0200)
committernickl- <github@jigsoft.co.za>
Mon, 30 Oct 2017 06:07:43 +0000 (08:07 +0200)
Changed to org.junit.Assert.

src/test/testproxy/ProxyTester.java

index b7f36bcfd3064219a089b90cb46cfad56537e218..e8f052fc79ca875b3a23f45dbd9e9c83610c8bc3 100644 (file)
@@ -3,13 +3,15 @@ package testproxy;
 import java.lang.reflect.Method;
 import java.lang.reflect.Constructor;
 import java.lang.reflect.Modifier;
+
+import org.junit.Assert;
+
 import java.lang.reflect.InvocationTargetException;
 import javassist.util.proxy.ProxyFactory;
 import javassist.util.proxy.MethodFilter;
 import javassist.util.proxy.MethodHandler;
 import javassist.util.proxy.ProxyObject;
 import javassist.util.proxy.Proxy;
-import junit.framework.Assert;
 import junit.framework.TestCase;
 import java.io.*;