]> source.dussan.org Git - sonarqube.git/commit
SONAR-8192 use a System2 impl always returning a bigger number
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 18 Oct 2016 13:49:26 +0000 (15:49 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 19 Oct 2016 12:45:13 +0000 (14:45 +0200)
commit98142b6ae35f142a8532de04b01bdaedecbdc870
tree961a9d5a176f6bb1dab480f3f38e1991888d08cc
parente89995f6c2780fe5107f753c2ffa550ad2716cb9
SONAR-8192 use a System2 impl always returning a bigger number

provides bullet proof reliability to unit tests checking updates actually occured by checking the value of the update_at column
server/sonar-server/src/test/java/org/sonar/server/authentication/UserIdentityAuthenticatorTest.java
server/sonar-server/src/test/java/org/sonar/server/permission/ws/BasePermissionWsTest.java
server/sonar-server/src/test/java/org/sonar/server/usergroups/ws/AddUserActionTest.java
server/sonar-server/src/test/java/org/sonar/server/usergroups/ws/RemoveUserActionTest.java
sonar-plugin-api/src/main/java/org/sonar/api/utils/internal/AlwaysIncreasingSystem2.java [new file with mode: 0644]