kopia lustrzana https://github.com/bertrik/ttnhabbridge
remove unused stuff
rodzic
413f2ddb56
commit
7f99b8a1cf
|
@ -1,7 +1,6 @@
|
|||
package nl.sikken.bertrik.hab.amateurSondehub;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
import java.util.List;
|
||||
|
|
|
@ -5,7 +5,6 @@ import java.time.Instant;
|
|||
import java.util.Arrays;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mockito.Mockito;
|
||||
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
package nl.sikken.bertrik.hab.amateurSondehub.docs;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Unit tests for PayloadTelemetryDoc.
|
||||
*/
|
||||
public final class PayloadTelemetryDocTest {
|
||||
|
||||
/**
|
||||
* Verifies basic formatting.
|
||||
*/
|
||||
@Test
|
||||
public void testFormat() {
|
||||
Instant instant = Instant.now();
|
||||
AmateurSondehubPayloadTelemetryDoc doc = new AmateurSondehubPayloadTelemetryDoc(instant, new byte[] {1, 2, 3});
|
||||
doc.addCallSign("BERTRIK");
|
||||
String json = doc.format();
|
||||
|
||||
Assert.assertNotNull(json);
|
||||
}
|
||||
|
||||
}
|
Ładowanie…
Reference in New Issue