fix commit
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -9,8 +9,9 @@ import javax.validation.constraints.NotBlank;
|
||||
@Setter
|
||||
public class Theorem {
|
||||
private String theoremName1 ;
|
||||
private String theoremName2 ;
|
||||
@NotBlank(message = "Theorem name must not be blank") private String theoremName;
|
||||
private String theorem;
|
||||
private String theoremName2 ;
|
||||
|
||||
// @NotBlank(message = "Theorem name must not be blank") private String theoremName;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Theroem Page</title>
|
||||
<title>Theorem Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="" method="post">
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>$Title$</title>
|
||||
<title>abc</title>
|
||||
</head>
|
||||
<body>
|
||||
$END$
|
||||
|
||||
@@ -32,7 +32,7 @@ public class TheoremEntryControllerTest {
|
||||
assertEquals("Theorem",modelAndView.getViewName());
|
||||
}
|
||||
|
||||
@Test
|
||||
@Test
|
||||
public void saveTheorem(){
|
||||
|
||||
final ModelAndView modelAndView= theoremEntryController.enterTheoremPage();
|
||||
@@ -40,6 +40,6 @@ public class TheoremEntryControllerTest {
|
||||
assertNotNull(modelAndView);
|
||||
assertEquals("Theorem",modelAndView.getViewName());
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user