提交 199fb26d authored 作者: mry's avatar mry

feat(web): 添加了启动类,删除了各个test中的方法以及注解

上级 22e81adc
package org.matrix; package org.matrix;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
/** /**
* Unit test for simple App. * Unit test for simple App.
*/ */
public class AppTest public class AppTest {
{
/**
* Rigorous Test :-)
*/
@Test
public void shouldAnswerWithTrue()
{
assertTrue( true );
}
} }
package org.matrix; package org.matrix;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/** /**
* Hello world! * Hello world!
* *
* @author 27795
*/ */
public class App @SpringBootApplication
{ public class App {
public static void main( String[] args ) public static void main(String[] args) {
{ SpringApplication.run(App.class);
System.out.println( "Hello World!" );
} }
} }
package org.matrix; package org.matrix;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
/** /**
* Unit test for simple App. * Unit test for simple App.
*/ */
public class AppTest public class AppTest {
{
/**
* Rigorous Test :-)
*/
@Test
public void shouldAnswerWithTrue()
{
assertTrue( true );
}
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论