summaryrefslogtreecommitdiffstats
path: root/src/test/osd/scrubber_test_datasets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/osd/scrubber_test_datasets.h')
-rw-r--r--src/test/osd/scrubber_test_datasets.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/osd/scrubber_test_datasets.h b/src/test/osd/scrubber_test_datasets.h
new file mode 100644
index 000000000..181528568
--- /dev/null
+++ b/src/test/osd/scrubber_test_datasets.h
@@ -0,0 +1,21 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+#pragma once
+
+/// \file data-sets used by the scrubber unit tests
+
+#include "./scrubber_generators.h"
+
+namespace ScrubDatasets {
+/*
+ * Two objects with some clones. No inconsitencies.
+ */
+extern ScrubGenerator::RealObjsConf minimal_snaps_configuration;
+
+// and a part of this configuration, one that we will corrupt in a test:
+extern hobject_t hobj_ms1_snp30;
+
+// a manipulation set used in TestTScrubberBe_data_2:
+extern ScrubGenerator::CorruptFuncList crpt_funcs_set1;
+
+} // namespace ScrubDatasets