Skip to content

Commit 43f9e93

Browse files
committed
Fix benchmarks
1 parent 27f9e6d commit 43f9e93

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,17 @@
503503
</properties>
504504
<build>
505505
<plugins>
506+
<!-- Enable the compilation of the benchmarks -->
507+
<plugin>
508+
<artifactId>maven-compiler-plugin</artifactId>
509+
<version>${commons.compiler.version}</version>
510+
<configuration combine.self="override">
511+
<testIncludes>
512+
<testInclude>**/*</testInclude>
513+
</testIncludes>
514+
</configuration>
515+
</plugin>
516+
<!-- Hook the benchmarks to the test phase -->
506517
<plugin>
507518
<groupId>org.codehaus.mojo</groupId>
508519
<artifactId>exec-maven-plugin</artifactId>

src/test/java/org/apache/commons/lang3/HashSetvBitSetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
@BenchmarkMode(Mode.AverageTime)
3434
@OutputTimeUnit(TimeUnit.NANOSECONDS)
3535
@State(Scope.Thread)
36-
class HashSetvBitSetTest extends AbstractLangTest {
36+
public class HashSetvBitSetTest extends AbstractLangTest {
3737

3838
private static final int numberOfElementsToCompute = 10;
3939

src/test/java/org/apache/commons/lang3/StringUtilsIsMixedCaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
@OutputTimeUnit(TimeUnit.NANOSECONDS)
3434
@State(Scope.Thread)
3535
@Warmup(iterations = 5, time = 10)
36-
class StringUtilsIsMixedCaseTest {
36+
public class StringUtilsIsMixedCaseTest {
3737

3838
public static final String LOWER_CASE_LETTERS = "abcdefghijklmnopqrstuvwxyz";
3939
public static final String END_MATCH = "at the enD";

0 commit comments

Comments
 (0)