All Results
Gradle Test Run :app:testGplayDebugUnitTest
Gradle Test Run :app:testGplayDebugUnitTest
summary
|
96%
successful |
Failed
| Child | Name | Tests | Failures | Skipped | Duration | Success rate |
|---|---|---|---|---|---|---|
| ConnectivityServiceTest | com.nextcloud.client.network.ConnectivityServiceTest | 14 | 9 | 0 | 0.079s | 35% |
| ConnectivityServiceTest$WifiConnectionWalledStatus | com.nextcloud.client.network.ConnectivityServiceTest$WifiConnectionWalledStatus | 6 | 6 | 0 | 0.037s | 0% |
| ConnectivityServiceTest$WifiConnectionWalledStatusOnLegacyServer | com.nextcloud.client.network.ConnectivityServiceTest$WifiConnectionWalledStatusOnLegacyServer | 3 | 1 | 0 | 0.012s | 66% |
All
| Child | Name | Tests | Failures | Skipped | Duration | Success rate |
|---|---|---|---|---|---|---|
| FileLockingHelperTest | com.nextcloud.android.files.FileLockingHelperTest | 4 | 0 | 0 | 0.021s | 100% |
| ExtensionsTest | com.nextcloud.android.utils.ExtensionsTest | 2 | 0 | 0 | 0.002s | 100% |
| LocalConnectionTest | com.nextcloud.client.core.LocalConnectionTest | 5 | 0 | 0 | 4.415s | 100% |
| ManualAsyncRunnerTest | com.nextcloud.client.core.ManualAsyncRunnerTest | 7 | 0 | 0 | 0.342s | 100% |
| TaskTest | com.nextcloud.client.core.TaskTest | 4 | 0 | 0 | 0.066s | 100% |
| ThreadPoolAsyncRunnerTest | com.nextcloud.client.core.ThreadPoolAsyncRunnerTest | 5 | 0 | 0 | 1.210s | 100% |
| TestPowerManagementService | com.nextcloud.client.device.TestPowerManagementService | 6 | 0 | 0 | 0.017s | 100% |
| TestPowerManagementService$Battery | com.nextcloud.client.device.TestPowerManagementService$Battery | 4 | 0 | 0 | 0.838s | 100% |
| TestPowerManagementService$PowerSaveMode | com.nextcloud.client.device.TestPowerManagementService$PowerSaveMode | 2 | 0 | 0 | 0.004s | 100% |
| TestEtmViewModel | com.nextcloud.client.etm.TestEtmViewModel | 10 | 0 | 0 | 0.021s | 100% |
| TestEtmViewModel$BackgroundJobsPage | com.nextcloud.client.etm.TestEtmViewModel$BackgroundJobsPage | 3 | 0 | 0 | 0.462s | 100% |
| TestEtmViewModel$MainPage | com.nextcloud.client.etm.TestEtmViewModel$MainPage | 4 | 0 | 0 | 0.036s | 100% |
| TestEtmViewModel$PreferencesPage | com.nextcloud.client.etm.TestEtmViewModel$PreferencesPage | 3 | 0 | 0 | 0.013s | 100% |
| BackgroundJobFactoryTest | com.nextcloud.client.jobs.BackgroundJobFactoryTest | 1 | 0 | 0 | 1.520s | 100% |
| ContentObserverWorkTest | com.nextcloud.client.jobs.ContentObserverWorkTest | 4 | 0 | 3 | 0.338s | 100% |
| FileLogHandlerTest | com.nextcloud.client.logger.FileLogHandlerTest | 9 | 0 | 0 | 0.029s | 100% |
| LevelTest | com.nextcloud.client.logger.LevelTest | 2 | 0 | 0 | 0.001s | 100% |
| LogEntryTest | com.nextcloud.client.logger.LogEntryTest | 9 | 0 | 0 | 0.012s | 100% |
| LogEntryTest$Parse | com.nextcloud.client.logger.LogEntryTest$Parse | 4 | 0 | 0 | 0.049s | 100% |
| LogEntryTest$ToString | com.nextcloud.client.logger.LogEntryTest$ToString | 5 | 0 | 0 | 0.008s | 100% |
| LoggerTest | com.nextcloud.client.logger.LoggerTest | 8 | 0 | 0 | 3.137s | 100% |
| AsyncFilterTest | com.nextcloud.client.logger.ui.AsyncFilterTest | 4 | 0 | 0 | 0.008s | 100% |
| LogsViewModelTest | com.nextcloud.client.logger.ui.LogsViewModelTest | 7 | 0 | 0 | 0.013s | 100% |
| LogsViewModelTest$Filtering | com.nextcloud.client.logger.ui.LogsViewModelTest$Filtering | 3 | 0 | 0 | 0.023s | 100% |
| LogsViewModelTest$Loading | com.nextcloud.client.logger.ui.LogsViewModelTest$Loading | 4 | 0 | 0 | 0.005s | 100% |
| AudioFocusManagerTest | com.nextcloud.client.media.AudioFocusManagerTest | 3 | 0 | 0 | 0.147s | 100% |
| AudioFocusTest | com.nextcloud.client.media.AudioFocusTest | 2 | 0 | 0 | 0.001s | 100% |
| PlayerStateMachineTest | com.nextcloud.client.media.PlayerStateMachineTest | 34 | 0 | 0 | 0.027s | 100% |
| PlayerStateMachineTest$AwaitFocus | com.nextcloud.client.media.PlayerStateMachineTest$AwaitFocus | 5 | 0 | 0 | 0.058s | 100% |
| PlayerStateMachineTest$Constructor | com.nextcloud.client.media.PlayerStateMachineTest$Constructor | 2 | 0 | 0 | 0.005s | 100% |
| PlayerStateMachineTest$Downloading | com.nextcloud.client.media.PlayerStateMachineTest$Downloading | 4 | 0 | 0 | 0.004s | 100% |
| PlayerStateMachineTest$Ducked | com.nextcloud.client.media.PlayerStateMachineTest$Ducked | 5 | 0 | 0 | 0.006s | 100% |
| PlayerStateMachineTest$EventHandling | com.nextcloud.client.media.PlayerStateMachineTest$EventHandling | 2 | 0 | 0 | 0.004s | 100% |
| PlayerStateMachineTest$Focused | com.nextcloud.client.media.PlayerStateMachineTest$Focused | 5 | 0 | 0 | 0.005s | 100% |
| PlayerStateMachineTest$Paused | com.nextcloud.client.media.PlayerStateMachineTest$Paused | 3 | 0 | 0 | 0.002s | 100% |
| PlayerStateMachineTest$Preparing | com.nextcloud.client.media.PlayerStateMachineTest$Preparing | 4 | 0 | 0 | 0.005s | 100% |
| PlayerStateMachineTest$Stopped | com.nextcloud.client.media.PlayerStateMachineTest$Stopped | 4 | 0 | 0 | 0.006s | 100% |
| MixinRegistryTest | com.nextcloud.client.mixins.MixinRegistryTest | 1 | 0 | 0 | 0.112s | 100% |
| ConnectivityServiceTest | com.nextcloud.client.network.ConnectivityServiceTest | 14 | 9 | 0 | 0.079s | 35% |
| ConnectivityServiceTest$Disconnected | com.nextcloud.client.network.ConnectivityServiceTest$Disconnected | 2 | 0 | 0 | 0.361s | 100% |
| ConnectivityServiceTest$IsConnected | com.nextcloud.client.network.ConnectivityServiceTest$IsConnected | 3 | 0 | 0 | 0.018s | 100% |
| ConnectivityServiceTest$WifiConnectionWalledStatus | com.nextcloud.client.network.ConnectivityServiceTest$WifiConnectionWalledStatus | 6 | 6 | 0 | 0.037s | 0% |
| ConnectivityServiceTest$WifiConnectionWalledStatusOnLegacyServer | com.nextcloud.client.network.ConnectivityServiceTest$WifiConnectionWalledStatusOnLegacyServer | 3 | 1 | 0 | 0.012s | 66% |
| OnboardingServiceTest | com.nextcloud.client.onboarding.OnboardingServiceTest | 1 | 0 | 0 | 0.015s | 100% |
| TestAppPreferences | com.nextcloud.client.preferences.TestAppPreferences | 5 | 0 | 0 | 0.005s | 100% |
| TestAppPreferences$ListenerRegistery | com.nextcloud.client.preferences.TestAppPreferences$ListenerRegistery | 3 | 0 | 0 | 0.046s | 100% |
| TestAppPreferences$Preferences | com.nextcloud.client.preferences.TestAppPreferences$Preferences | 2 | 0 | 0 | 0.046s | 100% |
| FileSortOrderBySizeTests | com.nextcloud.client.utils.FileSortOrderBySizeTests | 7 | 0 | 0 | 0.022s | 100% |
| FileStorageUtilsTest | com.nextcloud.client.utils.FileStorageUtilsTest | 28 | 0 | 0 | 0.015s | 100% |
| FolderSizeCalculationTests | com.nextcloud.client.utils.FolderSizeCalculationTests | 14 | 0 | 0 | 0.023s | 100% |
| HashUtilTest | com.nextcloud.client.utils.HashUtilTest | 4 | 0 | 0 | 0.006s | 100% |
| NaturalSortTest | com.nextcloud.client.utils.NaturalSortTest | 7 | 0 | 0 | 0.037s | 100% |
| OCFileSortTest | com.nextcloud.client.utils.OCFileSortTest | 8 | 0 | 0 | 0.055s | 100% |
| SyncedFolderDisplayItemExtensionsTests | com.nextcloud.client.utils.SyncedFolderDisplayItemExtensionsTests | 1 | 0 | 0 | 0.006s | 100% |
| ThrottlerTest | com.nextcloud.client.utils.ThrottlerTest | 3 | 0 | 0 | 0.274s | 100% |
| AuthenticatorDataUrlTest | com.owncloud.android.authentication.AuthenticatorDataUrlTest | 7 | 0 | 0 | 0.026s | 100% |
| AuthenticatorUrlUtilsTest | com.owncloud.android.authentication.AuthenticatorUrlUtilsTest | 7 | 0 | 0 | 0.001s | 100% |
| AuthenticatorUrlUtilsTest$NormalizeScheme | com.owncloud.android.authentication.AuthenticatorUrlUtilsTest$NormalizeScheme | 7 | 0 | 0 | 0.001s | 100% |
| PassCodeManagerTest | com.owncloud.android.authentication.PassCodeManagerTest | 3 | 0 | 0 | 0.111s | 100% |
| FileDataStorageManagerTriggerMediaScanTest | com.owncloud.android.datamodel.FileDataStorageManagerTriggerMediaScanTest | 4 | 0 | 0 | 0.970s | 100% |
| OCFileDepthTests | com.owncloud.android.datamodel.OCFileDepthTests | 4 | 0 | 0 | 0.001s | 100% |
| OCFileTest | com.owncloud.android.datamodel.OCFileTest | 1 | 0 | 0 | 0s | 100% |
| ActivitiesPresenterTest | com.owncloud.android.ui.activities.ActivitiesPresenterTest | 6 | 0 | 0 | 0.742s | 100% |
| RemoteActivitiesRepositoryTest | com.owncloud.android.ui.activities.data.activities.RemoteActivitiesRepositoryTest | 2 | 0 | 0 | 0.089s | 100% |
| RemoteFilesRepositoryTest | com.owncloud.android.ui.activities.data.files.RemoteFilesRepositoryTest | 2 | 0 | 0 | 0.083s | 100% |
| SyncedFoldersActivityTest | com.owncloud.android.ui.activity.SyncedFoldersActivityTest | 5 | 0 | 0 | 0.007s | 100% |
| ActivityListAdapterTest | com.owncloud.android.ui.adapter.ActivityListAdapterTest | 5 | 0 | 0 | 0.132s | 100% |
| GalleryAdapterTest | com.owncloud.android.ui.adapter.GalleryAdapterTest | 2 | 0 | 0 | 0.852s | 100% |
| OCFileListAdapterHelperTest | com.owncloud.android.ui.adapter.OCFileListAdapterHelperTest | 6 | 0 | 0 | 0.292s | 100% |
| OCShareToOCFileConverterTest | com.owncloud.android.ui.adapter.OCShareToOCFileConverterTest | 3 | 0 | 0 | 0.006s | 100% |
| ShareeListAdapterTest | com.owncloud.android.ui.adapter.ShareeListAdapterTest | 1 | 0 | 0 | 0.185s | 100% |
| UserListAdapterTest | com.owncloud.android.ui.adapter.UserListAdapterTest | 3 | 0 | 0 | 0.051s | 100% |
| OCUploadSortingTest | com.owncloud.android.ui.db.OCUploadSortingTest | 6 | 0 | 0 | 0.057s | 100% |
| TextDrawableTest | com.owncloud.android.ui.TextDrawableTest | 12 | 0 | 0 | 0.009s | 100% |
| AutoUploadHelperTest | com.owncloud.android.utils.AutoUploadHelperTest | 10 | 0 | 0 | 0.113s | 100% |
| DisplayUtilsTest | com.owncloud.android.utils.DisplayUtilsTest | 1 | 0 | 0 | 0.038s | 100% |
| E2EVersionHelperTest | com.owncloud.android.utils.E2EVersionHelperTest | 19 | 0 | 0 | 2.085s | 100% |
| OwnCloudSessionTest | com.owncloud.android.utils.OwnCloudSessionTest | 5 | 0 | 0 | 0.001s | 100% |
| PathUtilsTest | com.owncloud.android.utils.PathUtilsTest | 30 | 0 | 0 | 0.002s | 100% |
| PathUtilsTest$IsAncestor | com.owncloud.android.utils.PathUtilsTest$IsAncestor | 15 | 0 | 0 | 0.010s | 100% |
| PathUtilsTest$IsDirectParent | com.owncloud.android.utils.PathUtilsTest$IsDirectParent | 15 | 0 | 0 | 0.007s | 100% |
| StringUtilsTest | com.owncloud.android.utils.StringUtilsTest | 12 | 0 | 0 | 0.003s | 100% |
error output
at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.isDispatchNeeded(MainDispatchers.kt:92)
Exception in thread "DefaultDispatcher-worker-1 @coroutine#10" java.lang.IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used
Exception in thread "DefaultDispatcher-worker-2 @coroutine#30" java.lang.IllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used
at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.missing(MainDispatchers.kt:111)
at kotlinx.coroutines.internal.MissingMainCoroutineDispatcher.isDispatchNeeded(MainDispatchers.kt:92)
at kotlinx.coroutines.internal.DispatchedContinuationKt.safeIsDispatchNeeded(DispatchedContinuation.kt:262)
at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:315)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:170)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.nextcloud.client.network.ConnectivityServiceImpl$notifyListeners$1.invokeSuspend(ConnectivityServiceImpl.kt:53)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:124)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineId(30), "coroutine#30":StandaloneCoroutine{Cancelling}@57464a35, Dispatchers.IO]
Caused by: java.lang.IllegalStateException: The main looper is not available
at kotlinx.coroutines.android.AndroidDispatcherFactory.createDispatcher(HandlerDispatcher.kt:51)
at kotlinx.coroutines.internal.MainDispatchersKt.tryCreateDispatcher(MainDispatchers.kt:53)
at kotlinx.coroutines.internal.MainDispatcherLoader.loadMainDispatcher(MainDispatchers.kt:34)
at kotlinx.coroutines.internal.MainDispatcherLoader.<clinit>(MainDispatchers.kt:18)
at kotlinx.coroutines.Dispatchers.getMain(Dispatchers.kt:19)
... 9 more