|
|
@ -55,6 +55,15 @@ Future run(final DockerImage image) async { |
|
|
|
expect(props.ocsize, 50598); |
|
|
|
expect(props.ocsize, 50598); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test('List directory recursively', () async { |
|
|
|
|
|
|
|
final responses = (await client.webdav.ls( |
|
|
|
|
|
|
|
'/', |
|
|
|
|
|
|
|
depth: 'infinity', |
|
|
|
|
|
|
|
)) |
|
|
|
|
|
|
|
.responses; |
|
|
|
|
|
|
|
expect(responses, hasLength(37)); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
test('Create directory', () async { |
|
|
|
test('Create directory', () async { |
|
|
|
final response = await client.webdav.mkdir('test'); |
|
|
|
final response = await client.webdav.mkdir('test'); |
|
|
|
expect(response.statusCode, equals(201)); |
|
|
|
expect(response.statusCode, equals(201)); |
|
|
@ -229,7 +238,6 @@ Future run(final DockerImage image) async { |
|
|
|
ocssharepermissions: true, |
|
|
|
ocssharepermissions: true, |
|
|
|
ocmsharepermissions: true, |
|
|
|
ocmsharepermissions: true, |
|
|
|
), |
|
|
|
), |
|
|
|
depth: 0, |
|
|
|
|
|
|
|
)) |
|
|
|
)) |
|
|
|
.responses |
|
|
|
.responses |
|
|
|
.single |
|
|
|
.single |
|
|
@ -276,7 +284,7 @@ Future run(final DockerImage image) async { |
|
|
|
davgetlastmodified: true, |
|
|
|
davgetlastmodified: true, |
|
|
|
ocsize: true, |
|
|
|
ocsize: true, |
|
|
|
), |
|
|
|
), |
|
|
|
depth: 0, |
|
|
|
depth: '0', |
|
|
|
)) |
|
|
|
)) |
|
|
|
.responses |
|
|
|
.responses |
|
|
|
.single |
|
|
|
.single |
|
|
@ -339,7 +347,6 @@ Future run(final DockerImage image) async { |
|
|
|
nccreationtime: true, |
|
|
|
nccreationtime: true, |
|
|
|
ncuploadtime: true, |
|
|
|
ncuploadtime: true, |
|
|
|
), |
|
|
|
), |
|
|
|
depth: 0, |
|
|
|
|
|
|
|
)) |
|
|
|
)) |
|
|
|
.responses |
|
|
|
.responses |
|
|
|
.single |
|
|
|
.single |
|
|
|