From bf47d41dddf76c58a41692e492014499f9d433ae Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期五, 09 八月 2019 23:13:48 +0800
Subject: [PATCH] 服务绑定 及 代码生成器开发测试完成
---
OrderService/src/test/java/com/java110/AppTest.java | 30 ++++++------------------------
1 files changed, 6 insertions(+), 24 deletions(-)
diff --git a/OrderService/src/test/java/com/java110/AppTest.java b/OrderService/src/test/java/com/java110/AppTest.java
index f007402..9605bca 100644
--- a/OrderService/src/test/java/com/java110/AppTest.java
+++ b/OrderService/src/test/java/com/java110/AppTest.java
@@ -1,37 +1,19 @@
package com.java110;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
/**
* Unit test for simple App.
*/
public class AppTest
- extends TestCase
{
/**
- * Create the test case
- *
- * @param testName name of the test case
+ * Rigorous Test :-)
*/
- public AppTest( String testName )
- {
- super( testName );
- }
-
- /**
- * @return the suite of tests being tested
- */
- public static Test suite()
- {
- return new TestSuite( AppTest.class );
- }
-
- /**
- * Rigourous Test :-)
- */
- public void testApp()
+ @Test
+ public void shouldAnswerWithTrue()
{
assertTrue( true );
}
--
Gitblit v1.8.0