Commit Graph

160 Commits

Author SHA1 Message Date
trestletech
a809bdb447 Enable bulk-running of events via large elapse() values. 2019-10-15 16:45:25 -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
e0fd41066a Restore more tests. 2019-10-15 15:25:08 -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
54c5467dc6 Unrelated: fix autoload tests. 2019-10-15 15:02: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
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
6aeda09a58 Enable ggplot2 tests. 2019-10-15 10:05: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
1748612e83 Scaffold HTML and image tests. 2019-10-14 12:35:29 -05:00
trestletech
f3d7d7aded Skip known broken tests 2019-10-14 10:11:59 -05:00
trestletech
517a2face0 WIP migration to setInput
Timer functions still need work.
2019-10-14 09:49:21 -05:00
Winston Chang
dd84ea8fda Merge branch 'master' into wch-travis-r-versions 2019-10-10 10:17:33 -05:00
trestletech
b3bc3a0ad5 Note current limitation 2019-10-10 08:44:57 -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
640389af05 Test for async errors. 2019-10-09 14:07:58 -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
trestletech
e9cf0f8f4f Update namespacing and vignette 2019-10-08 13:58:28 -05:00
trestletech
fd0918c225 Add parallel async test 2019-10-08 10:10:00 -05:00
trestletech
3085a316a7 Initial promises support 2019-10-08 09:59:06 -05:00
Alan Dipert
116794ad77 Use pkgdown for reference page generation (#2651)
* Add _pkgdown.yml, remove inst/staticdocs/index.r

* Update pkgdown.yml

* Fix pkgdown (nee staticdocs) test so that it fails as it should

* Fix pkgdown test by adding shinyServer and shinyUI to list of intentionally unindexed functions

* Remove old staticdocs test

* Fix "Boilerplate" section of reference docs

* Fix CMD CHECK

* Fix typo

* Use file-based test in get_exported()

* Skip pkgdown check on CRAN

* Fix typo in pkgdown test
2019-10-07 15:18:26 -05:00
trestletech
4acf61d051 WIP Async 2019-10-07 15:11:41 -05:00
trestletech
c6be4aa58a Update test to accommodate new output syntax 2019-10-07 11:27:35 -05:00
trestletech
0205e25a5a Placeholder tests 2019-10-04 15:40:52 -05:00
trestletech
0c6a06da56 Make outputs work on the mock session 2019-10-04 15:37:37 -05:00
trestletech
da6bf7d1de Expand intervals to make tests less fickle 2019-10-04 13:57:03 -05:00
trestletech
3d2c481d27 Test reactivePoll/timer 2019-10-04 13:36:00 -05:00
trestletech
d79c6c701d Test a more complex reactive graph. 2019-10-04 12:37:27 -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
Winston Chang
99a7dca3ce Relax test so it passes on R 3.3 and below 2019-09-30 16:28:38 -05:00
Winston Chang
c8daa1730b Merge pull request #2643 from rstudio/wch-fix-stack-tests
Disable stack tests on CRAN
2019-09-26 16:59:58 -05:00
Winston Chang
d195b595dd Disable call stack tests on CRAN 2019-09-26 16:23:52 -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
Carson
933630af28 Update stack call test expectation in light of https://github.com/rstudio/promises/commit/9ebad6#diff-1220ed154f06164c0a2d6cc053c1f3c1R134 2019-09-18 13:28:32 -05:00
Joe Cheng
33c5a5c665 Fix unit test 2019-09-05 16:12:07 -07:00