OriginalCompleteBeforeOriginalCompleteAfterBeforeAfterProjectCommitCompilationUnitLineNosNamesTemplateVariableToCodeBeforeRelevantImportsTemplateVariableToCodeAfterisRelevantisSafe
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomNonProjectsSet,null,UserRole.USER)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomNonProjectsSet,null,UserRole.USER)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomNonProjectsSet,null,UserRole.USER)underTest.keepAuthorizedProjectUuids(dbSession,randomNonProjectsSet,null,UserRole.USER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_1275
_2273
_1randomNonProjectsSet
_2randomNonProjectsSet
TCIVarrandomNonProjectsSet
v0underTest
v1null
v2UserRole.USER
v3dbSession
TCIVarrandomNonProjectsSet
v0underTest
v1null
v2UserRole.USER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomNonProjectsSet,user.getId(),UserRole.USER)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomNonProjectsSet,user.getId(),UserRole.USER)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomNonProjectsSet,user.getId(),UserRole.USER)underTest.keepAuthorizedProjectUuids(dbSession,randomNonProjectsSet,user.getId(),UserRole.USER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_1286
_2283
_1randomNonProjectsSet
_2randomNonProjectsSet
TCIVarrandomNonProjectsSet
v0underTest
v1user.getId()
v2UserRole.USER
v3dbSession
TCIVarrandomNonProjectsSet
v0underTest
v1user.getId()
v2UserRole.USER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,null,UserRole.USER)).containsAll(randomPublicProjectIds);assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectUuids,null,UserRole.USER)).containsAll(randomPublicProjectUuids);underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,null,UserRole.USER)underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectIds,null,UserRole.USER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_174
_274
_1randomPublicProjectIds
_2randomPublicProjectUuids
TCIVarrandomPublicProjectIds
v0underTest
v1null
v2UserRole.USER
v3dbSession
TCIVarrandomPublicProjectIds
v0underTest
v1null
v2UserRole.USER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,user.getId(),UserRole.USER)).containsAll(randomPublicProjectIds);assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectUuids,user.getId(),UserRole.USER)).containsAll(randomPublicProjectUuids);underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,user.getId(),UserRole.USER)underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectIds,user.getId(),UserRole.USER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_174
_274
_1randomPublicProjectIds
_2randomPublicProjectUuids
TCIVarrandomPublicProjectIds
v0underTest
v1user.getId()
v2UserRole.USER
v3dbSession
TCIVarrandomPublicProjectIds
v0underTest
v1user.getId()
v2UserRole.USER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,null,UserRole.CODEVIEWER)).containsAll(randomPublicProjectIds);assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectUuids,null,UserRole.CODEVIEWER)).containsAll(randomPublicProjectUuids);underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,null,UserRole.CODEVIEWER)underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectIds,null,UserRole.CODEVIEWER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_174
_274
_1randomPublicProjectIds
_2randomPublicProjectUuids
TCIVarrandomPublicProjectIds
v0underTest
v1null
v2UserRole.CODEVIEWER
v3dbSession
TCIVarrandomPublicProjectIds
v0underTest
v1null
v2UserRole.CODEVIEWER
v3dbSession
UsesTrue
Set<Long> authorizedProjectIds=dbClient.authorizationDao().keepAuthorizedProjectIds(dbSession,componentIds,userSession.getUserId(),UserRole.USER);Set<String> authorizedProjectUuids=dbClient.authorizationDao().keepAuthorizedProjectUuids(dbSession,componentUuids,userSession.getUserId(),UserRole.USER);dbClient.authorizationDao().keepAuthorizedProjectIds(dbSession,componentIds,userSession.getUserId(),UserRole.USER)dbClient.authorizationDao().keepAuthorizedProjectUuids(dbSession,componentIds,userSession.getUserId(),UserRole.USER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.server.notification.ws.ListAction
_1161
_2161
_1componentIds
_2componentUuids
TCIVarcomponentIds
v0dbClient.authorizationDao()
v1userSession.getUserId()
v2UserRole.USER
v3dbSession
TCIVarcomponentIds
v0dbClient.authorizationDao()
v1userSession.getUserId()
v2UserRole.USER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,user.getId(),UserRole.CODEVIEWER)).containsAll(randomPublicProjectIds);assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectUuids,user.getId(),UserRole.CODEVIEWER)).containsAll(randomPublicProjectUuids);underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,user.getId(),UserRole.CODEVIEWER)underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectIds,user.getId(),UserRole.CODEVIEWER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_174
_274
_1randomPublicProjectIds
_2randomPublicProjectUuids
TCIVarrandomPublicProjectIds
v0underTest
v1user.getId()
v2UserRole.CODEVIEWER
v3dbSession
TCIVarrandomPublicProjectIds
v0underTest
v1user.getId()
v2UserRole.CODEVIEWER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,null,randomPermission)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectUuids,null,randomPermission)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,null,randomPermission)underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectIds,null,randomPermission)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_174
_274
_1randomPublicProjectIds
_2randomPublicProjectUuids
TCIVarrandomPublicProjectIds
v0underTest
v1null
v2randomPermission
v3dbSession
TCIVarrandomPublicProjectIds
v0underTest
v1null
v2randomPermission
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,user.getId(),randomPermission)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectUuids,user.getId(),randomPermission)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPublicProjectIds,user.getId(),randomPermission)underTest.keepAuthorizedProjectUuids(dbSession,randomPublicProjectIds,user.getId(),randomPermission)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_174
_274
_1randomPublicProjectIds
_2randomPublicProjectUuids
TCIVarrandomPublicProjectIds
v0underTest
v1user.getId()
v2randomPermission
v3dbSession
TCIVarrandomPublicProjectIds
v0underTest
v1user.getId()
v2randomPermission
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),UserRole.USER)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,user.getId(),UserRole.USER)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),UserRole.USER)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,user.getId(),UserRole.USER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2UserRole.USER
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2UserRole.USER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,UserRole.USER)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,null,UserRole.USER)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,UserRole.USER)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,null,UserRole.USER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2UserRole.USER
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2UserRole.USER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),UserRole.CODEVIEWER)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,user.getId(),UserRole.CODEVIEWER)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),UserRole.CODEVIEWER)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,user.getId(),UserRole.CODEVIEWER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2UserRole.CODEVIEWER
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2UserRole.CODEVIEWER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,UserRole.CODEVIEWER)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,null,UserRole.CODEVIEWER)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,UserRole.CODEVIEWER)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,null,UserRole.CODEVIEWER)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2UserRole.CODEVIEWER
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2UserRole.CODEVIEWER
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),perm)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,user.getId(),perm)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),perm)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,user.getId(),perm)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2perm
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2perm
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),randomPermission)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,user.getId(),randomPermission)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,user.getId(),randomPermission)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,user.getId(),randomPermission)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2randomPermission
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1user.getId()
v2randomPermission
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,perm)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,null,perm)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,perm)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,null,perm)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2perm
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2perm
v3dbSession
UsesTrue
assertThat(underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,randomPermission)).isEmpty();assertThat(underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectUuids,null,randomPermission)).isEmpty();underTest.keepAuthorizedProjectIds(dbSession,randomPrivateProjectIds,null,randomPermission)underTest.keepAuthorizedProjectUuids(dbSession,randomPrivateProjectIds,null,randomPermission)sonarqubed8081f847f92247a64166572605876e67e9a34edorg.sonar.db.permission.AuthorizationDaoTest
_175
_275
_1randomPrivateProjectIds
_2randomPrivateProjectUuids
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2randomPermission
v3dbSession
TCIVarrandomPrivateProjectIds
v0underTest
v1null
v2randomPermission
v3dbSession
UsesTrue