Skip to content

Commit

Permalink
Fix tests compilation ActionOrderType
Browse files Browse the repository at this point in the history
  • Loading branch information
rwx788 committed Jul 14, 2023
1 parent f4e1ca7 commit a180c24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rider/src/test/kotlin/base/ProjectModel.API.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import com.jetbrains.rider.projectView.actions.newFile.RiderNewDirectoryAction
import com.jetbrains.rider.projectView.moveProviders.RiderCutProvider
import com.jetbrains.rider.projectView.moveProviders.RiderDeleteProvider
import com.jetbrains.rider.projectView.moveProviders.RiderPasteProvider
import com.jetbrains.rider.projectView.moveProviders.impl.ActionOrderType
import com.jetbrains.rider.projectView.moveProviders.impl.DuplicateNameDialog
import com.jetbrains.rider.projectView.nodes.getVirtualFile
import com.jetbrains.rider.projectView.views.SolutionViewPaneBase
Expand Down Expand Up @@ -170,7 +171,7 @@ fun cutItem2(project: Project, paths: Array<Array<String>>) {
RiderCutProvider.performCut(dataContext)
}

fun pasteItem2(project: Project, path: Array<String>, customName: String? = null, orderType : RdDndOrderType? = null) {
fun pasteItem2(project: Project, path: Array<String>, customName: String? = null, orderType : ActionOrderType? = null) {
val dataContext = createDataContextForUnityExplorer(project, arrayOf(path))
assert(RiderPasteProvider.isPasteEnabled(dataContext)) { "Can't paste elements. isPasteEnabled" }
assert(RiderPasteProvider.isPastePossible(dataContext)) { "Can't paste elements. isPastePossible" }
Expand Down

0 comments on commit a180c24

Please sign in to comment.