Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2016-06-05 18:39:12 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2016-06-05 18:39:12 +0300
commitc3fc2a9fffad1ab24f23ed08ed9e45f19f920fe6 (patch)
tree097fd4bcbec8e813b8058d6701448c7034d5fce0 /test/tests/file_handle_create_close
parent8e271b3d17b76f7f14ea0ecbf62d24b75f774af6 (diff)
Implemented kerneltest hooks. We should now be clear to start pasting back in the per-test filesystem setup, check and wipe per parameter permutation. Which kinda brings us right back to where we were ten days ago, except everything is now generic and incredibly reusable.
Diffstat (limited to 'test/tests/file_handle_create_close')
-rw-r--r--test/tests/file_handle_create_close/runner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tests/file_handle_create_close/runner.cpp b/test/tests/file_handle_create_close/runner.cpp
index 332bec29..599bea57 100644
--- a/test/tests/file_handle_create_close/runner.cpp
+++ b/test/tests/file_handle_create_close/runner.cpp
@@ -22,9 +22,9 @@ template <class U> inline void file_handle_create_close_creation(U &&f)
* existing1: single one byte length file
*/
// clang-format off
- static const auto permuter = mt_permute_parameters< // This is a multithreaded parameter permutation test
- result<void>, // The output outcome/result/option type. Type void means we don't care about the return type.
- parameters< // The types of one or more input parameters to permute/fuzz the kernel with.
+ static const auto permuter(mt_permute_parameters< // This is a multithreaded parameter permutation test
+ result<void>, // The output outcome/result/option type. Type void means we don't care about the return type.
+ parameters< // The types of one or more input parameters to permute/fuzz the kernel with.
typename file_handle::creation
>,
// Any additional per-permute parameters not used to invoke the kernel
@@ -47,7 +47,7 @@ template <class U> inline void file_handle_create_close_creation(U &&f)
// destroyed after each permutation. The callspec is (parameter_permuter<...> *parent, outcome<T> &testret, size_t, pars)
hooks::filesystem_setup("file_handle_create_close"), // Configure this filesystem workspace before the test
hooks::filesystem_comparison_inexact("file_handle_create_close") // Do an inexact comparison of the filesystem workspace after the test
- );
+ ));
// clang-format on
// Have the permuter permute callable f with all the permutations, returning outcomes