From 8fb2076b6b65ea030c56dd08741d7f839b22ba88 Mon Sep 17 00:00:00 2001 From: Christopher Creutzig <89011131+ccreutzi@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:15:29 +0200 Subject: [PATCH] Move utils into tests/private --- .../recording-doubles/+llms/+internal/sendRequestWrapper.m | 0 {test-utils => tests/private}/recording-doubles/addpath.m | 0 .../replaying-doubles/+llms/+internal/sendRequestWrapper.m | 0 {test-utils => tests/private}/replaying-doubles/addpath.m | 0 tests/texampleTests.m | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) rename {test-utils => tests/private}/recording-doubles/+llms/+internal/sendRequestWrapper.m (100%) rename {test-utils => tests/private}/recording-doubles/addpath.m (100%) rename {test-utils => tests/private}/replaying-doubles/+llms/+internal/sendRequestWrapper.m (100%) rename {test-utils => tests/private}/replaying-doubles/addpath.m (100%) diff --git a/test-utils/recording-doubles/+llms/+internal/sendRequestWrapper.m b/tests/private/recording-doubles/+llms/+internal/sendRequestWrapper.m similarity index 100% rename from test-utils/recording-doubles/+llms/+internal/sendRequestWrapper.m rename to tests/private/recording-doubles/+llms/+internal/sendRequestWrapper.m diff --git a/test-utils/recording-doubles/addpath.m b/tests/private/recording-doubles/addpath.m similarity index 100% rename from test-utils/recording-doubles/addpath.m rename to tests/private/recording-doubles/addpath.m diff --git a/test-utils/replaying-doubles/+llms/+internal/sendRequestWrapper.m b/tests/private/replaying-doubles/+llms/+internal/sendRequestWrapper.m similarity index 100% rename from test-utils/replaying-doubles/+llms/+internal/sendRequestWrapper.m rename to tests/private/replaying-doubles/+llms/+internal/sendRequestWrapper.m diff --git a/test-utils/replaying-doubles/addpath.m b/tests/private/replaying-doubles/addpath.m similarity index 100% rename from test-utils/replaying-doubles/addpath.m rename to tests/private/replaying-doubles/addpath.m diff --git a/tests/texampleTests.m b/tests/texampleTests.m index f7cde42..e08a5c9 100644 --- a/tests/texampleTests.m +++ b/tests/texampleTests.m @@ -21,10 +21,10 @@ function setUpAndTearDowns(testCase) if capture testCase.applyFixture(PathFixture( ... - fullfile(testCase.TestDir,"..","test-utils","recording-doubles"))); + fullfile(testCase.TestDir,"private","recording-doubles"))); else testCase.applyFixture(PathFixture( ... - fullfile(testCase.TestDir,"..","test-utils","replaying-doubles"))); + fullfile(testCase.TestDir,"private","replaying-doubles"))); end import matlab.unittest.fixtures.CurrentFolderFixture