From c54ef891fa2e25c4517feed05057488eb9c4ef7d Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 18 Aug 2021 17:15:20 +0200 Subject: [PATCH] New testing folder --- .../feature_rules/aggregate_feature_placement.json | 0 .../beards_and_shavers_feature_placement.json | 0 .../cave_carver_feature_placement.json | 0 .../conditional_list_feature_placement.json | 0 .../bp/feature_rules/geode_feature_placement.json | 0 .../growing_plant_feature_placement.json | 0 .../hell_cave_carver_feature_placement.json | 0 .../feature_rules/multiface_feature_placement.json | 0 .../bp/feature_rules/ore_feature_placement.json | 0 .../rect_layout_feature_placement.json | 0 .../scan_surface_feature_placement.json | 0 .../bp/feature_rules/scatter_feature_placement.json | 0 .../bp/feature_rules/search_feature_placement.json | 0 .../feature_rules/sequence_feature_placement.json | 0 .../bp/feature_rules/tree_feature_placement.json | 0 .../underwater_cave_carver_feature_placement.json | 0 .../vegetation_patch_feature_placement.json | 0 .../weighted_random_feature_placement.json | 0 test/{ => files}/bp/features/aggregate_feature.json | 0 .../bp/features/aggregate_feature_obsidian.json | 0 .../bp/features/aggregate_feature_planks.json | 0 .../aggregate_feature_planks_placement.json | 0 .../bp/features/beards_and_shavers_feature.json | 0 .../beards_and_shavers_feature_obsidian.json | 0 .../bp/features/cave_carver_feature.json | 0 .../bp/features/conditional_list_feature.json | 0 .../features/conditional_list_feature_obsidian.json | 0 test/{ => files}/bp/features/geode_feature.json | 0 .../bp/features/growing_plant_feature.json | 0 .../bp/features/hell_cave_carver_feature.json | 0 test/{ => files}/bp/features/multiface_feature.json | 0 .../bp/features/multiface_feature_obsidian.json | 0 test/{ => files}/bp/features/ore_feature.json | 0 .../bp/features/rect_layout_feature.json | 0 .../bp/features/rect_layout_feature_obsidian.json | 0 .../bp/features/rect_layout_feature_planks.json | 0 .../bp/features/scan_surface_feature.json | 0 .../bp/features/scan_surface_feature_obsidian.json | 0 test/{ => files}/bp/features/scatter_feature.json | 0 .../bp/features/scatter_feature_obsidian.json | 0 test/{ => files}/bp/features/search_feature.json | 0 .../bp/features/search_feature_obsidian.json | 0 test/{ => files}/bp/features/sequence_feature.json | 0 .../bp/features/sequence_feature_planks.json | 0 test/{ => files}/bp/features/structure_feature.json | 0 test/{ => files}/bp/features/tree_feature.json | 0 .../bp/features/underwater_cave_carver_feature.json | 0 .../bp/features/vegetation_patch_feature.json | 0 .../features/vegetation_patch_feature_obsidian.json | 0 .../bp/features/weighted_random_feature.json | 0 .../features/weighted_random_feature_obsidian.json | 0 .../bp/features/weighted_random_feature_planks.json | 0 test/{ => files}/bp/manifest.json | 0 test/{ => files}/bp/pack_icon.png | Bin .../structure_features/structure.mcstructure | Bin test/src/SchemaTester.ts | 0 test/src/Utillity.ts | 11 +++++++++++ 57 files changed, 11 insertions(+) rename test/{ => files}/bp/feature_rules/aggregate_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/beards_and_shavers_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/cave_carver_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/conditional_list_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/geode_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/growing_plant_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/hell_cave_carver_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/multiface_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/ore_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/rect_layout_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/scan_surface_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/scatter_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/search_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/sequence_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/tree_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/underwater_cave_carver_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/vegetation_patch_feature_placement.json (100%) rename test/{ => files}/bp/feature_rules/weighted_random_feature_placement.json (100%) rename test/{ => files}/bp/features/aggregate_feature.json (100%) rename test/{ => files}/bp/features/aggregate_feature_obsidian.json (100%) rename test/{ => files}/bp/features/aggregate_feature_planks.json (100%) rename test/{ => files}/bp/features/aggregate_feature_planks_placement.json (100%) rename test/{ => files}/bp/features/beards_and_shavers_feature.json (100%) rename test/{ => files}/bp/features/beards_and_shavers_feature_obsidian.json (100%) rename test/{ => files}/bp/features/cave_carver_feature.json (100%) rename test/{ => files}/bp/features/conditional_list_feature.json (100%) rename test/{ => files}/bp/features/conditional_list_feature_obsidian.json (100%) rename test/{ => files}/bp/features/geode_feature.json (100%) rename test/{ => files}/bp/features/growing_plant_feature.json (100%) rename test/{ => files}/bp/features/hell_cave_carver_feature.json (100%) rename test/{ => files}/bp/features/multiface_feature.json (100%) rename test/{ => files}/bp/features/multiface_feature_obsidian.json (100%) rename test/{ => files}/bp/features/ore_feature.json (100%) rename test/{ => files}/bp/features/rect_layout_feature.json (100%) rename test/{ => files}/bp/features/rect_layout_feature_obsidian.json (100%) rename test/{ => files}/bp/features/rect_layout_feature_planks.json (100%) rename test/{ => files}/bp/features/scan_surface_feature.json (100%) rename test/{ => files}/bp/features/scan_surface_feature_obsidian.json (100%) rename test/{ => files}/bp/features/scatter_feature.json (100%) rename test/{ => files}/bp/features/scatter_feature_obsidian.json (100%) rename test/{ => files}/bp/features/search_feature.json (100%) rename test/{ => files}/bp/features/search_feature_obsidian.json (100%) rename test/{ => files}/bp/features/sequence_feature.json (100%) rename test/{ => files}/bp/features/sequence_feature_planks.json (100%) rename test/{ => files}/bp/features/structure_feature.json (100%) rename test/{ => files}/bp/features/tree_feature.json (100%) rename test/{ => files}/bp/features/underwater_cave_carver_feature.json (100%) rename test/{ => files}/bp/features/vegetation_patch_feature.json (100%) rename test/{ => files}/bp/features/vegetation_patch_feature_obsidian.json (100%) rename test/{ => files}/bp/features/weighted_random_feature.json (100%) rename test/{ => files}/bp/features/weighted_random_feature_obsidian.json (100%) rename test/{ => files}/bp/features/weighted_random_feature_planks.json (100%) rename test/{ => files}/bp/manifest.json (100%) rename test/{ => files}/bp/pack_icon.png (100%) rename test/{ => files}/bp/structures/structure_features/structure.mcstructure (100%) create mode 100644 test/src/SchemaTester.ts create mode 100644 test/src/Utillity.ts diff --git a/test/bp/feature_rules/aggregate_feature_placement.json b/test/files/bp/feature_rules/aggregate_feature_placement.json similarity index 100% rename from test/bp/feature_rules/aggregate_feature_placement.json rename to test/files/bp/feature_rules/aggregate_feature_placement.json diff --git a/test/bp/feature_rules/beards_and_shavers_feature_placement.json b/test/files/bp/feature_rules/beards_and_shavers_feature_placement.json similarity index 100% rename from test/bp/feature_rules/beards_and_shavers_feature_placement.json rename to test/files/bp/feature_rules/beards_and_shavers_feature_placement.json diff --git a/test/bp/feature_rules/cave_carver_feature_placement.json b/test/files/bp/feature_rules/cave_carver_feature_placement.json similarity index 100% rename from test/bp/feature_rules/cave_carver_feature_placement.json rename to test/files/bp/feature_rules/cave_carver_feature_placement.json diff --git a/test/bp/feature_rules/conditional_list_feature_placement.json b/test/files/bp/feature_rules/conditional_list_feature_placement.json similarity index 100% rename from test/bp/feature_rules/conditional_list_feature_placement.json rename to test/files/bp/feature_rules/conditional_list_feature_placement.json diff --git a/test/bp/feature_rules/geode_feature_placement.json b/test/files/bp/feature_rules/geode_feature_placement.json similarity index 100% rename from test/bp/feature_rules/geode_feature_placement.json rename to test/files/bp/feature_rules/geode_feature_placement.json diff --git a/test/bp/feature_rules/growing_plant_feature_placement.json b/test/files/bp/feature_rules/growing_plant_feature_placement.json similarity index 100% rename from test/bp/feature_rules/growing_plant_feature_placement.json rename to test/files/bp/feature_rules/growing_plant_feature_placement.json diff --git a/test/bp/feature_rules/hell_cave_carver_feature_placement.json b/test/files/bp/feature_rules/hell_cave_carver_feature_placement.json similarity index 100% rename from test/bp/feature_rules/hell_cave_carver_feature_placement.json rename to test/files/bp/feature_rules/hell_cave_carver_feature_placement.json diff --git a/test/bp/feature_rules/multiface_feature_placement.json b/test/files/bp/feature_rules/multiface_feature_placement.json similarity index 100% rename from test/bp/feature_rules/multiface_feature_placement.json rename to test/files/bp/feature_rules/multiface_feature_placement.json diff --git a/test/bp/feature_rules/ore_feature_placement.json b/test/files/bp/feature_rules/ore_feature_placement.json similarity index 100% rename from test/bp/feature_rules/ore_feature_placement.json rename to test/files/bp/feature_rules/ore_feature_placement.json diff --git a/test/bp/feature_rules/rect_layout_feature_placement.json b/test/files/bp/feature_rules/rect_layout_feature_placement.json similarity index 100% rename from test/bp/feature_rules/rect_layout_feature_placement.json rename to test/files/bp/feature_rules/rect_layout_feature_placement.json diff --git a/test/bp/feature_rules/scan_surface_feature_placement.json b/test/files/bp/feature_rules/scan_surface_feature_placement.json similarity index 100% rename from test/bp/feature_rules/scan_surface_feature_placement.json rename to test/files/bp/feature_rules/scan_surface_feature_placement.json diff --git a/test/bp/feature_rules/scatter_feature_placement.json b/test/files/bp/feature_rules/scatter_feature_placement.json similarity index 100% rename from test/bp/feature_rules/scatter_feature_placement.json rename to test/files/bp/feature_rules/scatter_feature_placement.json diff --git a/test/bp/feature_rules/search_feature_placement.json b/test/files/bp/feature_rules/search_feature_placement.json similarity index 100% rename from test/bp/feature_rules/search_feature_placement.json rename to test/files/bp/feature_rules/search_feature_placement.json diff --git a/test/bp/feature_rules/sequence_feature_placement.json b/test/files/bp/feature_rules/sequence_feature_placement.json similarity index 100% rename from test/bp/feature_rules/sequence_feature_placement.json rename to test/files/bp/feature_rules/sequence_feature_placement.json diff --git a/test/bp/feature_rules/tree_feature_placement.json b/test/files/bp/feature_rules/tree_feature_placement.json similarity index 100% rename from test/bp/feature_rules/tree_feature_placement.json rename to test/files/bp/feature_rules/tree_feature_placement.json diff --git a/test/bp/feature_rules/underwater_cave_carver_feature_placement.json b/test/files/bp/feature_rules/underwater_cave_carver_feature_placement.json similarity index 100% rename from test/bp/feature_rules/underwater_cave_carver_feature_placement.json rename to test/files/bp/feature_rules/underwater_cave_carver_feature_placement.json diff --git a/test/bp/feature_rules/vegetation_patch_feature_placement.json b/test/files/bp/feature_rules/vegetation_patch_feature_placement.json similarity index 100% rename from test/bp/feature_rules/vegetation_patch_feature_placement.json rename to test/files/bp/feature_rules/vegetation_patch_feature_placement.json diff --git a/test/bp/feature_rules/weighted_random_feature_placement.json b/test/files/bp/feature_rules/weighted_random_feature_placement.json similarity index 100% rename from test/bp/feature_rules/weighted_random_feature_placement.json rename to test/files/bp/feature_rules/weighted_random_feature_placement.json diff --git a/test/bp/features/aggregate_feature.json b/test/files/bp/features/aggregate_feature.json similarity index 100% rename from test/bp/features/aggregate_feature.json rename to test/files/bp/features/aggregate_feature.json diff --git a/test/bp/features/aggregate_feature_obsidian.json b/test/files/bp/features/aggregate_feature_obsidian.json similarity index 100% rename from test/bp/features/aggregate_feature_obsidian.json rename to test/files/bp/features/aggregate_feature_obsidian.json diff --git a/test/bp/features/aggregate_feature_planks.json b/test/files/bp/features/aggregate_feature_planks.json similarity index 100% rename from test/bp/features/aggregate_feature_planks.json rename to test/files/bp/features/aggregate_feature_planks.json diff --git a/test/bp/features/aggregate_feature_planks_placement.json b/test/files/bp/features/aggregate_feature_planks_placement.json similarity index 100% rename from test/bp/features/aggregate_feature_planks_placement.json rename to test/files/bp/features/aggregate_feature_planks_placement.json diff --git a/test/bp/features/beards_and_shavers_feature.json b/test/files/bp/features/beards_and_shavers_feature.json similarity index 100% rename from test/bp/features/beards_and_shavers_feature.json rename to test/files/bp/features/beards_and_shavers_feature.json diff --git a/test/bp/features/beards_and_shavers_feature_obsidian.json b/test/files/bp/features/beards_and_shavers_feature_obsidian.json similarity index 100% rename from test/bp/features/beards_and_shavers_feature_obsidian.json rename to test/files/bp/features/beards_and_shavers_feature_obsidian.json diff --git a/test/bp/features/cave_carver_feature.json b/test/files/bp/features/cave_carver_feature.json similarity index 100% rename from test/bp/features/cave_carver_feature.json rename to test/files/bp/features/cave_carver_feature.json diff --git a/test/bp/features/conditional_list_feature.json b/test/files/bp/features/conditional_list_feature.json similarity index 100% rename from test/bp/features/conditional_list_feature.json rename to test/files/bp/features/conditional_list_feature.json diff --git a/test/bp/features/conditional_list_feature_obsidian.json b/test/files/bp/features/conditional_list_feature_obsidian.json similarity index 100% rename from test/bp/features/conditional_list_feature_obsidian.json rename to test/files/bp/features/conditional_list_feature_obsidian.json diff --git a/test/bp/features/geode_feature.json b/test/files/bp/features/geode_feature.json similarity index 100% rename from test/bp/features/geode_feature.json rename to test/files/bp/features/geode_feature.json diff --git a/test/bp/features/growing_plant_feature.json b/test/files/bp/features/growing_plant_feature.json similarity index 100% rename from test/bp/features/growing_plant_feature.json rename to test/files/bp/features/growing_plant_feature.json diff --git a/test/bp/features/hell_cave_carver_feature.json b/test/files/bp/features/hell_cave_carver_feature.json similarity index 100% rename from test/bp/features/hell_cave_carver_feature.json rename to test/files/bp/features/hell_cave_carver_feature.json diff --git a/test/bp/features/multiface_feature.json b/test/files/bp/features/multiface_feature.json similarity index 100% rename from test/bp/features/multiface_feature.json rename to test/files/bp/features/multiface_feature.json diff --git a/test/bp/features/multiface_feature_obsidian.json b/test/files/bp/features/multiface_feature_obsidian.json similarity index 100% rename from test/bp/features/multiface_feature_obsidian.json rename to test/files/bp/features/multiface_feature_obsidian.json diff --git a/test/bp/features/ore_feature.json b/test/files/bp/features/ore_feature.json similarity index 100% rename from test/bp/features/ore_feature.json rename to test/files/bp/features/ore_feature.json diff --git a/test/bp/features/rect_layout_feature.json b/test/files/bp/features/rect_layout_feature.json similarity index 100% rename from test/bp/features/rect_layout_feature.json rename to test/files/bp/features/rect_layout_feature.json diff --git a/test/bp/features/rect_layout_feature_obsidian.json b/test/files/bp/features/rect_layout_feature_obsidian.json similarity index 100% rename from test/bp/features/rect_layout_feature_obsidian.json rename to test/files/bp/features/rect_layout_feature_obsidian.json diff --git a/test/bp/features/rect_layout_feature_planks.json b/test/files/bp/features/rect_layout_feature_planks.json similarity index 100% rename from test/bp/features/rect_layout_feature_planks.json rename to test/files/bp/features/rect_layout_feature_planks.json diff --git a/test/bp/features/scan_surface_feature.json b/test/files/bp/features/scan_surface_feature.json similarity index 100% rename from test/bp/features/scan_surface_feature.json rename to test/files/bp/features/scan_surface_feature.json diff --git a/test/bp/features/scan_surface_feature_obsidian.json b/test/files/bp/features/scan_surface_feature_obsidian.json similarity index 100% rename from test/bp/features/scan_surface_feature_obsidian.json rename to test/files/bp/features/scan_surface_feature_obsidian.json diff --git a/test/bp/features/scatter_feature.json b/test/files/bp/features/scatter_feature.json similarity index 100% rename from test/bp/features/scatter_feature.json rename to test/files/bp/features/scatter_feature.json diff --git a/test/bp/features/scatter_feature_obsidian.json b/test/files/bp/features/scatter_feature_obsidian.json similarity index 100% rename from test/bp/features/scatter_feature_obsidian.json rename to test/files/bp/features/scatter_feature_obsidian.json diff --git a/test/bp/features/search_feature.json b/test/files/bp/features/search_feature.json similarity index 100% rename from test/bp/features/search_feature.json rename to test/files/bp/features/search_feature.json diff --git a/test/bp/features/search_feature_obsidian.json b/test/files/bp/features/search_feature_obsidian.json similarity index 100% rename from test/bp/features/search_feature_obsidian.json rename to test/files/bp/features/search_feature_obsidian.json diff --git a/test/bp/features/sequence_feature.json b/test/files/bp/features/sequence_feature.json similarity index 100% rename from test/bp/features/sequence_feature.json rename to test/files/bp/features/sequence_feature.json diff --git a/test/bp/features/sequence_feature_planks.json b/test/files/bp/features/sequence_feature_planks.json similarity index 100% rename from test/bp/features/sequence_feature_planks.json rename to test/files/bp/features/sequence_feature_planks.json diff --git a/test/bp/features/structure_feature.json b/test/files/bp/features/structure_feature.json similarity index 100% rename from test/bp/features/structure_feature.json rename to test/files/bp/features/structure_feature.json diff --git a/test/bp/features/tree_feature.json b/test/files/bp/features/tree_feature.json similarity index 100% rename from test/bp/features/tree_feature.json rename to test/files/bp/features/tree_feature.json diff --git a/test/bp/features/underwater_cave_carver_feature.json b/test/files/bp/features/underwater_cave_carver_feature.json similarity index 100% rename from test/bp/features/underwater_cave_carver_feature.json rename to test/files/bp/features/underwater_cave_carver_feature.json diff --git a/test/bp/features/vegetation_patch_feature.json b/test/files/bp/features/vegetation_patch_feature.json similarity index 100% rename from test/bp/features/vegetation_patch_feature.json rename to test/files/bp/features/vegetation_patch_feature.json diff --git a/test/bp/features/vegetation_patch_feature_obsidian.json b/test/files/bp/features/vegetation_patch_feature_obsidian.json similarity index 100% rename from test/bp/features/vegetation_patch_feature_obsidian.json rename to test/files/bp/features/vegetation_patch_feature_obsidian.json diff --git a/test/bp/features/weighted_random_feature.json b/test/files/bp/features/weighted_random_feature.json similarity index 100% rename from test/bp/features/weighted_random_feature.json rename to test/files/bp/features/weighted_random_feature.json diff --git a/test/bp/features/weighted_random_feature_obsidian.json b/test/files/bp/features/weighted_random_feature_obsidian.json similarity index 100% rename from test/bp/features/weighted_random_feature_obsidian.json rename to test/files/bp/features/weighted_random_feature_obsidian.json diff --git a/test/bp/features/weighted_random_feature_planks.json b/test/files/bp/features/weighted_random_feature_planks.json similarity index 100% rename from test/bp/features/weighted_random_feature_planks.json rename to test/files/bp/features/weighted_random_feature_planks.json diff --git a/test/bp/manifest.json b/test/files/bp/manifest.json similarity index 100% rename from test/bp/manifest.json rename to test/files/bp/manifest.json diff --git a/test/bp/pack_icon.png b/test/files/bp/pack_icon.png similarity index 100% rename from test/bp/pack_icon.png rename to test/files/bp/pack_icon.png diff --git a/test/bp/structures/structure_features/structure.mcstructure b/test/files/bp/structures/structure_features/structure.mcstructure similarity index 100% rename from test/bp/structures/structure_features/structure.mcstructure rename to test/files/bp/structures/structure_features/structure.mcstructure diff --git a/test/src/SchemaTester.ts b/test/src/SchemaTester.ts new file mode 100644 index 00000000..e69de29b diff --git a/test/src/Utillity.ts b/test/src/Utillity.ts new file mode 100644 index 00000000..02152279 --- /dev/null +++ b/test/src/Utillity.ts @@ -0,0 +1,11 @@ +import path from "path"; + +export namespace Files { + export function TestFolder(): string { + return __dirname; + } + + export function FilesFolder(): string { + return path.join(TestFolder(), "files"); + } +}