Add test case about enum config init.

This commit is contained in:
wusheng 2017-03-23 16:39:01 +08:00
parent 388d2481a0
commit f8b624c3ce
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,8 @@ package com.a.eye.skywalking.api.conf;
import org.junit.Assert;
import org.junit.Test;
import static com.a.eye.skywalking.api.logging.LogLevel.INFO;
/**
* @author wusheng
*/
@ -20,5 +22,6 @@ public class SnifferConfigInitializerTest {
Assert.assertNotNull(Config.Logging.FILE_NAME);
Assert.assertNotNull(Config.Logging.MAX_FILE_SIZE);
Assert.assertNotNull(Config.Logging.FILE_NAME);
Assert.assertEquals(INFO, Config.Logging.LEVEL);
}
}

View File

@ -1,2 +1,3 @@
agent.application_code = crmApp
collector.servers = 127.0.0.1:8080
logging.level=info