Skip to content

Commit 2315501

Browse files
committed
uprev to 1.2.3
1 parent 0799b37 commit 2315501

2 files changed

Lines changed: 4 additions & 14 deletions

File tree

androidplot-core/src/test/java/com/androidplot/xy/BubbleRendererTest.java

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
import static org.mockito.Matchers.any;
2828
import static org.mockito.Mockito.*;
2929

30+
/**
31+
* Tests {@link BubbleRenderer} and some of {@link BubbleFormatter}.
32+
*/
3033
public class BubbleRendererTest extends AndroidplotTest {
3134

3235
XYPlot xyPlot;
@@ -57,18 +60,5 @@ public void testOnRender() throws Exception {
5760
xyPlot.addSeries(bs, formatter);
5861

5962
renderer.onRender(canvas, plotArea, bs, formatter, renderStack);
60-
61-
// CandlestickFormatter formatter = spy(new CandlestickFormatter());
62-
// CandlestickRenderer renderer = spy((CandlestickRenderer) formatter.getRendererInstance(xyPlot));
63-
// doReturn(renderer.getClass()).when(formatter).getRendererClass();
64-
// doReturn(renderer).when(formatter).getRendererInstance(any(XYPlot.class));
65-
//
66-
// XYSeries openVals = new SimpleXYSeries(SimpleXYSeries.ArrayFormat.Y_VALS_ONLY, "open", 1, 2, 3, 4);
67-
// XYSeries closeVals = new SimpleXYSeries(SimpleXYSeries.ArrayFormat.Y_VALS_ONLY, "open", 1, 2, 3, 4);
68-
// XYSeries highVals = new SimpleXYSeries(SimpleXYSeries.ArrayFormat.Y_VALS_ONLY, "open", 1, 2, 3, 4);
69-
// XYSeries lowVals = new SimpleXYSeries(SimpleXYSeries.ArrayFormat.Y_VALS_ONLY, "open", 1, 2, 3, 4);
70-
// CandlestickMaker.make(xyPlot, formatter, openVals, closeVals, highVals, lowVals);
71-
//
72-
// renderer.onRender(canvas, plotArea, openVals, formatter, renderStack);
7363
}
7464
}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ext {
2727
theCompileSdkVersion = 24
2828
theTargetSdkVersion = 24
2929
theMinSdkVersion = 5
30-
theVersionName = '1.2.2'
30+
theVersionName = '1.2.3'
3131
theVersionCode = 21
3232
}
3333

0 commit comments

Comments
 (0)