@@ -0,0 +1,895 @@
+package mobi.cangol.mobile;%0A%0Aimport android.test.ApplicationTestCase;%0A%0Aimport mobi.cangol.mobile.service.AppService;%0Aimport mobi.cangol.mobile.service.conf.ConfigService;%0Aimport mobi.cangol.mobile.stat.StatAgent;%0A%0A%0A/**%0A * Created by weixuewu on 16/6/11.%0A */%0Apublic class CoreApplicationTest extends ApplicationTestCase%3CCoreApplication%3E %7B%0A    private CoreApplication coreApplication;%0A    public CoreApplicationTest() %7B%0A        super(CoreApplication.class);%0A    %7D%0A%0A    @Override%0A    protected void setUp() throws Exception %7B%0A        super.setUp();%0A        createApplication();%0A        coreApplication=getApplication();%0A        StatAgent.getInstance(coreApplication);%0A    %7D%0A%0A    public void testGetAppService() throws Exception %7B%0A        ConfigService configService= (ConfigService) coreApplication.getAppService(AppService.CONFIG_SERVICE);%0A        assertNotNull(configService.getAppDir());%0A    %7D%0A%7D

update application test