|
|
@@ -15,6 +15,7 @@ import java.time.Instant;
|
|
|
import java.util.Arrays;
|
|
|
import java.util.Date;
|
|
|
import java.util.GregorianCalendar;
|
|
|
+import java.util.TimeZone;
|
|
|
import java.util.concurrent.atomic.AtomicInteger;
|
|
|
import java.util.regex.Matcher;
|
|
|
import java.util.regex.Pattern;
|
|
|
@@ -30,6 +31,8 @@ import static net.ranides.assira.junit.NewAssert.*;
|
|
|
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
|
|
|
public class ResolveFormatTest {
|
|
|
|
|
|
+ //@todo (assira #0) przetestować na różnych timezone-ach, bo się wywala.
|
|
|
+
|
|
|
@Test
|
|
|
public void testSerialization() throws IOException {
|
|
|
ResolveFormat a = ResolveFormat.compile("{x} {y} {z}");
|
|
|
@@ -517,7 +520,9 @@ public class ResolveFormatTest {
|
|
|
}
|
|
|
|
|
|
@SuppressFBWarnings
|
|
|
- private static final Object ITEM = new Object(){
|
|
|
+ private static final RFItem ITEM = new RFItem();
|
|
|
+
|
|
|
+ private static class RFItem {
|
|
|
|
|
|
public float value1 = 2.1415f;
|
|
|
|