diff options
Diffstat (limited to 'test')
3 files changed, 3 insertions, 3 deletions
diff --git a/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferDescriptionParserTest.java b/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferDescriptionParserTest.java index 765af5c..a7620c5 100644 --- a/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferDescriptionParserTest.java +++ b/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferDescriptionParserTest.java @@ -70,7 +70,7 @@ public class JingleFileTransferDescriptionParserTest { assertEquals("It is good.", fileInfo.getDescription()); assertEquals("MediaAAC", fileInfo.getMediaType()); assertEquals(0L, fileInfo.getSize()); - assertEquals(DateTime.dateToString(new Date(0L)), DateTime.dateToString(fileInfo.getDate())); + assertNull(fileInfo.getDate()); assertEquals(false, fileInfo.getSupportsRangeRequests()); assertEquals(0L, fileInfo.getRangeOffset()); assertEquals(new ByteArray(), fileInfo.getHash("MD5")); diff --git a/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferFileInfoParserTest.java b/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferFileInfoParserTest.java index 5225a6d..06f2253 100644 --- a/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferFileInfoParserTest.java +++ b/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferFileInfoParserTest.java @@ -56,7 +56,7 @@ public class JingleFileTransferFileInfoParserTest { assertEquals("It is good.", fileInfo.getDescription()); assertEquals("MediaAAC", fileInfo.getMediaType()); assertEquals(0L, fileInfo.getSize()); - assertEquals(DateTime.dateToString(new Date(0L)), DateTime.dateToString(fileInfo.getDate())); + assertNull(fileInfo.getDate()); assertEquals(false, fileInfo.getSupportsRangeRequests()); assertEquals(0L, fileInfo.getRangeOffset()); assertEquals(new ByteArray(), fileInfo.getHash("MD5")); diff --git a/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferHashParserTest.java b/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferHashParserTest.java index 8dc8a6c..8999c24 100644 --- a/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferHashParserTest.java +++ b/test/com/isode/stroke/parser/payloadparsers/JingleFileTransferHashParserTest.java @@ -70,7 +70,7 @@ public class JingleFileTransferHashParserTest { assertEquals("It is good.", fileInfo.getDescription()); assertEquals("MediaAAC", fileInfo.getMediaType()); assertEquals(0L, fileInfo.getSize()); - assertEquals(DateTime.dateToString(new Date(0L)), DateTime.dateToString(fileInfo.getDate())); + assertNull(fileInfo.getDate()); assertEquals(false, fileInfo.getSupportsRangeRequests()); assertEquals(0L, fileInfo.getRangeOffset()); assertEquals(new ByteArray(), fileInfo.getHash("MD5")); |