Commit f8b624c3 authored by 吴晟's avatar 吴晟
Browse files

Add test case about enum config init.

parent 388d2481
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
    }
}
+1 −0
Original line number Diff line number Diff line
agent.application_code = crmApp
collector.servers = 127.0.0.1:8080
logging.level=info