From e546f6e157e79e4074ca23f7e4e48a5c9aea4fdb Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 09 五月 2019 14:30:08 +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