@Test public void creationSuccess() { long timestamp = 10L; FakeCameraCaptureResult cameraCaptureResult = new FakeCameraCaptureResult(); cameraCaptureResult.setTimestamp(timestamp); ImageInfo imageInfo = new CameraCaptureResultImageInfo(cameraCaptureResult); assertThat(imageInfo.getTimestamp()).isEqualTo(timestamp); }
@Override public long getTimestamp() { return mCameraCaptureResult.getTimestamp(); }
CameraCaptureResultImageInfo implements ImageInfo { @Override public long getTimestamp() { return mCameraCaptureResult.getTimestamp(); } }
CameraCaptureResultImageInfo implements ImageInfo { @Override public long getTimestamp() { return mCameraCaptureResult.getTimestamp(); } CameraCaptureResultImageInfo(CameraCaptureResult cameraCaptureResult); }
CameraCaptureResultImageInfo implements ImageInfo { @Override public long getTimestamp() { return mCameraCaptureResult.getTimestamp(); } CameraCaptureResultImageInfo(CameraCaptureResult cameraCaptureResult); @Override Object getTag(); @Override long getTimestamp(); }
CameraCaptureResultImageInfo implements ImageInfo { @Override public long getTimestamp() { return mCameraCaptureResult.getTimestamp(); } CameraCaptureResultImageInfo(CameraCaptureResult cameraCaptureResult); @Override Object getTag(); @Override long getTimestamp();  }