Skip to content

Commit

Permalink
Replace test usages of javax.inject annotations with Guice
Browse files Browse the repository at this point in the history
  • Loading branch information
dain committed Mar 21, 2024
1 parent 19d9436 commit 4f384af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
package io.airlift.compress;

import com.google.common.primitives.Bytes;
import com.google.inject.Inject;
import io.airlift.compress.benchmark.DataSet;
import org.testng.SkipException;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;

import javax.inject.Inject;

import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.Buffer;
Expand Down
3 changes: 1 addition & 2 deletions src/test/java/io/airlift/compress/TestingModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.Provides;
import com.google.inject.Singleton;
import io.airlift.compress.benchmark.DataSet;
import org.openjdk.jmh.annotations.Param;

import javax.inject.Singleton;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
Expand Down

0 comments on commit 4f384af

Please sign in to comment.