diff options
Diffstat (limited to 'sonar-plugin-api-impl')
-rw-r--r-- | sonar-plugin-api-impl/src/test/java/org/sonar/api/config/internal/MultivaluePropertyTest.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sonar-plugin-api-impl/src/test/java/org/sonar/api/config/internal/MultivaluePropertyTest.java b/sonar-plugin-api-impl/src/test/java/org/sonar/api/config/internal/MultivaluePropertyTest.java index 1452e78d673..d28c74fd946 100644 --- a/sonar-plugin-api-impl/src/test/java/org/sonar/api/config/internal/MultivaluePropertyTest.java +++ b/sonar-plugin-api-impl/src/test/java/org/sonar/api/config/internal/MultivaluePropertyTest.java @@ -116,7 +116,9 @@ public class MultivaluePropertyTest { return new Object[][] { {secure().nextAlphanumeric(1)}, {secure().nextAlphanumeric(2)}, - {secure().nextAlphanumeric(3 + new Random().nextInt(5))} + {secure().nextAlphanumeric(3)}, + {secure().nextAlphanumeric(5)}, + {secure().nextAlphanumeric(8)} }; } @@ -215,7 +217,9 @@ public class MultivaluePropertyTest { return new Object[][] { {randomTrimmedChars(1, random)}, {randomTrimmedChars(2, random)}, - {randomTrimmedChars(3 + random.nextInt(5), random)} + {randomTrimmedChars(3, random)}, + {randomTrimmedChars(5, random)}, + {randomTrimmedChars(8, random)} }; } |