From d15562058f5b8d98719d38aec625e85cd6fb2df2 Mon Sep 17 00:00:00 2001 From: Juan Carlos Garrote Date: Mon, 27 Sep 2021 12:04:00 +0200 Subject: [PATCH] Removed LogHistoryActivityTest, as it created problems with tests --- .../settings/logs/LogHistoryActivityTest.kt | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 owncloudApp/src/androidTest/java/com/owncloud/android/settings/logs/LogHistoryActivityTest.kt diff --git a/owncloudApp/src/androidTest/java/com/owncloud/android/settings/logs/LogHistoryActivityTest.kt b/owncloudApp/src/androidTest/java/com/owncloud/android/settings/logs/LogHistoryActivityTest.kt deleted file mode 100644 index 60771c61404..00000000000 --- a/owncloudApp/src/androidTest/java/com/owncloud/android/settings/logs/LogHistoryActivityTest.kt +++ /dev/null @@ -1,50 +0,0 @@ -/** - * ownCloud Android client application - * - * @author Jesús Recio @jesmrec - * @author Juan Carlos Garrote Gascón - * - * Copyright (C) 2021 ownCloud GmbH. - *

- * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2, - * as published by the Free Software Foundation. - *

- * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - *

- * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package com.owncloud.android.settings.logs - -import androidx.test.espresso.Espresso.onView -import androidx.test.espresso.assertion.ViewAssertions.matches -import androidx.test.espresso.matcher.ViewMatchers.isDescendantOfA -import androidx.test.espresso.matcher.ViewMatchers.isDisplayed -import androidx.test.espresso.matcher.ViewMatchers.withId -import androidx.test.ext.junit.rules.ActivityScenarioRule -import com.owncloud.android.R -import com.owncloud.android.presentation.ui.settings.LogHistoryActivity -import org.hamcrest.Matchers.allOf -import org.junit.Rule -import org.junit.Test - -class LogHistoryActivityTest { - - @Rule - @JvmField - val activityRule = ActivityScenarioRule(LogHistoryActivity::class.java) - - @Test - fun itemsToolbar() { - onView( - allOf(withId(R.id.search_button), isDescendantOfA(withId(R.id.standard_toolbar))) - ).check( - matches(isDisplayed()) - ) - } -}