aboutsummaryrefslogtreecommitdiff
path: root/src/testmod/java/dev/isxander
diff options
context:
space:
mode:
authorXander <xander@isxander.dev>2022-11-22 21:36:18 +0000
committerGitHub <noreply@github.com>2022-11-22 21:36:18 +0000
commitc0fea65be6c7527539196da2d2e11ce12c574fc5 (patch)
treebeac2d61b19a86ecfc1d897d914dc3430f284c21 /src/testmod/java/dev/isxander
parent1053a48aa4697886cd2a7de36bb6e5ef8a728c2c (diff)
downloadYetAnotherConfigLib-c0fea65be6c7527539196da2d2e11ce12c574fc5.tar.gz
YetAnotherConfigLib-c0fea65be6c7527539196da2d2e11ce12c574fc5.tar.bz2
YetAnotherConfigLib-c0fea65be6c7527539196da2d2e11ce12c574fc5.zip
annotate test config with ConfigEntry
Diffstat (limited to 'src/testmod/java/dev/isxander')
-rw-r--r--src/testmod/java/dev/isxander/yacl/test/config/ConfigData.java32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/testmod/java/dev/isxander/yacl/test/config/ConfigData.java b/src/testmod/java/dev/isxander/yacl/test/config/ConfigData.java
index d0d47b1..35e57dd 100644
--- a/src/testmod/java/dev/isxander/yacl/test/config/ConfigData.java
+++ b/src/testmod/java/dev/isxander/yacl/test/config/ConfigData.java
@@ -1,25 +1,27 @@
package dev.isxander.yacl.test.config;
+import dev.isxander.yacl.config.ConfigEntry;
+
import java.awt.*;
public class ConfigData {
- public boolean booleanToggle = false;
- public boolean customBooleanToggle = false;
- public boolean tickbox = false;
- public int intSlider = 0;
- public double doubleSlider = 0;
- public float floatSlider = 0;
- public long longSlider = 0;
- public String textField = "Hello";
- public Color colorOption = Color.red;
- public Alphabet enumOption = Alphabet.A;
+ @ConfigEntry public boolean booleanToggle = false;
+ @ConfigEntry public boolean customBooleanToggle = false;
+ @ConfigEntry public boolean tickbox = false;
+ @ConfigEntry public int intSlider = 0;
+ @ConfigEntry public double doubleSlider = 0;
+ @ConfigEntry public float floatSlider = 0;
+ @ConfigEntry public long longSlider = 0;
+ @ConfigEntry public String textField = "Hello";
+ @ConfigEntry public Color colorOption = Color.red;
+ @ConfigEntry public Alphabet enumOption = Alphabet.A;
- public boolean groupTestRoot = false;
- public boolean groupTestFirstGroup = false;
- public boolean groupTestFirstGroup2 = false;
- public boolean groupTestSecondGroup = false;
+ @ConfigEntry public boolean groupTestRoot = false;
+ @ConfigEntry public boolean groupTestFirstGroup = false;
+ @ConfigEntry public boolean groupTestFirstGroup2 = false;
+ @ConfigEntry public boolean groupTestSecondGroup = false;
- public int scrollingSlider = 0;
+ @ConfigEntry public int scrollingSlider = 0;
public enum Alphabet {
A, B, C