mirror of
https://github.com/tommyskeff/futur4j.git
synced 2026-01-18 07:16:45 +00:00
remove test in futur-reactor
This commit is contained in:
@@ -2,10 +2,4 @@ dependencies {
|
||||
compileOnly(project(":futur-api"))
|
||||
implementation("org.jetbrains:annotations:24.1.0")
|
||||
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"))
|
||||
}
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user