geforkt von Mirrors/Velocity
Native tests should only run on Linux
Dieser Commit ist enthalten in:
Ursprung
62d3f61a77
Commit
ae8852dc9d
@ -33,13 +33,13 @@ class VelocityCompressorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@EnabledOnOs({MAC, LINUX})
|
||||
@EnabledOnOs({LINUX})
|
||||
void sanityCheckNative() {
|
||||
assertThrows(IllegalArgumentException.class, () -> Natives.compress.get().create(-42));
|
||||
}
|
||||
|
||||
@Test
|
||||
@EnabledOnOs({MAC, LINUX})
|
||||
@EnabledOnOs({LINUX})
|
||||
void nativeIntegrityCheck() throws DataFormatException {
|
||||
VelocityCompressor compressor = Natives.compress.get().create(Deflater.DEFAULT_COMPRESSION);
|
||||
if (compressor.preferredBufferType() != BufferPreference.DIRECT_REQUIRED) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren