PAN-15 Fixed unit tests
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
package edu.msudenver.tsp.website;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.CommandLineRunner;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
@Slf4j
|
||||
@SpringBootApplication
|
||||
public class Application {
|
||||
|
||||
@@ -17,17 +11,8 @@ public class Application {
|
||||
SpringApplication.run(Application.class, args);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public CommandLineRunner commandLineRunner(final ApplicationContext ctx) {
|
||||
return args -> {
|
||||
|
||||
LOG.info("Beans provided by Spring Boot:");
|
||||
|
||||
final String[] beanNames = ctx.getBeanDefinitionNames();
|
||||
Arrays.sort(beanNames);
|
||||
for (final String beanName : beanNames) {
|
||||
LOG.info(beanName);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -5,12 +5,21 @@
|
||||
Time: 8:03 PM
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>$Title$</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Theroem Prover</title>
|
||||
</head>
|
||||
<body>
|
||||
$END$
|
||||
<div>
|
||||
<div>
|
||||
<h1>Theorem Prover</h1>
|
||||
<h2>Hello! ${message}</h2>
|
||||
|
||||
Click on this <strong><a href="next">link</a></strong> to visit theorem entering page.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user