Clover Coverage Report - Main Coverage Report
Coverage timestamp: ven dic 19 2014 16:47:52 EST
../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
19   69   11   1,9
2   56   0,58   10
10     1,1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  BicycleService       Line # 8 19 11 100% 1.0
 
No Tests
 
1    package com.dreamcatcher.bicycle.core;
2   
3    import com.dreamcatcher.bicycle.interfaces.IAdService;
4    import com.dreamcatcher.bicycle.interfaces.IAssetsService;
5    import com.dreamcatcher.bicycle.interfaces.IHttpService;
6    import com.dreamcatcher.bicycle.interfaces.ISettingService;
7   
 
8    public class BicycleService {
9    private static BicycleService mInstance = null;
10    private IHttpService mHttpService = null;
11    private HttpEventListener mHttpEvent = null;
12    private IAssetsService mAssertsService = null;
13    private AssetsEventListener mAssetsEventListener = null;
14    private ISettingService mSettingService = null;
15    private SettingEventListener mSettingEvent = null;
16    private IAdService mAdService = null;
17    private AdEventListener mAdEventListener = null;
18   
 
19  1 toggle private BicycleService(){
20  1 mHttpService = new HttpService();
21  1 mHttpEvent = new HttpEventListener();
22  1 mAssertsService = new AssetsService();
23  1 mAssetsEventListener = new AssetsEventListener();
24  1 mSettingService = new SettingService();
25  1 mSettingEvent = new SettingEventListener();
26  1 mAdService = new AdService();
27  1 mAdEventListener = new AdEventListener();
28    }
29   
 
30  48 toggle public static BicycleService getInstance(){
31  48 if(mInstance == null){
32  1 mInstance = new BicycleService();
33    }
34  48 return mInstance;
35    }
36   
 
37  4 toggle public IHttpService getHttpService(){
38  4 return mHttpService;
39    }
40   
 
41  7 toggle public HttpEventListener getHttpEventListener(){
42  7 return mHttpEvent;
43    }
44   
 
45  2 toggle public IAssetsService getAssertsService() {
46  2 return mAssertsService;
47    }
48   
 
49  7 toggle public AssetsEventListener getAssetsEventListener() {
50  7 return mAssetsEventListener;
51    }
52   
 
53  4 toggle public ISettingService getSettingService() {
54  4 return mSettingService;
55    }
56   
 
57  19 toggle public SettingEventListener getSettingEventListener() {
58  19 return mSettingEvent;
59    }
60   
 
61  1 toggle public IAdService getAdService(){
62  1 return mAdService;
63    }
64   
 
65  4 toggle public AdEventListener getAdEventListener(){
66  4 return mAdEventListener;
67    }
68   
69    }