Permalink
Browse files

Merge pull request #585 from gcheng/dev

Dev
  • Loading branch information...
2 parents be90395 + 01df851 commit d7c082b3a717d7f0421262725f1ca4aa450ba0a6 Albert Cheng committed Jan 7, 2013
@@ -211,7 +211,7 @@ private void verifyTaskProperties(String message, String mediaProcessorId, TaskO
// Optional fields
assertEquals(message + " getConfiguration", configuration, actual.getConfiguration());
assertEquals(message + " getName", name, actual.getName());
- assertEquals(message + " getPriority", priority, actual.getPriority().intValue());
+ assertEquals(message + " getPriority", priority, actual.getPriority());
// Optional encryption fields
assertEqualsNullEmpty(message + " getEncryptionKeyId", encryptionKeyId, actual.getEncryptionKeyId());
@@ -239,7 +239,7 @@ private void verifyTaskProperties(String message, String mediaProcessorId, TaskO
assertTrue(message + " outputAssets.get(0).getId != assetInfo.getId",
!assetInfo.getId().equals(outputAssets.get(0).getId()));
- assertEquals(message + " getProgress", progress, actual.getProgress().doubleValue(), 0.01);
+ assertEquals(message + " getProgress", progress, actual.getProgress(), 0.01);
assertEquals(message + " getRunningDuration", runningDuration, actual.getRunningDuration(), 0.01);
assertDateApproxEquals(message + " getStartTime", startTime, actual.getStartTime());
assertEquals(message + " getState", state, actual.getState());

0 comments on commit d7c082b

Please sign in to comment.