mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-19 05:30:43 +00:00
Applying checkstyle updates to test sources
This commit is contained in:
@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user