Clover Coverage Report - AnCal Coverage Report
Coverage timestamp: gio dic 18 2014 12:18:42 EST
../../../../img/srcFileCovDistChart0.png 94% of files have more coverage
3   24   4   3
4   19   1,33   1
1     4  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  AnCalReceiver       Line # 11 3 4 0% 0.0
 
No Tests
 
1   
2    package pl.magot.vetch.ancal;
3   
4   
5    import pl.magot.vetch.ancal.reminder.AlarmService;
6    import android.content.Context;
7    import android.content.Intent;
8    import android.content.BroadcastReceiver;
9   
10   
 
11    public class AnCalReceiver extends BroadcastReceiver
12    {
 
13  0 toggle @Override
14    public void onReceive(Context context, Intent intent)
15    {
16  0 if ((context != null) && (intent != null))
17    {
18  0 if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED))
19    {
20  0 context.startService(new Intent(context, AlarmService.class));
21    }
22    }
23    }
24    }