String[] testFiles = new String[] { "functionTests/tests/lang/" + TEST_LOG_FILE };
Test authorizedRun = TestConfiguration.embeddedSuite( DBOAccessTest.class );
authorizedRun = DatabasePropertyTestSetup.builtinAuthentication
( authorizedRun, LEGAL_USERS, "authorizationOnDBOAccessTest" );
authorizedRun = new SupportFilesSetup( authorizedRun, testFiles );
authorizedRun = TestConfiguration.sqlAuthorizationDecorator( authorizedRun );
Test unauthorizedRun = TestConfiguration.embeddedSuite( NoAuthorization.class );
unauthorizedRun = new SupportFilesSetup( unauthorizedRun, testFiles );
BaseTestSuite suite = new BaseTestSuite();
suite.addTest( authorizedRun );
suite.addTest( unauthorizedRun );