Applying checkstyle updates to test sources

This commit is contained in:
2024-07-17 20:31:41 -05:00
parent 22d5bc547c
commit 840e1aada3
34 changed files with 353 additions and 226 deletions

View File

@ -552,7 +552,8 @@ class QPicoCliImplementationTest
*******************************************************************************/
private void assertRowValueById(String tableName, String columnName, String value, Integer id) throws Exception
{
TestUtils.runTestSql("SELECT " + columnName + " FROM " + tableName + " WHERE id=" + id, (rs -> {
TestUtils.runTestSql("SELECT " + columnName + " FROM " + tableName + " WHERE id=" + id, (rs ->
{
if(rs.next())
{
assertEquals(value, rs.getString(1));
@ -590,7 +591,8 @@ class QPicoCliImplementationTest
JSONObject deleteResult = JsonUtils.toJSONObject(testOutput.getOutput());
assertNotNull(deleteResult);
assertEquals(2, deleteResult.getInt("deletedRecordCount"));
TestUtils.runTestSql("SELECT id FROM person", (rs -> {
TestUtils.runTestSql("SELECT id FROM person", (rs ->
{
int rowsFound = 0;
while(rs.next())
{