Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix a broken unit test

  • Loading branch information...
commit 66360c4f2dac7f6e068e9d883096efc3c91c39a2 1 parent b392324
Albert Cheng authored
View
4 ...zure-api/src/test/java/com/microsoft/windowsazure/services/media/TaskIntegrationTest.java
@@ -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());
Please sign in to comment.
Something went wrong with that request. Please try again.