Skip to content

Commit

Permalink
use build-in temp folder extension (via #332)
Browse files Browse the repository at this point in the history
  • Loading branch information
valfirst authored and baev committed Feb 19, 2019
1 parent 93ecfde commit 4a1ed4a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 18 deletions.
1 change: 0 additions & 1 deletion allure-java-commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 13,6 @@ dependencies {
testImplementation("io.github.benas:random-beans")
testImplementation("io.github.glytching:junit-extensions")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testImplementation("org.mockito:mockito-core")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 17,7 @@

import io.qameta.allure.model.TestResult;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junitpioneer.jupiter.TempDirectory;
import org.junitpioneer.jupiter.TempDirectory.TempDir;
import org.junit.jupiter.api.io.TempDir;

import java.nio.file.Path;
import java.util.UUID;
Expand All @@ -31,7 29,6 @@
/**
* @author charlie (Dmitry Baev).
*/
@ExtendWith(TempDirectory.class)
public class FileSystemResultsWriterTest {

@Test
Expand Down
1 change: 0 additions & 1 deletion allure-jbehave/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 9,6 @@ dependencies {
api(project(":allure-java-commons"))
implementation("org.jbehave:jbehave-core:$jbehaveVersion")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 38,7 @@
import org.jbehave.core.steps.InjectableStepsFactory;
import org.jbehave.core.steps.InstanceStepsFactory;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junitpioneer.jupiter.TempDirectory;
import org.junit.jupiter.api.io.TempDir;

import java.io.File;
import java.nio.file.Path;
Expand All @@ -53,14 52,10 @@
/**
* @author charlie (Dmitry Baev).
*/
@ExtendWith(TempDirectory.class)
class AllureJbehaveTest {

private final Path temp;

public AllureJbehaveTest(@TempDirectory.TempDir final Path temp) {
this.temp = temp;
}
@TempDir
Path temp;

@Test
void shouldSetName() {
Expand Down
1 change: 0 additions & 1 deletion allure-jsonunit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 11,6 @@ dependencies {
implementation("net.javacrumbs.json-unit:json-unit:$jsonUnitVersion")
implementation("org.apache.commons:commons-lang3")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
1 change: 0 additions & 1 deletion allure-junit4/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 9,6 @@ dependencies {
api(project(":allure-java-commons"))
implementation("junit:junit:$junitVersion")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
1 change: 0 additions & 1 deletion allure-model/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 7,6 @@ dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind")
testImplementation("io.github.benas:random-beans")
testImplementation("org.assertj:assertj-core")
testImplementation("org.junit-pioneer:junit-pioneer")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.mockito:mockito-core")
testImplementation("org.slf4j:slf4j-simple")
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 100,6 @@ configure(subprojects) {
dependency("org.freemarker:freemarker:2.3.28")
dependency("org.jboss.resteasy:resteasy-client:3.6.2.Final")
dependency("org.jooq:joor-java-8:0.9.10")
dependency("org.junit-pioneer:junit-pioneer:0.3.0")
dependency("org.mock-server:mockserver-netty:5.5.1")
dependency("org.mockito:mockito-core:2.24.0")
dependency("org.slf4j:slf4j-api:1.7.25")
Expand Down

0 comments on commit 4a1ed4a

Please sign in to comment.