mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Applying checkstyle updates to test sources
This commit is contained in:
@ -136,13 +136,12 @@ class QJavalinAccessLoggerTest
|
||||
QInstance qInstance = TestUtils.defineInstance();
|
||||
new QJavalinImplementation(qInstance, new QJavalinMetaData()
|
||||
.withLoggerDisabled(false)
|
||||
.withLogFilter(logEntry ->
|
||||
switch(logEntry.logType())
|
||||
{
|
||||
case START, PROCESS_SUMMARY -> false;
|
||||
case END_SUCCESS, END_SUCCESS_SLOW -> true;
|
||||
case END_FAIL -> logEntry.actionName().startsWith("yes");
|
||||
}));
|
||||
.withLogFilter(logEntry -> switch(logEntry.logType())
|
||||
{
|
||||
case START, PROCESS_SUMMARY -> false;
|
||||
case END_SUCCESS, END_SUCCESS_SLOW -> true;
|
||||
case END_FAIL -> logEntry.actionName().startsWith("yes");
|
||||
}));
|
||||
|
||||
System.out.println("shouldn't log");
|
||||
QJavalinAccessLogger.logStart("test"); // shouldn't log
|
||||
|
@ -53,6 +53,9 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
*******************************************************************************/
|
||||
class QJavalinScriptsHandlerTest extends QJavalinTestBase
|
||||
{
|
||||
/***************************************************************************
|
||||
**
|
||||
***************************************************************************/
|
||||
@BeforeEach
|
||||
public void beforeEach() throws Exception
|
||||
{
|
||||
|
@ -96,7 +96,7 @@ public class QJavalinTestBase
|
||||
/*******************************************************************************
|
||||
**
|
||||
*******************************************************************************/
|
||||
static protected void restartServerWithInstance(QInstance qInstance) throws QInstanceValidationException
|
||||
protected static void restartServerWithInstance(QInstance qInstance) throws QInstanceValidationException
|
||||
{
|
||||
if(qJavalinImplementation != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user