remove test in futur-reactor

This commit is contained in:
tommyskeff
2024-03-31 20:20:20 +01:00
parent 7763f1e40b
commit 62e90319ea
3 changed files with 0 additions and 34 deletions

View File

@@ -18,11 +18,4 @@ subprojects {
repositories { repositories {
mavenCentral() mavenCentral()
} }
test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}
} }

View File

@@ -2,10 +2,4 @@ dependencies {
compileOnly(project(":futur-api")) compileOnly(project(":futur-api"))
implementation("org.jetbrains:annotations:24.1.0") implementation("org.jetbrains:annotations:24.1.0")
implementation("io.projectreactor:reactor-core:3.6.4") implementation("io.projectreactor:reactor-core:3.6.4")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.slf4j:slf4j-api:2.0.12")
testImplementation("ch.qos.logback:logback-classic:1.5.3")
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
testImplementation(project(":futur-api"))
} }

View File

@@ -1,21 +0,0 @@
package dev.tommyjs.futur.reactor;
import dev.tommyjs.futur.executor.SinglePoolExecutor;
import dev.tommyjs.futur.impl.SimplePromiseFactory;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import reactor.core.publisher.Mono;
public class ReactorTest {
@Test
void test() {
Logger logger = LoggerFactory.getLogger(ReactorTest.class);
var pfac = new SimplePromiseFactory(SinglePoolExecutor.create(1), logger);
ReactorTransformer.wrapMono(Mono.error(new Exception("Test Error")), pfac)
.logExceptions("test");
}
}