Skip to content

Commit

Permalink
step
Browse files Browse the repository at this point in the history
  • Loading branch information
astubbs committed Apr 21, 2022
1 parent 60ebe82 commit 58db649
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import java.time.Instant;

import static io.stubbs.truth.generator.internal.TruthGeneratorGeneratedSourceTest.TEST_OUTPUT_DIRECTORY;
import static io.stubbs.truth.generator.internal.TruthGeneratorTest.TEST_OUTPUT_DIRECTORY;
import static io.stubbs.truth.generator.internal.modelSubjectChickens.ThreeSystemChildSubject.assertThat;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.time.chrono.Chronology;
Expand All @@ -33,17 +31,15 @@
import java.util.stream.Collectors;

import static com.google.common.truth.Truth.assertThat;
import static io.stubbs.truth.generator.internal.TruthGeneratorTest.TEST_OUTPUT_DIRECTORY;
import static io.stubbs.truth.generator.internal.modelSubjectChickens.ThreeSystemChildSubject.assertThat;

/**
* @author Antony Stubbs
*/
// todo fix method naming
@RunWith(JUnit4.class)
public class TruthGeneratorGeneratedSourceTest {

public static final Path TEST_OUTPUT_DIRECTORY = Paths.get("").resolve("target").toAbsolutePath();

static {
GeneratedMarker.setClock(MutableClock.epochUTC());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.google.common.truth.Correspondence;
import com.google.common.truth.ObjectArraySubject;
import com.google.common.truth.Truth;
import io.stubbs.truth.ManagedTruth;
import io.stubbs.truth.generator.SourceClassSets;
import io.stubbs.truth.generator.TestModelUtils;
Expand All @@ -22,6 +21,8 @@
import org.jboss.forge.roaster.model.source.ParameterSource;
import org.junit.Test;

import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.DayOfWeek;
import java.time.ZoneId;
import java.time.ZonedDateTime;
Expand All @@ -35,7 +36,6 @@
import static com.google.common.truth.Correspondence.from;
import static com.google.common.truth.Correspondence.transforming;
import static com.google.common.truth.Truth.assertThat;
import static io.stubbs.truth.generator.internal.TruthGeneratorGeneratedSourceTest.TEST_OUTPUT_DIRECTORY;
import static java.util.Optional.of;

public class TruthGeneratorTest {
Expand Down

0 comments on commit 58db649

Please sign in to comment.