Commit Graph

2538 Commits

Author SHA1 Message Date
trestletech
33966cb777 Build out clientData. 2019-10-18 15:03:46 -05:00
trestletech
63ae62ef33 Fleshing out mock session implementation 2019-10-18 14:52:19 -05:00
trestletech
1616dded0e Test sesssion against all exported render* functions. 2019-10-17 16:36:43 -05:00
trestletech
ced3be337a Pulling out mock session into R6 2019-10-17 12:30:14 -05:00
trestletech
07592328ce Build testServer. 2019-10-16 14:43:21 -05:00
trestletech
a809bdb447 Enable bulk-running of events via large elapse() values. 2019-10-15 16:45:25 -05:00
trestletech
baf6e57fc4 Set timer to <= instead of <
Makes testing more sensible instead of having to pad by 1 every time.
2019-10-15 16:32:01 -05:00
trestletech
fa7944e096 Mock debounce/throttle. 2019-10-15 16:06:23 -05:00
trestletech
d3a5ac4a9d Merge branch 'jeff/session-timers' into jeff/integration-test 2019-10-15 15:33:20 -05:00
trestletech
d3667dfc77 Attempt to get the current time from the session, if available. 2019-10-15 15:32:59 -05:00
trestletech
423f8c2703 Add mock timer to session 2019-10-15 15:15:51 -05:00
trestletech
1adb7528c1 Merge branch 'jeff/session-timers' into jeff/integration-test 2019-10-15 15:03:16 -05:00
trestletech
d01f0300a5 Add mock timer class 2019-10-15 14:59:36 -05:00
trestletech
175843ad37 Merge branch 'jeff/session-timers' into jeff/integration-test 2019-10-15 14:29:32 -05:00
trestletech
bff207008f Best-effort task scheduling through the session
Currently a no-op change, as the session just passes through to the global scheduleTask implementation. But this allows us to mock the method for testing.
2019-10-15 14:24:10 -05:00
trestletech
ed739f95ff Revert "Best-effort task scheduling through the session"
This reverts commit bb4de1336c.
2019-10-15 14:22:31 -05:00
trestletech
bb4de1336c Best-effort task scheduling through the session
Currently a no-op change, as the session just passes through to the global scheduleTask implementation. But this allows us to mock the method for testing.
2019-10-15 14:21:44 -05:00
Winston Chang
f7205558d2 Make shiny.autoload.r default to TRUE (#2659)
* Make shiny.autoload.r default to TRUE

* Update comments
2019-10-15 12:24:39 -05:00
trestletech
fb4cc9d537 Test changes 2019-10-15 10:36:18 -05:00
trestletech
2be8906eeb Make inputs read-only from the tests. 2019-10-15 10:13:41 -05:00
trestletech
9e38892c1f Provide default clientdata for plots 2019-10-15 10:03:49 -05:00
trestletech
230488e671 Add HTML and renderUI testing
Inject session and name into render function.
2019-10-15 09:36:54 -05:00
trestletech
de9bf891e9 refactor flush 2019-10-14 10:02:17 -05:00
trestletech
517a2face0 WIP migration to setInput
Timer functions still need work.
2019-10-14 09:49:21 -05:00
Winston Chang
a81c161434 Merge pull request #2658 from rstudio/fix-data-table
Preserve matrix dimensions in dataTablesJSON
2019-10-11 14:56:21 -05:00
trestletech
15dea2fcbc Add support for comparing the returned value from the module. 2019-10-09 15:59:36 -05:00
trestletech
f25c21eb28 Handle missing outputs 2019-10-09 15:43:31 -05:00
trestletech
593ea60611 Test synchronous errors. 2019-10-09 14:05:32 -05:00
trestletech
03c1932c3a Add support for additional arguments to module 2019-10-09 09:28:24 -05:00
Winston Chang
27ce460ea4 Preserve matrix dimensions in dataTablesJSON. Fixes #2653 2019-10-08 16:04:03 -05:00
trestletech
e9cf0f8f4f Update namespacing and vignette 2019-10-08 13:58:28 -05:00
trestletech
3085a316a7 Initial promises support 2019-10-08 09:59:06 -05:00
trestletech
4acf61d051 WIP Async 2019-10-07 15:11:41 -05:00
trestletech
0c6a06da56 Make outputs work on the mock session 2019-10-04 15:37:37 -05:00
trestletech
3d2c481d27 Test reactivePoll/timer 2019-10-04 13:36:00 -05:00
trestletech
613615fd69 Better mocking/testing for session end 2019-10-04 12:22:30 -05:00
trestletech
fee07ab97b More session mocking to support getDefaultReactiveDomain usage. 2019-10-04 12:09:57 -05:00
trestletech
79f711794d test with once=TRUE 2019-10-04 10:05:11 -05:00
trestletech
3fd82d08f8 Wire up session handlers 2019-10-04 10:01:34 -05:00
trestletech
267d9e66d8 Unit tests for reactive flushing and timers 2019-10-04 09:17:38 -05:00
trestletech
889b06853c Flush in between each line and use an example that actually requires reactivity 2019-10-03 15:48:56 -05:00
trestletech
43118a11b7 Working on vignette 2019-10-03 14:55:08 -05:00
trestletech
78232d937c First draft of module testing 2019-10-03 14:29:39 -05:00
Barret Schloerke
37781a9df7 namespace packageVersion 2019-09-24 17:36:45 -04:00
Carson
103a35c81b review feedback 2019-09-20 15:43:38 -05:00
Carson
7c7110cd83 Do nothing if the package isn't installed or meets the version requirement 2019-09-20 15:43:38 -05:00
Carson
60b3b6ff03 jquery legacy is 1.12.4, not 1.12.1 2019-09-20 15:43:38 -05:00
Carson
2c49375928 Provide an option, shiny.jquery.version, to opt-in into jQuery 1.12.1 2019-09-20 15:43:38 -05:00
Carson
f9fc22c48b Emit an upgrade message if an old version htmlwidgets is installed 2019-09-20 15:43:38 -05:00
Alan Dipert
8f2a28a1f2 Fix #2624 by aligning select* input handling of groups with that of updateSelect* 2019-09-19 20:16:36 +00:00