-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDE-68 Undo functionality in backpack #4993
base: develop
Are you sure you want to change the base?
Conversation
86f924a
to
004a9e2
Compare
catroid/src/main/java/org/catrobat/catroid/ui/controller/BackpackListManager.java
Outdated
Show resolved
Hide resolved
catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/backpack/BackpackLookFragment.java
Outdated
Show resolved
Hide resolved
catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/backpack/BackpackLookFragment.java
Outdated
Show resolved
Hide resolved
catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/backpack/BackpackSceneFragment.java
Outdated
Show resolved
Hide resolved
catroid/src/main/java/org/catrobat/catroid/ui/recyclerview/backpack/BackpackScriptFragment.java
Show resolved
Hide resolved
catroid/src/androidTest/java/org/catrobat/catroid/test/ui/BackpackUndoTest.kt
Outdated
Show resolved
Hide resolved
var exceptionOccurred = false | ||
|
||
try { | ||
onView(withId(R.id.menu_undo)).perform(ViewActions.click()) | ||
} catch (e: androidx.test.espresso.NoMatchingViewException) { | ||
exceptionOccurred = true | ||
} | ||
assert(exceptionOccurred) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var exceptionOccurred = false | |
try { | |
onView(withId(R.id.menu_undo)).perform(ViewActions.click()) | |
} catch (e: androidx.test.espresso.NoMatchingViewException) { | |
exceptionOccurred = true | |
} | |
assert(exceptionOccurred) | |
onView(withId(R.id.menu_undo)).check(matches(not(isDisplayed()))) |
var exceptionOccurred = false | ||
|
||
try { | ||
onView(withId(R.id.menu_undo)).perform(ViewActions.click()) | ||
} catch (e: androidx.test.espresso.NoMatchingViewException) { | ||
exceptionOccurred = true | ||
} | ||
assert(exceptionOccurred) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var exceptionOccurred = false | |
try { | |
onView(withId(R.id.menu_undo)).perform(ViewActions.click()) | |
} catch (e: androidx.test.espresso.NoMatchingViewException) { | |
exceptionOccurred = true | |
} | |
assert(exceptionOccurred) | |
onView(withId(R.id.menu_undo)).check(matches(not(isDisplayed()))) |
var exceptionOccurred = false | ||
|
||
try { | ||
onView(withId(R.id.menu_undo)).perform(ViewActions.click()) | ||
} catch (e: androidx.test.espresso.NoMatchingViewException) { | ||
exceptionOccurred = true | ||
} | ||
assert(exceptionOccurred) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same as above
var exceptionOccurred = false | ||
|
||
try { | ||
onView(withId(R.id.menu_undo)).perform(ViewActions.click()) | ||
} catch (e: androidx.test.espresso.NoMatchingViewException) { | ||
exceptionOccurred = true | ||
} | ||
assert(exceptionOccurred) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also here
https://catrobat.atlassian.net/browse/IDE-68
Your checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.