Skip to content

Commit

Permalink
- T Added remaining verifies to LUnit Extension. Skipped/disabled the…
Browse files Browse the repository at this point in the history
… Verify VI tests due to LV flakiness.
  • Loading branch information
stagg54 committed Jan 26, 2024
1 parent 77f5d2e commit 7b19e9b
Show file tree
Hide file tree
Showing 65 changed files with 61 additions and 0 deletions.
Binary file modified Source/Approval Tests/Create Parameters List.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Ensure File Exists.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Get Paths.vi
Binary file not shown.
Binary file modified Source/Approval Tests/JSON Printer/Print.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Parameterized Data to JSON.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Prepare VI for Parameterized Test.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Printer/Print.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Replace with Caller if Empty.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Report Nothing/Report.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Report With Beyord Compare/Report.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Report With DiffTool/Report.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Report With First Working/Report.vi
Binary file not shown.
Binary file not shown.
Binary file modified Source/Approval Tests/Report With LVCompare/Report.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Report With WinMerge/Report.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Reporter/Report.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify Combinations.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify File.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify Parameterized.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify as JSON.vi
Binary file not shown.
Binary file modified Source/Approval Tests/Verify.vi
Binary file not shown.
Binary file modified Source/Approval Tests/conv EOL.vi
Binary file not shown.
Binary file modified Source/Extensions/Caraya.Extension/Verify Combinations.vi
Binary file not shown.
Binary file modified Source/Extensions/Caraya.Extension/Verify File.vi
Binary file not shown.
Binary file modified Source/Extensions/Caraya.Extension/Verify Parameterized.vi
Binary file not shown.
Binary file modified Source/Extensions/Caraya.Extension/Verify as JSON.vi
Binary file not shown.
Binary file modified Source/Extensions/Caraya.Extension/Verify.vi
Binary file not shown.
2 changes: 2 additions & 0 deletions Source/Extensions/LUnit.Extension/LUnitExtension.lvlib
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

