Android單元測試研究與實踐(18)
@RealObjectprivatePointrealPoint; ... public void__constructor__( int x, int y){ realPoint.x=x; realPoint.y=y;
@RealObject private Point realPoint;
...
public void __constructor__(int x, int y) {
realPoint.x = x;
realPoint.y = y;
原文轉自:http://tech.meituan.com/Android_unit_test.html