Skip to content

Commit

Permalink
hide unit tests in library. closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Roald Ruiter committed Jul 15, 2022
1 parent ccb5889 commit 046d1b6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion TcError/TcError/UnitTests.TcPOU
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.11">
<POU Name="UnitTests" Id="{cc8a0e38-2881-4bc0-a9ad-843c806f9d72}" SpecialFunc="None">
<Declaration><![CDATA[PROGRAM UnitTests
<Declaration><![CDATA[{attribute 'hide'}
PROGRAM UnitTests
VAR
{attribute 'analysis' := '-33'}
toWin32ErrorCode_Tests : ToWin32ErrorCode_Tests;
Expand Down
3 changes: 2 additions & 1 deletion TcError/TcError/Win32_Tests/ToWin32ErrorCode_Tests.TcPOU
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.11">
<POU Name="ToWin32ErrorCode_Tests" Id="{642d2499-70f1-4caf-86fe-53406ef48db3}" SpecialFunc="None">
<Declaration><![CDATA[FUNCTION_BLOCK ToWin32ErrorCode_Tests EXTENDS TcUnit.FB_TestSuite
<Declaration><![CDATA[{attribute 'hide'}
FUNCTION_BLOCK ToWin32ErrorCode_Tests EXTENDS TcUnit.FB_TestSuite
]]></Declaration>
<Implementation>
<ST><![CDATA[ConversionOfValidErrorCode();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.11">
<POU Name="Win32ErrorCodeDesciption_Tests" Id="{2f90ed74-a809-49bb-b887-3ce9960e7cde}" SpecialFunc="None">
<Declaration><![CDATA[FUNCTION_BLOCK Win32ErrorCodeDesciption_Tests EXTENDS TcUnit.FB_TestSuite
<Declaration><![CDATA[{attribute 'hide'}
FUNCTION_BLOCK Win32ErrorCodeDesciption_Tests EXTENDS TcUnit.FB_TestSuite
]]></Declaration>
<Implementation>
<ST><![CDATA[DescriptionOfKnownErrorCode();
Expand Down

0 comments on commit 046d1b6

Please sign in to comment.