Home
last modified time | relevance | path

Searched refs:teardown_env (Results 1 – 20 of 20) sorted by relevance

/dports/devel/R-cran-testthat/testthat/man/
H A Dteardown_env.Rd3 \name{teardown_env}
4 \alias{teardown_env}
7 teardown_env()
12 Typically, you'll use \code{withr::defer(cleanup(), teardown_env())}
H A Dtest_file.Rd36 \code{withr::defer(clean_up(), teardown_env())}. See \code{vignette("test-fixtures")}
H A Dtest_package.Rd57 \code{withr::defer(clean_up(), teardown_env())}. See \code{vignette("test-fixtures")}
H A Dtest_dir.Rd73 \code{withr::defer(clean_up(), teardown_env())}. See \code{vignette("test-fixtures")}
/dports/devel/R-cran-testthat/testthat/R/
H A Dtest-files.R241 withr::defer(withr::deferred_run(teardown_env()), .env) # new school
289 teardown_env <- function() { function
290 testthat_env$teardown_env
294 old <- testthat_env$teardown_env
295 testthat_env$teardown_env <- child_env(emptyenv())
296 withr::defer(testthat_env$teardown_env <- old, env)
/dports/devel/R-cran-pkgcache/pkgcache/tests/testthat/
H A Dsetup.R4 .local_envir = teardown_env()
9 teardown_env()
/dports/net/samba412/samba-4.12.15/selftest/
H A Dselftest.pl819 teardown_env($_) foreach(keys %running_envs);
912 sub teardown_env($) subroutine
918 $env->{target}->teardown_env($env);
973 teardown_env($testenv_name);
1038 teardown_env($envname) if ($opt_resetup_env);
1044 teardown_env($_) foreach (keys %running_envs);
/dports/devel/R-cran-testthat/testthat/tests/testthat/
H A Dsetup.R9 withr::defer(unlink("DELETE-ME-2"), teardown_env())
/dports/textproc/R-cran-utf8/utf8/tests/testthat/
H A Dsetup.R1 rlang::local_options(max.print = 99999L, .frame = testthat::teardown_env())
/dports/devel/R-cran-cli/cli/tests/testthat/
H A Dsetup.R7 withr::defer(.Call(clic__gcov_flush), teardown_env())
/dports/devel/cxxtest/cxxtest-4.4/build_tools/SCons/test/
H A Deprouvette.py165 def teardown_env(t, opts): function
180 teardown_env(t, opts)
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/cxxtest-4.4/build_tools/SCons/test/
H A Deprouvette.py165 def teardown_env(t, opts): function
180 teardown_env(t, opts)
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/acro/tpl/cxxtest/build_tools/SCons/test/
H A Deprouvette.py157 def teardown_env(t, opts): function
172 teardown_env(t, opts)
/dports/net/samba412/samba-4.12.15/selftest/target/
H A DSamba3.pm66 sub teardown_env($$) subroutine
327 teardown_env($self, $ret);
2574 teardown_env($self, $envvars);
2596 teardown_env($self, $envvars);
2615 teardown_env($self, $envvars);
2670 teardown_env($self, $envvars);
2685 teardown_env($self, $envvars);
2700 teardown_env($self, $envvars);
H A DSamba4.pm143 teardown_env($self, $testenv_vars);
180 teardown_env($self, $testenv_vars);
205 teardown_env($self, $testenv_vars);
218 teardown_env($self, $testenv_vars);
230 teardown_env($self, $testenv_vars);
1989 sub teardown_env($$) subroutine
/dports/devel/R-cran-testthat/testthat/
H A DNAMESPACE184 export(teardown_env)
H A DMD5198 da7c3d8b9499eba0e5b074d16d91cd07 *man/teardown_env.Rd
H A DNEWS.md353 * New `teardown_env()` for use with `withr::defer()`. This allows you to
/dports/devel/R-cran-testthat/testthat/vignettes/
H A Dtest-fixtures.Rmd317 …stthat/setup.R`. If the code in this file needs clean up, you can use the special `teardown_env()`:
324 withr::defer(unlink("mtcars.csv"), teardown_env())
/dports/devel/R-cran-testthat/testthat/inst/doc/
H A Dtest-fixtures.Rmd317 …stthat/setup.R`. If the code in this file needs clean up, you can use the special `teardown_env()`:
324 withr::defer(unlink("mtcars.csv"), teardown_env())