Clover Coverage Report - Main Coverage Report
Coverage timestamp: ven dic 19 2014 16:47:52 EST
../../../../img/srcFileCovDistChart0.png 84% of files have more coverage
20   65   13   1,54
0   56   0,65   13
13     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  BicycleNumberInfo       Line # 6 20 13 0% 0.0
 
No Tests
 
1    package com.dreamcatcher.bicycle.vo;
2   
3    import android.os.Parcel;
4    import android.os.Parcelable;
5   
 
6    public class BicycleNumberInfo implements Parcelable{
7    private int mId = 1;
8    private int mCapacity = 0;
9    private int mAvailable = 0;
10   
 
11  0 toggle public BicycleNumberInfo(int id, int capacity, int available) {
12  0 this.mId = id;
13  0 this.mCapacity = capacity;
14  0 this.mAvailable = available;
15    }
 
16  0 toggle public int getId() {
17  0 return mId;
18    }
 
19  0 toggle public void setId(int id) {
20  0 this.mId = id;
21    }
 
22  0 toggle public int getCapacity() {
23  0 return mCapacity;
24    }
 
25  0 toggle public void setCapacity(int capacity) {
26  0 this.mCapacity = capacity;
27    }
 
28  0 toggle public int getAvailable() {
29  0 return mAvailable;
30    }
 
31  0 toggle public void setAvailable(int available) {
32  0 this.mAvailable = available;
33    }
 
34  0 toggle @Override
35    public int describeContents() {
36  0 return 0;
37    }
38   
 
39  0 toggle public void writeToParcel(Parcel dest, int flags) {
40  0 dest.writeInt(mId);
41  0 dest.writeInt(mCapacity);
42  0 dest.writeInt(mAvailable);
43    }
44   
45    public static final Parcelable.Creator<BicycleNumberInfo> CREATOR = new Parcelable.Creator<BicycleNumberInfo>() {
46   
 
47  0 toggle public BicycleNumberInfo createFromParcel(Parcel source) {
48  0 return new BicycleNumberInfo(source);
49    }
50   
 
51  0 toggle public BicycleNumberInfo[] newArray(int size) {
52  0 return new BicycleNumberInfo[size];
53    }
54    };
55   
 
56  0 toggle public BicycleNumberInfo(Parcel in){
57  0 readFromParce(in);
58    }
59   
 
60  0 toggle private void readFromParce(Parcel in){
61  0 this.mId = in.readInt(); ;
62  0 this.mCapacity = in.readInt();
63  0 this.mAvailable = in.readInt();
64    }
65    }