[config] use new @Ignore
This commit is contained in:
parent
a688ae3cb7
commit
0bc1ec1b5d
|
@ -1,6 +1,6 @@
|
||||||
package io.gitlab.jfronny.libjf.config.test.reflect;
|
package io.gitlab.jfronny.libjf.config.test.reflect;
|
||||||
|
|
||||||
import io.gitlab.jfronny.commons.serialize.gson.api.Ignore;
|
import io.gitlab.jfronny.commons.serialize.gson.api.v1.Ignore;
|
||||||
import io.gitlab.jfronny.libjf.config.api.v1.*;
|
import io.gitlab.jfronny.libjf.config.api.v1.*;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -8,16 +8,14 @@ import java.util.List;
|
||||||
|
|
||||||
@JfConfig(referencedConfigs = {"libjf-web-v0"})
|
@JfConfig(referencedConfigs = {"libjf-web-v0"})
|
||||||
public class TestConfig {
|
public class TestConfig {
|
||||||
@Entry
|
@Entry public static boolean disablePacks = false;
|
||||||
public static boolean disablePacks = false;
|
|
||||||
@Entry public static Boolean disablePacks2 = false;
|
@Entry public static Boolean disablePacks2 = false;
|
||||||
@Entry public static int intTest = 20;
|
@Entry public static int intTest = 20;
|
||||||
@Entry(min = -5, max = 12) public static int intTestB = 20;
|
@Entry(min = -5, max = 12) public static int intTestB = 20;
|
||||||
@Entry(min = -6) public static float floatTest = -5;
|
@Entry(min = -6) public static float floatTest = -5;
|
||||||
@Entry(min = 2, max = 21) public static double doubleTest = 20;
|
@Entry(min = 2, max = 21) public static double doubleTest = 20;
|
||||||
@Entry public static String dieStr = "lolz";
|
@Entry public static String dieStr = "lolz";
|
||||||
@Entry @Ignore
|
@Entry @Ignore public static String guiOnlyStr = "lolz";
|
||||||
public static String guiOnlyStr = "lolz";
|
|
||||||
public static String gsonOnlyStr = "lolz";
|
public static String gsonOnlyStr = "lolz";
|
||||||
@Entry public static Test enumTest = Test.Test;
|
@Entry public static Test enumTest = Test.Test;
|
||||||
@Entry public static List<String> stringList;
|
@Entry public static List<String> stringList;
|
||||||
|
|
Loading…
Reference in New Issue