mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-02-24 09:03:39 +00:00
Restructure repository
* Move /common/src to /src * Move services to net.psforever package * Move /pslogin to /server
This commit is contained in:
parent
89a30ae6f6
commit
f4fd78fc5d
958 changed files with 527 additions and 725 deletions
11
server/src/test/resources/logback-test.xml
Normal file
11
server/src/test/resources/logback-test.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>[%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="ERROR">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
</configuration>
|
||||
21
server/src/test/resources/testconfig.ini
Normal file
21
server/src/test/resources/testconfig.ini
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# This is a comment
|
||||
[default]
|
||||
string = a string
|
||||
string_quoted = "a string"
|
||||
int = 31
|
||||
time = 1 second
|
||||
time2 = 100 milliseconds
|
||||
float = 0.1
|
||||
bool_true = yes
|
||||
bool_false = no
|
||||
enum_dog = Dog
|
||||
# missing
|
||||
|
||||
[bad]
|
||||
bad_int = not a number
|
||||
bad_time = 10
|
||||
bad_float = A
|
||||
bad_bool = dunno
|
||||
bad_int_range = -1
|
||||
bad_int_range2 = 3
|
||||
bad_enum = Tree
|
||||
Loading…
Add table
Add a link
Reference in a new issue