Skip to content

Commit

Permalink
Add new advanced assertions to pallette
Browse files Browse the repository at this point in the history
  • Loading branch information
antsundq committed Jun 9, 2024
1 parent 11f94d4 commit 7b26a9d
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 8 deletions.
12 changes: 9 additions & 3 deletions source/LUnit Framework.lvproj
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_previewCacheID" Type="Str">{86FCB19C-1FDD-419C-965A-93BB19BFAE86}</Property>
<Property Name="Bld_removeVIObj" Type="Int">1</Property>
<Property Name="Bld_version.build" Type="Int">29</Property>
<Property Name="Bld_version.build" Type="Int">30</Property>
<Property Name="Bld_version.major" Type="Int">1</Property>
<Property Name="Destination[0].destName" Type="Str">Destination Directory</Property>
<Property Name="Destination[0].path" Type="Path">../builds/LUnit</Property>
Expand Down Expand Up @@ -575,7 +575,7 @@
<Property Name="Destination[9].path" Type="Path">../builds/LUnit/examples/exbins</Property>
<Property Name="DestinationCount" Type="Int">15</Property>
<Property Name="Source[0].Container.applyDestination" Type="Bool">true</Property>
<Property Name="Source[0].itemID" Type="Str">{DEB5792F-C84C-4AAC-8A44-FFB007741467}</Property>
<Property Name="Source[0].itemID" Type="Str">{7715D10B-8D38-4CE0-AEE0-61143C51AC83}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">8</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/Core/Result.lvlib</Property>
Expand Down Expand Up @@ -652,6 +652,12 @@
<Property Name="Source[113].destinationIndex" Type="Int">14</Property>
<Property Name="Source[113].itemID" Type="Ref">/My Computer/API/Advanced Assertions.lvlib/Fail If In Collection.vim</Property>
<Property Name="Source[113].type" Type="Str">VI</Property>
<Property Name="Source[114].destinationIndex" Type="Int">14</Property>
<Property Name="Source[114].itemID" Type="Ref">/My Computer/API/Advanced Assertions.lvlib/Pass If Matching String.vi</Property>
<Property Name="Source[114].type" Type="Str">VI</Property>
<Property Name="Source[115].destinationIndex" Type="Int">14</Property>
<Property Name="Source[115].itemID" Type="Ref">/My Computer/API/Advanced Assertions.lvlib/Fail If Matching String.vi</Property>
<Property Name="Source[115].type" Type="Str">VI</Property>
<Property Name="Source[12].destinationIndex" Type="Int">8</Property>
<Property Name="Source[12].itemID" Type="Ref">/My Computer/User Interface/Execution UI.lvclass</Property>
<Property Name="Source[12].type" Type="Str">Library</Property>
Expand Down Expand Up @@ -1136,7 +1142,7 @@
<Property Name="Source[99].destinationIndex" Type="Int">10</Property>
<Property Name="Source[99].itemID" Type="Ref">/My Computer/API/LUnit Test Case.lvclass/Suite.vi</Property>
<Property Name="Source[99].type" Type="Str">VI</Property>
<Property Name="SourceCount" Type="Int">114</Property>
<Property Name="SourceCount" Type="Int">116</Property>
</Item>
</Item>
</Item>
Expand Down
39 changes: 34 additions & 5 deletions source/LUnit.vipb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2021-03-25 19:33:33" Modified_Date="2024-06-04 16:23:09" Creator="Anton Sundqvist" Comments="" ID="e532350e1cd2a9f37ad1b61cc73b828f">
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2021-03-25 19:33:33" Modified_Date="2024-06-09 14:07:04" Creator="Anton Sundqvist" Comments="" ID="b1e1a8fbfaae6ecc115b0eb80800db12">
<Library_General_Settings>
<Package_File_Name>Astemes_lib_LUnit</Package_File_Name>
<Library_Version>1.2.0.16</Library_Version>
Expand Down Expand Up @@ -52,7 +52,8 @@ Documentation is available on https://lunit.astemes.com.</Description>
- Default to open block diagram only when opening a test case from the Execution UI.
- Add LUnit check mark overlay to Test Case classes in the LabVIEW Project Explorer to make it easier to distinguise test cases from normal classes
- Show test result overlays for test methods
- Performance improvements when running tests in parallell. Test execution overhead reduced by about a factor of 2.</Release_Notes>
- Performance improvements when running tests in parallell. Test execution overhead reduced significantly for large test suites.
- Added Pass/Fail if Matching String advanced assertion</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down Expand Up @@ -431,7 +432,7 @@ Documentation is available on https://lunit.astemes.com.</Description>
<Path>..\builds\Advanced Assetions</Path>
<VI_Title/>
</Items_Data>
<GUID>9973124E9A3366C1C1AC62474D4EEA73</GUID>
<GUID>6A28A3DA28FA5376C8CF9813C9A2701C</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -466,7 +467,7 @@ Documentation is available on https://lunit.astemes.com.</Description>
<Path>..\builds\LUnit\vi.lib\Astemes\LUnit\Palette\API\LUnit Run Tests.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>6887E9DDBEF2CB891051545BA57DFBCE</GUID>
<GUID>A2C4E9D70B8333BBC982F7E6867E1C8A</GUID>
</Functions_Palette_Data>
<Functions_Palette_Data>
<Parent_Palette_Index>0</Parent_Palette_Index>
Expand Down Expand Up @@ -543,7 +544,35 @@ Documentation is available on https://lunit.astemes.com.</Description>
<Path>..\builds\LUnit\vi.lib\Astemes\LUnit\Palette\Advanced Assertions\Fail If In Collection.vim</Path>
<VI_Title/>
</Items_Data>
<GUID>3BA8BF6CF366F21E1BEF6A63C2BF6971</GUID>
<Items_Data>
<Type>Item</Type>
<Sub_Palette_Index>-1</Sub_Palette_Index>
<NameSub_Menu_Name>Fail If Matching String.vi</NameSub_Menu_Name>
<Short_Name/>
<is_Merge_VI>false</is_Merge_VI>
<Position>
<Row>2</Row>
<Column>3</Column>
</Position>
<Icon>00000000</Icon>
<Path>..\builds\LUnit\vi.lib\Astemes\LUnit\Palette\Advanced Assertions\Fail If Matching String.vi</Path>
<VI_Title/>
</Items_Data>
<Items_Data>
<Type>Item</Type>
<Sub_Palette_Index>-1</Sub_Palette_Index>
<NameSub_Menu_Name>Pass If Matching String.vi</NameSub_Menu_Name>
<Short_Name/>
<is_Merge_VI>false</is_Merge_VI>
<Position>
<Row>1</Row>
<Column>3</Column>
</Position>
<Icon>00000000</Icon>
<Path>..\builds\LUnit\vi.lib\Astemes\LUnit\Palette\Advanced Assertions\Pass If Matching String.vi</Path>
<VI_Title/>
</Items_Data>
<GUID>ADAD8638CD67C3AC23579FAFADF72F5A</GUID>
</Functions_Palette_Data>
</Library_Palette_Definition>
</VI_Package_Builder_Settings>

0 comments on commit 7b26a9d

Please sign in to comment.