From b8c4e3ff3f19e6a296e4b92fb02c3375cd53aa19 Mon Sep 17 00:00:00 2001 From: aaronlong Date: Wed, 19 Feb 2020 16:03:29 +0000 Subject: [PATCH 1/3] Added tcUNIT libarary 1.0.0 references to resources and Test folder inc. app and common tests structure --- .../Test/app_tests/tcUNIT_APP_RUN.TcPOU | 19 +++ .../Test/common/FB_tcUNIT_common.TcPOU | 149 ++++++++++++++++++ .../Test/common/tcUNIT_GVL.TcGVL | 23 +++ .../tc_project_app/tc_project_app.plcproj | 16 ++ 4 files changed, 207 insertions(+) create mode 100644 solution/tc_project_app/Test/app_tests/tcUNIT_APP_RUN.TcPOU create mode 100644 solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU create mode 100644 solution/tc_project_app/Test/common/tcUNIT_GVL.TcGVL diff --git a/solution/tc_project_app/Test/app_tests/tcUNIT_APP_RUN.TcPOU b/solution/tc_project_app/Test/app_tests/tcUNIT_APP_RUN.TcPOU new file mode 100644 index 0000000..7326c7d --- /dev/null +++ b/solution/tc_project_app/Test/app_tests/tcUNIT_APP_RUN.TcPOU @@ -0,0 +1,19 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU b/solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU new file mode 100644 index 0000000..9fb8d47 --- /dev/null +++ b/solution/tc_project_app/Test/common/FB_tcUNIT_common.TcPOU @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/solution/tc_project_app/Test/common/tcUNIT_GVL.TcGVL b/solution/tc_project_app/Test/common/tcUNIT_GVL.TcGVL new file mode 100644 index 0000000..10cbe42 --- /dev/null +++ b/solution/tc_project_app/Test/common/tcUNIT_GVL.TcGVL @@ -0,0 +1,23 @@ + + + + + + \ No newline at end of file diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index b5d34ae..ff1f68e 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -229,6 +229,15 @@ Code + + Code + + + Code + + + Code + Code @@ -236,6 +245,7 @@ + @@ -256,6 +266,8 @@ + + @@ -334,6 +346,10 @@ Tc3_Module, * (Beckhoff Automation GmbH) Tc3_Module + + TcUnit, * (www.tcunit.org) + TcUnit + VisuDialogs, * (System) VisuDialogs From bb7af4fcdf67173d458b7eed2174e216424ce4e7 Mon Sep 17 00:00:00 2001 From: aaronlong Date: Wed, 4 Mar 2020 10:09:51 +0000 Subject: [PATCH 2/3] Updated after merge resolution --- solution/solution.tsproj | 8 -------- solution/tc_project_app/PlcTask.TcTTO | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/solution/solution.tsproj b/solution/solution.tsproj index 36de82a..6f0e066 100644 --- a/solution/solution.tsproj +++ b/solution/solution.tsproj @@ -33,14 +33,6 @@ tc_project_app Instance {08500001-0000-0000-F000-000000000064} - - PlcTask Outputs - - MAIN.bOutput1 - - BOOL - - diff --git a/solution/tc_project_app/PlcTask.TcTTO b/solution/tc_project_app/PlcTask.TcTTO index b5badec..3118110 100644 --- a/solution/tc_project_app/PlcTask.TcTTO +++ b/solution/tc_project_app/PlcTask.TcTTO @@ -7,6 +7,9 @@ MAIN + + tcUNIT_APP_RUN + {26d89752-95b4-4b52-80c0-c79242bc34d7} {137c4fd1-c794-4dee-a041-b4fea1d22866} {2478772d-357b-433f-886f-15340bef9bdf} From e8e944b812f5773f1e4d6124299b5796db3ab7ba Mon Sep 17 00:00:00 2001 From: aaronlong Date: Wed, 4 Mar 2020 13:03:25 +0000 Subject: [PATCH 3/3] Removed incorrectly added PLC task --- solution/tc_project_app/PlcTask.TcTTO | 3 --- 1 file changed, 3 deletions(-) diff --git a/solution/tc_project_app/PlcTask.TcTTO b/solution/tc_project_app/PlcTask.TcTTO index 3118110..b5badec 100644 --- a/solution/tc_project_app/PlcTask.TcTTO +++ b/solution/tc_project_app/PlcTask.TcTTO @@ -7,9 +7,6 @@ MAIN - - tcUNIT_APP_RUN - {26d89752-95b4-4b52-80c0-c79242bc34d7} {137c4fd1-c794-4dee-a041-b4fea1d22866} {2478772d-357b-433f-886f-15340bef9bdf}