From b497c61cfcf1fc08b86e37539dc0cb0edd879eac Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Tue, 12 May 2020 00:58:52 +0200 Subject: [PATCH] Create bash script to execute SQL tests --- .idea/misc.xml | 2 +- .idea/runConfigurations/All_Tests___Lint.xml | 2 +- .../All_Tests___Lint__offline_.xml | 2 +- .../runConfigurations/Clean_Dev_Database.xml | 8 -- .../Cucumber_Tests__offline_.xml | 1 - .idea/runConfigurations/Fixtures_on_Test.xml | 18 ---- ...DB___Run.xml => Lint_Test_Sonar___Run.xml} | 3 +- .idea/runConfigurations/Reset_DB___Run.xml | 38 -------- .../runConfigurations/Reset_Test_database.xml | 9 -- ...et_database_schema_and_import_Fixtures.xml | 18 ---- .idea/runConfigurations/SQL_Tests.xml | 13 --- .idea/runConfigurations/Start_App.xml | 4 +- .idea/runConfigurations/Test_All_SQL.xml | 93 ++----------------- .idea/runConfigurations/Test_Follow.xml | 17 ---- .idea/runConfigurations/Test_Opinions.xml | 20 ---- .idea/runConfigurations/Test_Workgroup.xml | 17 ---- src/test/sql/test.sh | 70 ++++++++------ 17 files changed, 57 insertions(+), 278 deletions(-) delete mode 100644 .idea/runConfigurations/Clean_Dev_Database.xml delete mode 100644 .idea/runConfigurations/Fixtures_on_Test.xml rename .idea/runConfigurations/{Lint_Test_Sonar__Reset_DB___Run.xml => Lint_Test_Sonar___Run.xml} (83%) delete mode 100644 .idea/runConfigurations/Reset_DB___Run.xml delete mode 100644 .idea/runConfigurations/Reset_Test_database.xml delete mode 100644 .idea/runConfigurations/Reset_database_schema_and_import_Fixtures.xml delete mode 100644 .idea/runConfigurations/SQL_Tests.xml delete mode 100644 .idea/runConfigurations/Test_Follow.xml delete mode 100644 .idea/runConfigurations/Test_Opinions.xml delete mode 100644 .idea/runConfigurations/Test_Workgroup.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index cb31dbb..ad1f18e 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/All_Tests___Lint.xml b/.idea/runConfigurations/All_Tests___Lint.xml index 43f669d..ad48e1e 100644 --- a/.idea/runConfigurations/All_Tests___Lint.xml +++ b/.idea/runConfigurations/All_Tests___Lint.xml @@ -18,7 +18,7 @@ \ No newline at end of file diff --git a/.idea/runConfigurations/All_Tests___Lint__offline_.xml b/.idea/runConfigurations/All_Tests___Lint__offline_.xml index 2433f66..b0e28ac 100644 --- a/.idea/runConfigurations/All_Tests___Lint__offline_.xml +++ b/.idea/runConfigurations/All_Tests___Lint__offline_.xml @@ -19,7 +19,7 @@ \ No newline at end of file diff --git a/.idea/runConfigurations/Clean_Dev_Database.xml b/.idea/runConfigurations/Clean_Dev_Database.xml deleted file mode 100644 index 737e388..0000000 --- a/.idea/runConfigurations/Clean_Dev_Database.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - FILE - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/Cucumber_Tests__offline_.xml b/.idea/runConfigurations/Cucumber_Tests__offline_.xml index faa46ab..5c7d3d1 100644 --- a/.idea/runConfigurations/Cucumber_Tests__offline_.xml +++ b/.idea/runConfigurations/Cucumber_Tests__offline_.xml @@ -25,7 +25,6 @@ \ No newline at end of file diff --git a/.idea/runConfigurations/Fixtures_on_Test.xml b/.idea/runConfigurations/Fixtures_on_Test.xml deleted file mode 100644 index c835ed6..0000000 --- a/.idea/runConfigurations/Fixtures_on_Test.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - FILE - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/Lint_Test_Sonar__Reset_DB___Run.xml b/.idea/runConfigurations/Lint_Test_Sonar___Run.xml similarity index 83% rename from .idea/runConfigurations/Lint_Test_Sonar__Reset_DB___Run.xml rename to .idea/runConfigurations/Lint_Test_Sonar___Run.xml index aeb3e40..e5c1ebe 100644 --- a/.idea/runConfigurations/Lint_Test_Sonar__Reset_DB___Run.xml +++ b/.idea/runConfigurations/Lint_Test_Sonar___Run.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/Reset_DB___Run.xml b/.idea/runConfigurations/Reset_DB___Run.xml deleted file mode 100644 index 705a494..0000000 --- a/.idea/runConfigurations/Reset_DB___Run.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - true - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/Reset_Test_database.xml b/.idea/runConfigurations/Reset_Test_database.xml deleted file mode 100644 index cd24697..0000000 --- a/.idea/runConfigurations/Reset_Test_database.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - FILE - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/Reset_database_schema_and_import_Fixtures.xml b/.idea/runConfigurations/Reset_database_schema_and_import_Fixtures.xml deleted file mode 100644 index 98cfacf..0000000 --- a/.idea/runConfigurations/Reset_database_schema_and_import_Fixtures.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - FILE - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/SQL_Tests.xml b/.idea/runConfigurations/SQL_Tests.xml deleted file mode 100644 index ba4355d..0000000 --- a/.idea/runConfigurations/SQL_Tests.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/runConfigurations/Start_App.xml b/.idea/runConfigurations/Start_App.xml index 091b8e1..4fd60cc 100644 --- a/.idea/runConfigurations/Start_App.xml +++ b/.idea/runConfigurations/Start_App.xml @@ -19,6 +19,8 @@