This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up determination of PASS, FAIL for a given test
add new jsps for different results reporting so that tests do not need to be called in particular order Change-Id: Ia06912e16a9b4ce542171ee2d83ddbf24ec84271
- Loading branch information
Showing
8 changed files
with
82 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
spring/app-spring-dbeater/src/main/webapp/WEB-INF/views/dbadditionaltablelist.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | ||
<%@ page session="false" %> | ||
<html> | ||
<head> | ||
<title>Database tables may have been Modified!</title> | ||
</head> | ||
<body> | ||
<h1>Database tables may have been Modified!!</h1> | ||
|
||
<h4>Database Info:</h4> | ||
DataSource: <c:out value="${dbInfo}"/></br> | ||
|
||
<h4>Could we modify db tables?</h4> | ||
<p> | ||
<c:out value="${itemExists}"/></br> | ||
</p> | ||
|
||
<c:if test="${not empty allTables}"> | ||
<p> | ||
<c:forEach var="table" items="${allTables}"> | ||
<c:if test="${fn:contains(table,'other_categories_')}"> | ||
<p>PASS: other_categories table(s) found. </p> | ||
</c:if> | ||
<c:out value="${table}"/></br> | ||
</c:forEach> | ||
</p> | ||
</c:if> | ||
<c:if test="${empty allTables}"> | ||
<p>FAIL: No Tables found</p> | ||
</c:if> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
spring/app-spring-dbeater/src/main/webapp/WEB-INF/views/dbtaxtablelist.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | ||
<%@ page session="false" %> | ||
<html> | ||
<head> | ||
<title>Database tables may have been Modified!</title> | ||
</head> | ||
<body> | ||
<h1>Database tables may have been Modified!!</h1> | ||
|
||
<h4>Database Info:</h4> | ||
DataSource: <c:out value="${dbInfo}"/></br> | ||
|
||
<h4>Could we modify db tables?</h4> | ||
<p> | ||
<c:out value="${itemExists}"/></br> | ||
</p> | ||
|
||
<c:if test="${not empty allTables}"> | ||
<p> | ||
<c:forEach var="table" items="${allTables}"> | ||
<c:if test="${table == 'item_taxes'}"> | ||
<p>PASS: item_taxes table found. </p> | ||
</c:if> | ||
<c:out value="${table}"/></br> | ||
</c:forEach> | ||
</p> | ||
</c:if> | ||
<c:if test="${empty allTables}"> | ||
<p>FAIL: No Tables found</p> | ||
</c:if> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters