Clover Coverage Report - AnCal Coverage Report
Coverage timestamp: gio dic 18 2014 12:18:42 EST
../../../../../img/srcFileCovDistChart10.png 0% of files have more coverage
11   60   5   2,2
0   40   0,45   5
5     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  ActivityAbout       Line # 13 11 5 93,8% 0.9375
 
No Tests
 
1   
2    package pl.magot.vetch.ancal.activities;
3   
4   
5    import pl.magot.vetch.ancal.CommonActivity;
6    import pl.magot.vetch.ancal.R;
7    import pl.magot.vetch.ancal.Utils;
8    import android.os.Bundle;
9    import android.widget.TextView;
10   
11   
12    //New Note activity
 
13    public class ActivityAbout extends CommonActivity
14    {
15    //views
16    private TextView txtView = null;
17    private TextView txtVersionLabel = null;
18   
19    //methods
 
20  1 toggle @Override
21    public void onCreate(Bundle icicle)
22    {
23  1 super.onCreate(icicle);
24  1 setContentView(R.layout.about);
25   
26    //initialize views
27  1 InitViews();
28    }
29   
 
30  1 toggle @Override
31    public void onStart()
32    {
33  1 super.onStart();
34   
35  1 InitState();
36    }
37   
 
38  1 toggle private void InitViews()
39    {
40  1 txtView = (TextView)findViewById(R.id.txtViewAbout);
41  1 txtVersionLabel = (TextView)findViewById(R.id.txtVersionLabel);
42    }
43   
 
44  1 toggle private void InitState()
45    {
46  1 String sSubTitle = utils.GetResStr(R.string.titleDefaultAbout);
47  1 SetActivityTitle(sSubTitle);
48   
49  1 txtVersionLabel.setText(Utils.getAppVersionName(this));
50   
51  1 txtView.requestFocus();
52    }
53   
 
54  0 toggle @Override
55    protected void restoreStateFromFreeze()
56    {
57   
58    }
59   
60    }