()
| 70 | } |
| 71 | |
| 72 | @Test |
| 73 | public void shiftDataPoint() throws Exception { |
| 74 | DataPoint actualDp = timeshift.shift(DATA_POINTS[0], 60000L); |
| 75 | assertEquals(1356998460000L, actualDp.timestamp()); |
| 76 | DataPoint actualDp1 = timeshift.shift(DATA_POINTS[1], this.timeshift.parseParam("+1week")); |
| 77 | assertEquals(1357605200000L, actualDp1.timestamp()); |
| 78 | DataPoint actualDp2 = timeshift.shift(DATA_POINTS[1], this.timeshift.parseParam("+130days")); |
| 79 | assertEquals(1368232400000L, actualDp2.timestamp()); |
| 80 | } |
| 81 | } |
nothing calls this directly
no test coverage detected