mirror of https://github.com/apache/jclouds.git
call super and added comment
This commit is contained in:
parent
b92d55bc05
commit
6d56364cd0
|
@ -38,16 +38,12 @@ public class SwiftBlobIntegrationLiveTest extends BaseBlobIntegrationTest {
|
|||
// not supported in swift
|
||||
}
|
||||
|
||||
// When testing against Swift Server 1.4.4/SWauth 1.0.3 the content dispositions are not null
|
||||
|
||||
@Override
|
||||
protected void checkContentDisposition(Blob blob, String contentDisposition) {
|
||||
String payloadContentDisposition = blob.getPayload().getContentMetadata().getContentDisposition();
|
||||
assert payloadContentDisposition != null : "blob payload contentDisposition should not be null";
|
||||
assertEquals(contentDisposition, payloadContentDisposition);
|
||||
|
||||
String blobContentDisposition = blob.getMetadata().getContentMetadata().getContentDisposition();
|
||||
assert blobContentDisposition != null : "blob metadata contentDisposition should not be null";
|
||||
assertEquals(contentDisposition, blobContentDisposition);
|
||||
// This works for Swift Server 1.4.4/SWauth 1.0.3 but was null in previous versions.
|
||||
// TODO: Better testing for the different versions.
|
||||
super.checkContentDisposition(blob,contentDisposition);
|
||||
}
|
||||
|
||||
// not supported in swift
|
||||
|
|
Loading…
Reference in New Issue