From c59c3af146c465a6fcc08abc107c49e69b5e2e3d Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Mon, 11 Sep 2017 14:50:51 +0200
Subject: [PATCH] STYLE: relocate surfaceMeshConvertTesting to test/ (closes
 #584)

- relocate as Test-surfaceMeshConvert.
---
 applications/test/surfaceMeshConvert/Make/files            | 3 +++
 .../surfaceMeshConvert}/Make/options                       | 0
 .../surfaceMeshConvert/Test-surfaceMeshConvert.C}          | 7 +++----
 .../utilities/surface/surfaceMeshConvertTesting/Make/files | 3 ---
 etc/config.sh/completion_cache                             | 1 -
 5 files changed, 6 insertions(+), 8 deletions(-)
 create mode 100644 applications/test/surfaceMeshConvert/Make/files
 rename applications/{utilities/surface/surfaceMeshConvertTesting => test/surfaceMeshConvert}/Make/options (100%)
 rename applications/{utilities/surface/surfaceMeshConvertTesting/surfaceMeshConvertTesting.C => test/surfaceMeshConvert/Test-surfaceMeshConvert.C} (98%)
 delete mode 100644 applications/utilities/surface/surfaceMeshConvertTesting/Make/files

diff --git a/applications/test/surfaceMeshConvert/Make/files b/applications/test/surfaceMeshConvert/Make/files
new file mode 100644
index 00000000000..91a99b3feff
--- /dev/null
+++ b/applications/test/surfaceMeshConvert/Make/files
@@ -0,0 +1,3 @@
+Test-surfaceMeshConvert.C
+
+EXE = $(FOAM_APPBIN)/Test-surfaceMeshConvert
diff --git a/applications/utilities/surface/surfaceMeshConvertTesting/Make/options b/applications/test/surfaceMeshConvert/Make/options
similarity index 100%
rename from applications/utilities/surface/surfaceMeshConvertTesting/Make/options
rename to applications/test/surfaceMeshConvert/Make/options
diff --git a/applications/utilities/surface/surfaceMeshConvertTesting/surfaceMeshConvertTesting.C b/applications/test/surfaceMeshConvert/Test-surfaceMeshConvert.C
similarity index 98%
rename from applications/utilities/surface/surfaceMeshConvertTesting/surfaceMeshConvertTesting.C
rename to applications/test/surfaceMeshConvert/Test-surfaceMeshConvert.C
index 2db1c32b114..39cc729ba3a 100644
--- a/applications/utilities/surface/surfaceMeshConvertTesting/surfaceMeshConvertTesting.C
+++ b/applications/test/surfaceMeshConvert/Test-surfaceMeshConvert.C
@@ -22,17 +22,16 @@ License
     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
 
 Application
-    surfaceMeshConvertTesting
+    Test-surfaceMeshConvert
 
 Group
     grpSurfaceUtilities
 
 Description
-    Converts from one surface mesh format to another, but primarily
-    used for testing functionality.
+    Test conversions from one surface mesh format to another.
 
 Usage
-    \b surfaceMeshConvertTesting inputFile outputFile [OPTION]
+    \b Test-surfaceMeshConvert inputFile outputFile [OPTION]
 
     Options:
       - \par -clean
diff --git a/applications/utilities/surface/surfaceMeshConvertTesting/Make/files b/applications/utilities/surface/surfaceMeshConvertTesting/Make/files
deleted file mode 100644
index 6fd163a0548..00000000000
--- a/applications/utilities/surface/surfaceMeshConvertTesting/Make/files
+++ /dev/null
@@ -1,3 +0,0 @@
-surfaceMeshConvertTesting.C
-
-EXE = $(FOAM_APPBIN)/surfaceMeshConvertTesting
diff --git a/etc/config.sh/completion_cache b/etc/config.sh/completion_cache
index 942dbe4e466..0456a7e8249 100644
--- a/etc/config.sh/completion_cache
+++ b/etc/config.sh/completion_cache
@@ -224,7 +224,6 @@ _of_complete_cache_[surfaceInertia]="-case -density -referencePoint | -noFunctio
 _of_complete_cache_[surfaceInflate]="-case -featureAngle -nSmooth | -checkSelfIntersection -debug -noFunctionObjects -srcDoc -doc -help"
 _of_complete_cache_[surfaceLambdaMuSmooth]="-featureFile | -srcDoc -doc -help"
 _of_complete_cache_[surfaceMeshConvert]="-case -dict -from -scaleIn -scaleOut -to | -clean -noFunctionObjects -tri -srcDoc -doc -help"
-_of_complete_cache_[surfaceMeshConvertTesting]="-case -scale | -clean -noFunctionObjects -orient -stdout -surfMesh -testModify -triFace -triSurface -unsorted -srcDoc -doc -help"
 _of_complete_cache_[surfaceMeshExport]="-case -dict -from -name -scaleIn -scaleOut -to | -clean -noFunctionObjects -srcDoc -doc -help"
 _of_complete_cache_[surfaceMeshImport]="-case -dict -from -name -scaleIn -scaleOut -to | -clean -noFunctionObjects -srcDoc -doc -help"
 _of_complete_cache_[surfaceMeshInfo]="-case -scale | -areas -noFunctionObjects -xml -srcDoc -doc -help"
-- 
GitLab