-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
We have the following test case:
import io.github.artsok.RepeatedIfExceptionsTest;
@RepeatedIfExceptionsTest(repeats = 3)
void connectsToLocalServerViaSyscall() throws IOException {
final RandomServer server = new RandomServer().started();
final int started = this.startup();
try {
this.ensure(started == 0);
final int socket = this.openSocket();
try {
this.ensure(socket > 0);
final SockaddrIn addr = this.sockaddr(server.port);
MatcherAssert.assertThat(
String.format(
"Windows socket should have been connected to local server via syscall, but it didn't, error code is: %d",
this.getError()
),
Winsock.INSTANCE.connect(socket, addr, addr.size()),
Matchers.equalTo(0)
);
} finally {
this.closeSocket(socket);
}
} finally {
this.cleanup();
server.stop();
}
}qulice complaints with [INFO] PMD: src/test/java/EOorg/EOeolang/EOnk/EOsocketTest.java[154-154]: The class 'WindowsSocketTest' might be a test class, but it contains no test cases. (TestClassWithoutTestCases). I guess, it happens because qulice doesn't recognise io.github.artsok.RepeatedIfExceptionsTest annotations. Do you have any plans to support io.github.artsok annotations?
Reactions are currently unavailable