Skip to content

Commit

Permalink
Just use legacy for both
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Mar 20, 2024
1 parent 69e4113 commit f00fa71
Show file tree
Hide file tree
Showing 11 changed files with 167 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@

},
"output": {
"datatable": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatablea": [
"OK",
"NULL",
"c(\"shiny.silent.error\", \"validation\")"
],
"datatable": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"datatablea": {
"message": "OK",
"call": "NULL",
"type": [
"shiny.silent.error",
"validation"
]
},
"image": {
"message": "OK",
"call": "NULL",
Expand Down
8 changes: 7 additions & 1 deletion inst/apps/126-async-ticks/tests/testthat/test-mytest.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
library(shinytest2)

test_that("Migrated shinytest test: mytest.R", {
app <- AppDriver$new(variant = shinytest2::platform_variant())
app <- AppDriver$new(
variant = shinytest2::platform_variant(),
# Use legacy datatable implementation just for the
# info$datatable$colnames test below. We could, of course,
# update that test, but it's also good to test the legacy.
options = list(shiny.legacy.datatable = TRUE)
)

app$expect_values()
app$expect_screenshot()
Expand Down

0 comments on commit f00fa71

Please sign in to comment.