Skip to content

Commit 3d4ca3b

Browse files
committed
. F Added a combo test to the Caraya Extensions.
1 parent 6a23075 commit 3d4ca3b

15 files changed

+37
-5
lines changed

Approval Testing.lvproj

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
<Item Name="Class Roster Cluster--constant.vi" Type="VI" URL="../Tests/Common/Class Roster Cluster--constant.vi">
2929
<Property Name="marked" Type="Int">0</Property>
3030
</Item>
31+
<Item Name="MyAnd.vi" Type="VI" URL="../Tests/Common/MyAnd.vi">
32+
<Property Name="marked" Type="Int">0</Property>
33+
</Item>
3134
<Item Name="Scripting Replace Message.vi" Type="VI" URL="../Tests/Common/Scripting Replace Message.vi">
3235
<Property Name="marked" Type="Int">0</Property>
3336
</Item>

Approval Tests/Approval Tests.lvlib

+5-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
</Item>
1414
<Item Name="private" Type="Folder">
1515
<Property Name="NI.LibItem.Scope" Type="Int">2</Property>
16+
<Item Name="Combo Recurse.vi" Type="VI" URL="../Combo Recurse.vi"/>
17+
<Item Name="Create Parameters List.vi" Type="VI" URL="../Create Parameters List.vi"/>
1618
<Item Name="Get Paths.vi" Type="VI" URL="../Get Paths.vi"/>
19+
<Item Name="Parameterized Data to JSON.vi" Type="VI" URL="../Parameterized Data to JSON.vi"/>
20+
<Item Name="Prepare VI for Parameterized Test.vi" Type="VI" URL="../Prepare VI for Parameterized Test.vi"/>
1721
</Item>
1822
<Item Name="Reporters" Type="Folder">
1923
<Item Name="Report Nothing.lvclass" Type="LVClass" URL="../Report Nothing/Report Nothing.lvclass"/>
@@ -24,11 +28,8 @@
2428
<Item Name="Reporter.lvclass" Type="LVClass" URL="../Reporter/Reporter.lvclass"/>
2529
</Item>
2630
<Item Name="Utility" Type="Folder">
27-
<Item Name="Combo Recurse.vi" Type="VI" URL="../Combo Recurse.vi"/>
28-
<Item Name="Create Parameters List.vi" Type="VI" URL="../Create Parameters List.vi"/>
31+
<Item Name="array to array of variants.vim" Type="VI" URL="../array to array of variants.vim"/>
2932
<Item Name="Options.ctl" Type="VI" URL="../Options.ctl"/>
30-
<Item Name="Parameterized Data to JSON.vi" Type="VI" URL="../Parameterized Data to JSON.vi"/>
31-
<Item Name="Prepare VI for Parameterized Test.vi" Type="VI" URL="../Prepare VI for Parameterized Test.vi"/>
3233
<Item Name="Replace with Caller if Empty.vi" Type="VI" URL="../Replace with Caller if Empty.vi"/>
3334
</Item>
3435
<Item Name="Verifies" Type="Folder">
Binary file not shown.
192 Bytes
Binary file not shown.

Approval Tests/Verify Combinations.vi

1.38 KB
Binary file not shown.
2.63 KB
Binary file not shown.
9.39 KB
Binary file not shown.

Extensions/Caraya.Extension/Caraya.Extension.lvlib

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
</Property>
1010
<Item Name="Verify as JSON.vi" Type="VI" URL="../Verify as JSON.vi"/>
11+
<Item Name="Verify Combinations.vi" Type="VI" URL="../Verify Combinations.vi"/>
1112
<Item Name="Verify File.vi" Type="VI" URL="../Verify File.vi"/>
1213
<Item Name="Verify.vi" Type="VI" URL="../Verify.vi"/>
1314
</Library>
Binary file not shown.

Tests/Caraya.Tests/Caraya Extension Tests/Caraya Extension Tests.lvclass

+10-1
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"Input":{"A":false,"B":false},
4+
"Results":{"A and B":false}
5+
},
6+
{
7+
"Input":{"A":false,"B":true},
8+
"Results":{"A and B":false}
9+
},
10+
{
11+
"Input":{"A":true,"B":false},
12+
"Results":{"A and B":false}
13+
},
14+
{
15+
"Input":{"A":true,"B":true},
16+
"Results":{"A and B":true}
17+
}
18+
]
Binary file not shown.
Binary file not shown.
Binary file not shown.

Tests/Common/MyAnd.vi

7.84 KB
Binary file not shown.

0 commit comments

Comments
 (0)