mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
reformat test code for latest ktlint release
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
cc559d9d75
commit
3a6e18c07e
@ -20,9 +20,12 @@ class ShareUtilsIT {
|
|||||||
return DateUtils.parseDate(
|
return DateUtils.parseDate(
|
||||||
dateStr, Locale.US,
|
dateStr, Locale.US,
|
||||||
HttpUtils.httpDateFormatStr,
|
HttpUtils.httpDateFormatStr,
|
||||||
"EEE, dd MMM yyyy HH:mm:ss zzz", // RFC 822, updated by RFC 1123 with any TZ
|
// RFC 822, updated by RFC 1123 with any TZ
|
||||||
"EEEE, dd-MMM-yy HH:mm:ss zzz", // RFC 850, obsoleted by RFC 1036 with any TZ.
|
"EEE, dd MMM yyyy HH:mm:ss zzz",
|
||||||
"EEE MMM d HH:mm:ss yyyy", // ANSI C's asctime() format
|
// RFC 850, obsoleted by RFC 1036 with any TZ.
|
||||||
|
"EEEE, dd-MMM-yy HH:mm:ss zzz",
|
||||||
|
// ANSI C's asctime() format
|
||||||
|
"EEE MMM d HH:mm:ss yyyy",
|
||||||
// Alternative formats.
|
// Alternative formats.
|
||||||
"EEE, dd-MMM-yyyy HH:mm:ss z",
|
"EEE, dd-MMM-yyyy HH:mm:ss z",
|
||||||
"EEE, dd-MMM-yyyy HH-mm-ss z",
|
"EEE, dd-MMM-yyyy HH-mm-ss z",
|
||||||
@ -35,7 +38,7 @@ class ShareUtilsIT {
|
|||||||
"EEE,dd-MMM-yy HH:mm:ss z",
|
"EEE,dd-MMM-yy HH:mm:ss z",
|
||||||
"EEE,dd-MMM-yyyy HH:mm:ss z",
|
"EEE,dd-MMM-yyyy HH:mm:ss z",
|
||||||
"EEE, dd-MM-yyyy HH:mm:ss z",
|
"EEE, dd-MM-yyyy HH:mm:ss z",
|
||||||
/* RI bug 6641315 claims a cookie of this format was once served by www.yahoo.com */
|
// RI bug 6641315 claims a cookie of this format was once served by www.yahoo.com
|
||||||
"EEE MMM d yyyy HH:mm:ss z"
|
"EEE MMM d yyyy HH:mm:ss z"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -28,15 +28,11 @@ import io.reactivex.Observable
|
|||||||
|
|
||||||
class FakeCallRecordingRepository : CallRecordingRepository {
|
class FakeCallRecordingRepository : CallRecordingRepository {
|
||||||
|
|
||||||
override fun startRecording(
|
override fun startRecording(roomToken: String): Observable<StartCallRecordingModel> {
|
||||||
roomToken: String
|
|
||||||
): Observable<StartCallRecordingModel> {
|
|
||||||
return Observable.just(StartCallRecordingModel(true))
|
return Observable.just(StartCallRecordingModel(true))
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun stopRecording(
|
override fun stopRecording(roomToken: String): Observable<StopCallRecordingModel> {
|
||||||
roomToken: String
|
|
||||||
): Observable<StopCallRecordingModel> {
|
|
||||||
return Observable.just(StopCallRecordingModel(true))
|
return Observable.just(StopCallRecordingModel(true))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user