</Property>
<Item Name="Verify as JSON.vi" Type="VI" URL="../Verify as JSON.vi"/>
<Item Name="Verify Combinations.vi" Type="VI" URL="../Verify Combinations.vi"/>
<Item Name="Verify File.vi" Type="VI" URL="../Verify File.vi"/>
<Item Name="Verify Parameterized.vi" Type="VI" URL="../Verify Parameterized.vi"/>
<Item Name="Verify.vi" Type="VI" URL="../Verify.vi"/>
</Library>
Binary file not shown.
Binary file modified Source/Extensions/LUnit.Extension/Verify File.vi
Binary file not shown.
Binary file not shown.
Binary file modified Source/Extensions/LUnit.Extension/Verify as JSON.vi
Binary file not shown.
Binary file modified Source/Extensions/LUnit.Extension/Verify.vi
Binary file not shown.
Binary file modified Source/Extensions/VITester.Extension/Verify as JSON.vi
Binary file not shown.
Binary file modified Source/Extensions/VITester.Extension/Verify.vi
Binary file not shown.
Binary file modified Tests/Caraya.Tests/Caraya Extension Tests/Verify AND Combos.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Tests/Caraya.Tests/Caraya Extension Tests/Verify Hello Caraya.vi
Binary file not shown.
Binary file modified Tests/Caraya.Tests/Caraya Extension Tests/Verify Multi Combos.vi
Binary file not shown.
Binary file modified Tests/Caraya.Tests/Caraya Extension Tests/Verify Person as JSON.vi
Binary file not shown.
Binary file not shown.
Binary file modified Tests/Caraya.Tests/Caraya Extension Tests/Verify a VI.vi
Binary file not shown.
Binary file modified Tests/Common/MultiCombo.vi
Binary file not shown.
Binary file modified Tests/Common/MyAnd.vi
Binary file not shown.
Binary file modified Tests/Common/Person/Write First Name.vi
Binary file not shown.
Binary file modified Tests/Common/Person/Write Last Name.vi
Binary file not shown.
Binary file modified Tests/Common/Person/Write Title.vi
Binary file not shown.
Binary file modified Tests/Common/Scripting Replace Message.vi
Binary file not shown.
Binary file modified Tests/Common/VI to Verify.vi
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,24 @@
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1342710288</Property>
</Item>
<Item Name="test Verify AND Combos.vi" Type="VI" URL="../test Verify AND Combos.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!%Q!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$62F=X1A1W&amp;T:3"0&gt;81!&amp;E"1!!-!!!!"!!)):8*S&lt;X)A;7Y!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$&amp;2F=X1A1W&amp;T:3"*&lt;A!!91$Q!!Q!!Q!%!!1!"1!%!!1!"!!%!!9!"!!%!!=$!!"Y!!!.#!!!!!!!!!!!!!!.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!!!!!!!")!!!U!!!!-!!!!!!!!!!!!!!%!#!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1074278928</Property>
</Item>
<Item Name="test Verify AND Parameterized.vi" Type="VI" URL="../test Verify AND Parameterized.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!%Q!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$62F=X1A1W&amp;T:3"0&gt;81!&amp;E"1!!-!!!!"!!)):8*S&lt;X)A;7Y!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$&amp;2F=X1A1W&amp;T:3"*&lt;A!!91$Q!!Q!!Q!%!!1!"1!%!!1!"!!%!!9!"!!%!!=$!!"Y!!!.#!!!!!!!!!!!!!!.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!!!!!!!")!!!U!!!!-!!!!!!!!!!!!!!%!#!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1074278928</Property>
</Item>
<Item Name="test Verify Class Roster as JSON.vi" Type="VI" URL="../test Verify Class Roster as JSON.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!%Q!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$62F=X1A1W&amp;T:3"0&gt;81!&amp;E"1!!-!!!!"!!)):8*S&lt;X)A;7Y!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$&amp;2F=X1A1W&amp;T:3"*&lt;A!!91$Q!!Q!!Q!%!!1!"1!%!!1!"!!%!!9!"!!%!!=$!!"Y!!!.#!!!!!!!!!!!!!!.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!!!!!!!")!!!U!!!!-!!!!!!!!!!!!!!%!#!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
Expand All @@ -54,6 +72,15 @@
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1342710288</Property>
</Item>
<Item Name="test Verify Multi Combos.vi" Type="VI" URL="../test Verify Multi Combos.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!%Q!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$62F=X1A1W&amp;T:3"0&gt;81!&amp;E"1!!-!!!!"!!)):8*S&lt;X)A;7Y!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$&amp;2F=X1A1W&amp;T:3"*&lt;A!!91$Q!!Q!!Q!%!!1!"1!%!!1!"!!%!!9!"!!%!!=$!!"Y!!!.#!!!!!!!!!!!!!!.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!!!!!!!")!!!U!!!!-!!!!!!!!!!!!!!%!#!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1074278928</Property>
</Item>
<Item Name="test Verify Person as JSON.vi" Type="VI" URL="../test Verify Person as JSON.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!%Q!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$62F=X1A1W&amp;T:3"0&gt;81!&amp;E"1!!-!!!!"!!)):8*S&lt;X)A;7Y!!$B!=!!?!!!A(ER6&lt;GFU)%6Y&gt;'6O=WFP&lt;H-A6'6T&gt;(-O&lt;(:D&lt;'&amp;T=Q!!$&amp;2F=X1A1W&amp;T:3"*&lt;A!!91$Q!!Q!!Q!%!!1!"1!%!!1!"!!%!!9!"!!%!!=$!!"Y!!!.#!!!!!!!!!!!!!!.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!!!!!!!")!!!U!!!!-!!!!!!!!!!!!!!%!#!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{"A":false,"B":false} => {"A and B":false}
{"A":false,"B":true} => {"A and B":false}
{"A":true,"B":false} => {"A and B":false}
{"A":true,"B":true} => {"A and B":true}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{"A":false,"B":false} => {"A and B":false}
{"A":false,"B":true} => {"A and B":false}
{"A":true,"B":false} => {"A and B":false}
{"A":true,"B":true} => {"A and B":true}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{"Boolean":false,"Numeric":0,"String":"a"} => {"String":"FALSE 0 a","revString":"a 0 ESLAF"}
{"Boolean":false,"Numeric":0,"String":"b"} => {"String":"FALSE 0 b","revString":"b 0 ESLAF"}
{"Boolean":false,"Numeric":0,"String":"c"} => {"String":"FALSE 0 c","revString":"c 0 ESLAF"}
{"Boolean":false,"Numeric":0,"String":"d"} => {"String":"FALSE 0 d","revString":"d 0 ESLAF"}
{"Boolean":false,"Numeric":1,"String":"a"} => {"String":"FALSE 1 a","revString":"a 1 ESLAF"}
{"Boolean":false,"Numeric":1,"String":"b"} => {"String":"FALSE 1 b","revString":"b 1 ESLAF"}
{"Boolean":false,"Numeric":1,"String":"c"} => {"String":"FALSE 1 c","revString":"c 1 ESLAF"}
{"Boolean":false,"Numeric":1,"String":"d"} => {"String":"FALSE 1 d","revString":"d 1 ESLAF"}
{"Boolean":false,"Numeric":2,"String":"a"} => {"String":"FALSE 2 a","revString":"a 2 ESLAF"}
{"Boolean":false,"Numeric":2,"String":"b"} => {"String":"FALSE 2 b","revString":"b 2 ESLAF"}
{"Boolean":false,"Numeric":2,"String":"c"} => {"String":"FALSE 2 c","revString":"c 2 ESLAF"}
{"Boolean":false,"Numeric":2,"String":"d"} => {"String":"FALSE 2 d","revString":"d 2 ESLAF"}
{"Boolean":true,"Numeric":0,"String":"a"} => {"String":"TRUE 0 a","revString":"a 0 EURT"}
{"Boolean":true,"Numeric":0,"String":"b"} => {"String":"TRUE 0 b","revString":"b 0 EURT"}
{"Boolean":true,"Numeric":0,"String":"c"} => {"String":"TRUE 0 c","revString":"c 0 EURT"}
{"Boolean":true,"Numeric":0,"String":"d"} => {"String":"TRUE 0 d","revString":"d 0 EURT"}
{"Boolean":true,"Numeric":1,"String":"a"} => {"String":"TRUE 1 a","revString":"a 1 EURT"}
{"Boolean":true,"Numeric":1,"String":"b"} => {"String":"TRUE 1 b","revString":"b 1 EURT"}
{"Boolean":true,"Numeric":1,"String":"c"} => {"String":"TRUE 1 c","revString":"c 1 EURT"}
{"Boolean":true,"Numeric":1,"String":"d"} => {"String":"TRUE 1 d","revString":"d 1 EURT"}
{"Boolean":true,"Numeric":2,"String":"a"} => {"String":"TRUE 2 a","revString":"a 2 EURT"}
{"Boolean":true,"Numeric":2,"String":"b"} => {"String":"TRUE 2 b","revString":"b 2 EURT"}
{"Boolean":true,"Numeric":2,"String":"c"} => {"String":"TRUE 2 c","revString":"c 2 EURT"}
{"Boolean":true,"Numeric":2,"String":"d"} => {"String":"TRUE 2 d","revString":"d 2 EURT"}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Tests/LUnit.Tests/LUnit Extensions Tests/test Verify a VI.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7b19e9b

Please sign in to comment.