修复单元测试代码中对junit的依赖

This commit is contained in:
Binary Wang 2017-05-27 11:54:35 +08:00
parent a96e6f35b0
commit 46d94db6da
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,9 @@ import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.util.*; import java.util.*;
import static org.junit.Assert.*; import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;
import static org.testng.Assert.assertTrue;
/** /**
* 素材管理相关接口的测试 * 素材管理相关接口的测试

View File

@ -12,7 +12,7 @@ import org.testng.annotations.*;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.List; import java.util.List;
import static org.junit.Assert.assertNotNull; import static org.testng.AssertJUnit.assertNotNull;
/** /**
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a>