]> source.dussan.org Git - sonarqube.git/commit
SONAR-4453 Added tests to cover permission template application
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 15:19:51 +0000 (17:19 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 15:19:51 +0000 (17:19 +0200)
commit4c20d02a36d8da972e2983e4c02372285c76b153
tree15fd9b44a897c53ef3ec6a9c0bb19a0549c57bf9
parentd217475442c8b463724626325f27ff5bfe06fc14
SONAR-4453 Added tests to cover permission template application
21 files changed:
sonar-core/src/main/java/org/sonar/core/permission/ComponentPermissionFacade.java
sonar-core/src/main/resources/org/sonar/core/user/PermissionTemplateMapper.xml
sonar-core/src/main/resources/org/sonar/core/user/UserMapper.xml
sonar-core/src/test/java/org/sonar/core/permission/ComponentPermissionFacadeTest.java
sonar-core/src/test/java/org/sonar/core/user/PermissionDaoTest.java
sonar-core/src/test/resources/org/sonar/core/permission/ComponentPermissionFacadeTest/should_apply_permission_template-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/ComponentPermissionFacadeTest/should_apply_permission_template.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeGroupPermissionFromTemplate-result.xml
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeGroupPermissionFromTemplate.xml
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeNullGroupPermissionFromTemplate-result.xml
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeNullGroupPermissionFromTemplate.xml
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeUserPermissionFromTemplate-result.xml
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeUserPermissionFromTemplate.xml
sonar-server/src/main/java/org/sonar/server/permission/InternalPermissionTemplateService.java
sonar-server/src/main/java/org/sonar/server/permission/PermissionTemplateUpdater.java
sonar-server/src/main/webapp/WEB-INF/app/controllers/permission_templates_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/helpers/roles_helper.rb
sonar-server/src/main/webapp/WEB-INF/app/views/permission_templates/_edit_groups.html.erb
sonar-server/src/test/java/org/sonar/server/permission/InternalPermissionTemplateServiceTest.java
sonar-server/src/test/java/org/sonar/server/permission/PermissionTemplateTest.java