Fix checkstyle issues

This commit is contained in:
Paul Schaub 2023-04-27 14:32:13 +02:00
parent 312cdb69c9
commit 419056ba4c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
8 changed files with 21 additions and 33 deletions

View file

@ -4,18 +4,16 @@
package sop;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import sop.util.UTCUtil;
import java.nio.charset.StandardCharsets;
import java.text.ParseException;
import java.util.Collections;
import java.util.List;
import org.junit.jupiter.api.Test;
import sop.ByteArrayAndResult;
import sop.Verification;
import sop.util.UTCUtil;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class ByteArrayAndResultTest {

View file

@ -4,16 +4,15 @@
package sop;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import java.util.HashMap;
import java.util.Map;
import org.junit.jupiter.api.Test;
import sop.MicAlg;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class MicAlgTest {

View file

@ -5,7 +5,6 @@
package sop;
import org.junit.jupiter.api.Test;
import sop.Profile;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;

View file

@ -4,14 +4,13 @@
package sop;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.StandardCharsets;
import org.junit.jupiter.api.Test;
import sop.Ready;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
public class ReadyTest {

View file

@ -4,8 +4,9 @@
package sop;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import sop.exception.SOPGPException;
import sop.util.UTCUtil;
import java.io.IOException;
import java.io.OutputStream;
@ -14,12 +15,8 @@ import java.text.ParseException;
import java.util.Collections;
import java.util.List;
import org.junit.jupiter.api.Test;
import sop.ByteArrayAndResult;
import sop.ReadyWithResult;
import sop.Verification;
import sop.exception.SOPGPException;
import sop.util.UTCUtil;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class ReadyWithResultTest {

View file

@ -4,14 +4,13 @@
package sop;
import org.junit.jupiter.api.Test;
import sop.util.HexUtil;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import org.junit.jupiter.api.Test;
import sop.SessionKey;
import sop.util.HexUtil;
public class SessionKeyTest {
@Test

View file

@ -4,11 +4,9 @@
package sop;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import sop.MicAlg;
import sop.SigningResult;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class SigningResultTest {

View file

@ -5,7 +5,6 @@
package sop;
import org.junit.jupiter.api.Test;
import sop.Verification;
import sop.enums.SignatureMode;
import sop.testsuite.assertions.VerificationAssert;
import sop.util.UTCUtil;