|
|
@ -1,6 +1,3 @@ |
|
|
|
@Retry(3) |
|
|
|
|
|
|
|
library webdav_test; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'dart:convert'; |
|
|
|
import 'dart:convert'; |
|
|
|
import 'dart:io'; |
|
|
|
import 'dart:io'; |
|
|
|
import 'dart:math'; |
|
|
|
import 'dart:math'; |
|
|
@ -26,12 +23,15 @@ void main() { |
|
|
|
expect(() => WebDavClient.constructUri(baseURL), throwsA(isA<AssertionError>())); |
|
|
|
expect(() => WebDavClient.constructUri(baseURL), throwsA(isA<AssertionError>())); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
group('webdav', () { |
|
|
|
group( |
|
|
|
|
|
|
|
'webdav', |
|
|
|
|
|
|
|
() { |
|
|
|
late DockerImage image; |
|
|
|
late DockerImage image; |
|
|
|
setUpAll(() async => image = await getDockerImage()); |
|
|
|
setUpAll(() async => image = await getDockerImage()); |
|
|
|
|
|
|
|
|
|
|
|
late DockerContainer container; |
|
|
|
late DockerContainer container; |
|
|
|
late TestNextcloudClient client; |
|
|
|
late TestNextcloudClient client; |
|
|
|
|
|
|
|
|
|
|
|
setUp(() async { |
|
|
|
setUp(() async { |
|
|
|
container = await getDockerContainer(image); |
|
|
|
container = await getDockerContainer(image); |
|
|
|
client = await getTestClient(container); |
|
|
|
client = await getTestClient(container); |
|
|
@ -529,5 +529,8 @@ void main() { |
|
|
|
|
|
|
|
|
|
|
|
// props: Most of them are either not applicable or hard/impossible to implement because we don't allow just writing any props |
|
|
|
// props: Most of them are either not applicable or hard/impossible to implement because we don't allow just writing any props |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
retry: retryCount, |
|
|
|
|
|
|
|
timeout: timeout, |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|