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