From bff633753ba2e32c0d72b8264a3b91ee88d0fb96 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 10 May 2019 03:41:28 +0200 Subject: [PATCH] PrefixAllGlobals: rename test case file directory The test case file subdirectory was named based on a subdirectory of the FileName sniff unit tests. Naming the test case file subdirectory after the sniff will: 1. Make the files more intuitive to find and associate with the correct sniff; 2. Allows more easily for adding a similar subdirectory structure for the unit tests of another sniff in this category in the future, if so needed. --- .../attachment.inc | 0 .../footer_widgets.inc | 0 .../header.inc | 0 .../partials/post-edit.inc | 0 .../social-share.inc | 0 .../Tests/CoreFunctionality/PrefixAllGlobalsUnitTest.inc | 2 ++ .../Tests/CoreFunctionality/PrefixAllGlobalsUnitTest.php | 2 +- 7 files changed, 3 insertions(+), 1 deletion(-) rename WPThemeReview/Tests/CoreFunctionality/{ThemeTemplatesException => PrefixAllGlobalsTests}/attachment.inc (100%) rename WPThemeReview/Tests/CoreFunctionality/{ThemeTemplatesException => PrefixAllGlobalsTests}/footer_widgets.inc (100%) rename WPThemeReview/Tests/CoreFunctionality/{ThemeTemplatesException => PrefixAllGlobalsTests}/header.inc (100%) rename WPThemeReview/Tests/CoreFunctionality/{ThemeTemplatesException => PrefixAllGlobalsTests}/partials/post-edit.inc (100%) rename WPThemeReview/Tests/CoreFunctionality/{ThemeTemplatesException => PrefixAllGlobalsTests}/social-share.inc (100%) create mode 100644 WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsUnitTest.inc diff --git a/WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/attachment.inc b/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/attachment.inc similarity index 100% rename from WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/attachment.inc rename to WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/attachment.inc diff --git a/WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/footer_widgets.inc b/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/footer_widgets.inc similarity index 100% rename from WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/footer_widgets.inc rename to WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/footer_widgets.inc diff --git a/WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/header.inc b/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/header.inc similarity index 100% rename from WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/header.inc rename to WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/header.inc diff --git a/WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/partials/post-edit.inc b/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/partials/post-edit.inc similarity index 100% rename from WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/partials/post-edit.inc rename to WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/partials/post-edit.inc diff --git a/WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/social-share.inc b/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/social-share.inc similarity index 100% rename from WPThemeReview/Tests/CoreFunctionality/ThemeTemplatesException/social-share.inc rename to WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsTests/social-share.inc diff --git a/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsUnitTest.inc b/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsUnitTest.inc new file mode 100644 index 00000000..37237039 --- /dev/null +++ b/WPThemeReview/Tests/CoreFunctionality/PrefixAllGlobalsUnitTest.inc @@ -0,0 +1,2 @@ +