Skip to content

Commit

Permalink
introduce new subproject junit-tests and moved existing tests over
Browse files Browse the repository at this point in the history
  • Loading branch information
junit-builds committed Dec 3, 2015
1 parent 59a0a13 commit 950bd89
Show file tree
Hide file tree
Showing 24 changed files with 31 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ bin/
*.iml
*.ipr
*.iws
*.uml
.idea/

# Misc
Expand Down
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ subprojects {
}

dependencies {
testCompile("org.assertj:assertj-core:${assertJVersion}")
testCompile("junit:junit:${junit4Version}")
testRuntime("org.apache.logging.log4j:log4j-core:${log4JVersion}")
testRuntime("org.apache.logging.log4j:log4j-jul:${log4JVersion}")
}

eclipse {
Expand Down
21 changes: 21 additions & 0 deletions junit-tests/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
dependencies {
compile(project(':junit-commons'))
compile(project(':junit-console'))
compile(project(':junit-engine-api'))
compile(project(':junit-launcher'))
compile(project(':junit4-launcher-runner'))
compile(project(':junit4-engine'))
compile(project(':junit5-api'))
compile(project(':junit5-engine'))


testCompile("org.assertj:assertj-core:${assertJVersion}")
testCompile("junit:junit:${junit4Version}")

testRuntime("org.apache.logging.log4j:log4j-core:${log4JVersion}")
testRuntime("org.apache.logging.log4j:log4j-jul:${log4JVersion}")

}



Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
import static org.junit.gen5.api.Assertions.assertTrue;
import static org.junit.gen5.api.Assertions.fail;
import static org.junit.gen5.api.Assumptions.assumeTrue;
import static org.junit.gen5.engine.TestPlanSpecification.build;
import static org.junit.gen5.engine.TestPlanSpecification.forClass;
import static org.junit.gen5.engine.TestPlanSpecification.forUniqueId;
import static org.junit.gen5.engine.TestPlanSpecification.*;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

package org.junit.gen5.engine.junit5;

import static org.junit.gen5.api.Assertions.assertEquals;
import static org.junit.gen5.api.Assertions.assertNotNull;
import static org.junit.gen5.api.Assertions.assertTrue;
import static org.junit.gen5.api.Assertions.*;

import org.junit.Assert;
import org.junit.Ignore;
Expand Down
5 changes: 5 additions & 0 deletions open-test-alliance/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ compileJava {
sourceCompatibility = 1.6
targetCompatibility = 1.6
}


dependencies {
testCompile("junit:junit:4.12")
}
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ include "junit4-engine"
include "junit5-api"
include "junit5-engine"
include "junit-gradle"
include "junit-tests"

include "open-test-alliance"

include "sample-extension"
Expand Down

0 comments on commit 950bd89

Please sign in to comment.