refactor: re-formatted JSONTest
This commit is contained in:
parent
2ff309500e
commit
6a6669ae5d
@ -2,19 +2,27 @@ package uulm.teamname.marvelous.gamelibrary.json;
|
|||||||
|
|
||||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
|
import net.jqwik.api.*;
|
||||||
|
import net.jqwik.api.lifecycle.BeforeContainer;
|
||||||
|
import net.jqwik.api.lifecycle.BeforeProperty;
|
||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
import org.junit.jupiter.api.Disabled;
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import static org.assertj.core.api.Assertions.*;
|
import static org.assertj.core.api.Assertions.*;
|
||||||
|
|
||||||
|
import uulm.teamname.marvelous.gamelibrary.IntVector2;
|
||||||
import uulm.teamname.marvelous.gamelibrary.entities.EntityID;
|
import uulm.teamname.marvelous.gamelibrary.entities.EntityID;
|
||||||
|
import uulm.teamname.marvelous.gamelibrary.entities.EntityType;
|
||||||
|
import uulm.teamname.marvelous.gamelibrary.entities.Rock;
|
||||||
import uulm.teamname.marvelous.gamelibrary.events.Event;
|
import uulm.teamname.marvelous.gamelibrary.events.Event;
|
||||||
import uulm.teamname.marvelous.gamelibrary.events.EventBuilder;
|
import uulm.teamname.marvelous.gamelibrary.events.EventBuilder;
|
||||||
import uulm.teamname.marvelous.gamelibrary.events.EventType;
|
import uulm.teamname.marvelous.gamelibrary.events.EventType;
|
||||||
import uulm.teamname.marvelous.gamelibrary.json.basic.EventMessage;
|
import uulm.teamname.marvelous.gamelibrary.json.basic.EventMessage;
|
||||||
|
import uulm.teamname.marvelous.gamelibrary.requests.*;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.*;
|
||||||
|
|
||||||
class JSONTest {
|
class JSONTest {
|
||||||
|
|
||||||
@ -32,7 +40,7 @@ class JSONTest {
|
|||||||
{
|
{
|
||||||
"messages":[
|
"messages":[
|
||||||
""";
|
""";
|
||||||
messageStructureEnd = new String[] {
|
messageStructureEnd = new String[]{
|
||||||
"""
|
"""
|
||||||
],
|
],
|
||||||
"messageType": "REQUESTS",
|
"messageType": "REQUESTS",
|
||||||
|
Loading…
Reference in New Issue
Block a user