mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2026-10-06 12:41:27 +02:00
added contents
This commit is contained in:
40
Projekte/common/src/test/java/pp/util/config/TestConfig.java
Normal file
40
Projekte/common/src/test/java/pp/util/config/TestConfig.java
Normal file
@@ -0,0 +1,40 @@
|
||||
////////////////////////////////////////
|
||||
// Programming project code
|
||||
// UniBw M, 2022, 2023, 2024
|
||||
// www.unibw.de/inf2
|
||||
// (c) Mark Minas (mark.minas@unibw.de)
|
||||
////////////////////////////////////////
|
||||
|
||||
package pp.util.config;
|
||||
|
||||
class TestConfig extends Config {
|
||||
@Property("test.string")
|
||||
private String testString;
|
||||
|
||||
@Property("test.int")
|
||||
private int testInt;
|
||||
|
||||
@Property("test.boolean")
|
||||
private boolean testBoolean;
|
||||
|
||||
@Property("test.intArray")
|
||||
@Separator(";")
|
||||
private int[] testIntArray;
|
||||
|
||||
// Getters for testing
|
||||
public String getTestString() {
|
||||
return testString;
|
||||
}
|
||||
|
||||
public int getTestInt() {
|
||||
return testInt;
|
||||
}
|
||||
|
||||
public boolean isTestBoolean() {
|
||||
return testBoolean;
|
||||
}
|
||||
|
||||
public int[] getTestIntArray() {
|
||||
return testIntArray;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user