From 8a524787c88a9128cc69af890d4181a01aad0e8c Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期六, 06 七月 2019 23:09:33 +0800
Subject: [PATCH] 修改代码生成器生成的app 加入user_id 的问题
---
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