Fix an nullpointexception issue when run ChartFragmentTest.

This commit is contained in:
youtaol
2013-10-16 17:41:31 +08:00
parent 0b3f5ddca7
commit 18d98d5432
2 changed files with 8 additions and 6 deletions
@@ -358,7 +358,7 @@ public class ChartFragmentTest extends AndroidTestCase {
*/
private double[] fillDataPointTestHelper(Location location) {
double[] point = new double[ChartView.NUM_SERIES + 1];
chartFragment.fillDataPoint(location, point);
chartFragment.fillDataPoint(location, point, getContext());
return point;
}