Skip to content

Commit

Permalink
Deno SmokeTests runner
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite committed Jul 30, 2024
1 parent 767d752 commit b5bbf77
Show file tree
Hide file tree
Showing 8 changed files with 355 additions and 26 deletions.
4 changes: 2 additions & 2 deletions Deno/Examples/SimpleClient.gcomp/SimpleClient.gcomp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="AAEB1DEA065614CB304C7970A81A56B8BF1F406D12A21D9DC81D4883CFC6E2CAA2D8E5A2B9ACC39272F80331A7A0F751CD7863E8023FDD7CCEAEB63BFE5AD8A6" Timestamp="1DADFD6E3CCA3F7" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="2DAA26C38C607501CCAEC2F7A4B0EEAA515F1B724F9F3926993FB0E9823B54D4B00676995FFAB51E882E332FB602074F0797EA76ED772845BAC48D1AE59C1226" Timestamp="1DAE24207F1D8F3" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="GComponentFeatureSet" Name="http://www.ni.com/GComponent.xsd" OldestCompatibleVersion="9.0.0.0" Version="9.0.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="Web Module: WebVI" Name="http://www.ni.com/NationalInstruments.LabVIEW.HtmlVI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
Expand All @@ -23,7 +23,7 @@
<EnvoyManagerRootEnvoy Id="aa9248db623f463e945527db7d521597" ModelDefinitionType="EnvoyManagerRootEnvoy" Name="RootEnvoy" />
<EmbeddedDefinitionReference Id="275b3e785e1b41998acd6f63f8b94940" ModelDefinitionType="{http://www.ni.com/GComponent.xsd}ComponentDefinitionEnvoyHierarchyRoot" Name="Global namespace">
<ComponentDefinitionEnvoyHierarchyRoot xmlns="http://www.ni.com/GComponent.xsd" />
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="483ca08a40cd4ca0ac76c4642b1100d7" Name="WebApp">
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="483ca08a40cd4ca0ac76c4642b1100d7" Name="SimpleClient">
<SourceFileReference Id="1ec1ec5ea6444056951931f1c9db515f" ModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.VirtualInstrument" Name="index.gviweb" OverridingModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.HTMLVirtualInstrument" StoragePath="index.gviweb" />
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="cb9f010b5be64752ba629b80ebd6867c" Name="Support">
<SourceFileReference Id="58315b0c87f6403191f2ce71fa8205a0" ModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.VirtualInstrument" Name="Simple Display Error.gvi" StoragePath="Support\Simple Display Error.gvi" />
Expand Down
4 changes: 2 additions & 2 deletions Deno/Examples/SimpleServer.gcomp/SimpleServer.gcomp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="389C0EB3111911991920A275EFCCF478D4B407077134866FF8E4EBDB7207BCF91AEAD7D767ABEBE1EF9BB7C22FDBCBD8B5E91E569E7D29808BF64983D9CAF102" Timestamp="1DAE21CC9A5892E" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="682F256897E25D1D9EFFF6CB33ACF8ED36978E69E2D2F2273400F2254A4152C6B8381E0E60214832DC073700820CAA54763CE09F29FA5C75AFBCED25CD2F3BF6" Timestamp="1DAE24207F1D8F3" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="GComponentFeatureSet" Name="http://www.ni.com/GComponent.xsd" OldestCompatibleVersion="9.0.0.0" Version="9.0.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="Web Module: WebVI" Name="http://www.ni.com/NationalInstruments.LabVIEW.HtmlVI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
Expand All @@ -23,7 +23,7 @@
<EnvoyManagerRootEnvoy Id="3d2e124a05bd4207afd19faea394c9e4" ModelDefinitionType="EnvoyManagerRootEnvoy" Name="RootEnvoy" />
<EmbeddedDefinitionReference Id="53d9f9a2734e484b9f56a65a063d9ed2" ModelDefinitionType="{http://www.ni.com/GComponent.xsd}ComponentDefinitionEnvoyHierarchyRoot" Name="Global namespace">
<ComponentDefinitionEnvoyHierarchyRoot xmlns="http://www.ni.com/GComponent.xsd" />
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="f31c3c7667c54cc086044d1af43f647d" Name="WebApp">
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="f31c3c7667c54cc086044d1af43f647d" Name="SimpleServer">
<SourceFileReference Id="c52d553f8bb54973a8526542db9d4dc1" ModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.VirtualInstrument" Name="main.gviweb" OverridingModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.HTMLVirtualInstrument" StoragePath="main.gviweb" />
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="e064c36175cb435b9807c5d970fdd0d1" Name="Support">
<SourceFileReference Id="52d8a27b64843869dcb8cada501db4b" ModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.VirtualInstrument" Name="Simple Log Error.gvi" StoragePath="Support\Simple Log Error.gvi" />
Expand Down
12 changes: 6 additions & 6 deletions Deno/Examples/SimpleServer.gcomp/main.gviweb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="1EBA769137DCC99A20AEA46216DF872E921EB667C25EADC54F5244C18196299F5448254C4C27B51542E26DDA288E7BFE537CE6D3C5932FAB25DE2BA027AE5E49" Timestamp="1DAE22011830B64" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="60437DA798ADAEF51A83162322E41B7A9DB781891DE33E1668E9A68F1E778F3DF23EA6938BA6EDF15D09BF941AE56401582D3A302529AF376C89717B9127985D" Timestamp="1DAE24200875E67" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="LabVIEW Virtual Instrument" Name="http://www.ni.com/LabVIEW.VI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="Common language components" Name="http://www.ni.com/MocCommon" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
Expand Down Expand Up @@ -51,7 +51,7 @@
<Terminal DataType="@a840f7019a9f45058ce194a66fb61d25" Direction="Output" Hotspot="40 5" Id="R0" xmlns="http://www.ni.com/PlatformFramework" />
</MethodCall>
<BuildArray Bounds="80 695 40 10" Id="fc5ac1cdaa94c2ea6af7ea6c56a5121" Terminals="outArray=68f4a58a94c949448768c92067aa3adc, c0t0v=f155cc32017d47d685e85a375d9fef66" VerticalChunkCount="1" />
<MethodCall Bounds="470 725 40 40" Id="35b16822553747b8bfeb72c2c4b640e1" ResolveFailedHint="&quot;C:\\Users\\Milan\\Documents\\GitHub\\webvi-experiments\\Deno\\Examples\\SimpleServer.gcomp\\Support\\Simple Log Error.gvi&quot;" Signature="@dffe4455f22e48a1a491c5baa0487032" Target="WebApp::Support::Simple Log Error.gvi" xmlns="http://www.ni.com/MocCommon">
<MethodCall Bounds="470 725 40 40" Id="35b16822553747b8bfeb72c2c4b640e1" ResolveFailedHint="&quot;C:\\Users\\Milan\\Documents\\GitHub\\webvi-experiments\\Deno\\Examples\\SimpleServer.gcomp\\Support\\Simple Log Error.gvi&quot;" Signature="@dffe4455f22e48a1a491c5baa0487032" Target="SimpleServer::Support::Simple Log Error.gvi" xmlns="http://www.ni.com/MocCommon">
<p.MethodDeclaration>
<MethodDeclaration xmlns="http://www.ni.com/PlatformFramework">
<Parameter Id="L0" Desc="error In" />
Expand Down Expand Up @@ -212,7 +212,7 @@
<p.TypeReference TypeId="ba1048a2a96d41c3b36f68b0c509a8e6">
<Function Id="1" IsStatic="True" IsConstructor="False" Name="Simple URL Pattern.gvi" ReturnType="Void" GenericTypeDefinition="Void">
<Parameters>
<Attributed AttributedType="@31a476f97b6d45efb80aaacc9529e6fb">
<Attributed AttributedType="@7d6b517914a14cdf91f9629117944385">
<AttributeValues>
<AttributeValue Name="NI.UserDefinedName" Value="[string]pathname" />
</AttributeValues>
Expand Down Expand Up @@ -247,7 +247,7 @@
<p.TypeReference TypeId="6eb607bd014b4ae69d2199ba9f2142b6">
<Function Id="1" IsStatic="True" IsConstructor="False" Name="URL Build Relative Path.gvi" ReturnType="Void" GenericTypeDefinition="Void">
<Parameters>
<Attributed AttributedType="@31a476f97b6d45efb80aaacc9529e6fb">
<Attributed AttributedType="@7d6b517914a14cdf91f9629117944385">
<AttributeValues>
<AttributeValue Name="NI.UserDefinedName" Value="[string]base url (window location)" />
</AttributeValues>
Expand Down Expand Up @@ -361,7 +361,7 @@
</Parameters>
</Function>
</p.TypeReference>
<p.TypeReference TypeId="31a476f97b6d45efb80aaacc9529e6fb">
<p.TypeReference TypeId="7d6b517914a14cdf91f9629117944385">
<Parameter InputParameterPassingRule="Recommended" OutputParameterPassingRule="NotAllowed" Name="L0" DataType="String" />
</p.TypeReference>
<p.TypeReference TypeId="069cf77559a645a087566635e390a7da">
Expand Down Expand Up @@ -458,7 +458,7 @@
</MergeItem>
</MergeScript>
</p.IconModel>
<p.IconModel Target="WebApp::Support::Simple Log Error.gvi">
<p.IconModel Target="SimpleServer::Support::Simple Log Error.gvi">
<MergeScript>
<MergeItem Path="." IsPrimary="True">
<Icon ListViewIconCrop="0 0 40 40">
Expand Down
6 changes: 4 additions & 2 deletions Deno/Examples/SmokeTests.gcomp/SmokeTests.gcomp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="AAE4650BDADA1CB99B5BCEEA8214451D620F997E12E688AE90C422A49188B1E45B300647C063676ABC8AE579268273C34D9ACA30C40B31AC96409A9189C9DE38" Timestamp="1DAE238DC313BF1" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="766509F5CB79B548897D1BC50D6B4BD332C919ABEA5D11362CC78B7A0B9C45CF01849BA906B23527AD462FBAE5AC53661234D54CFA54C0DE8A3553AF65BA6A5F" Timestamp="1DAE2424D8679F9" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="GComponentFeatureSet" Name="http://www.ni.com/GComponent.xsd" OldestCompatibleVersion="9.0.0.0" Version="9.0.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="Web Module: WebVI" Name="http://www.ni.com/NationalInstruments.LabVIEW.HtmlVI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
Expand All @@ -22,13 +22,14 @@
<ComponentItemProperties AssociatedEnvoyId="3d34ce9fe5064166a54e5177df5a14c9" Id="3e3c4df64a8e47b48ade9a36b274a8b3" TopLevel="True" />
<ComponentItemProperties AssociatedEnvoyId="e4df48433b574207a41036e6f44483c6" Id="7b9d790401fa4aa0a14f63473812cbad" TopLevel="True" />
<ComponentItemProperties AssociatedEnvoyId="895a37f804044106a975f2dd38c4e7aa" Id="d32eb5cd837d4acc986ee96f6b5a98bc" TopLevel="True" />
<ComponentItemProperties AssociatedEnvoyId="3eff670d657648fcbf0ded86342e1710" Id="cf4a8b632f374d0faf1171bd3a28d844" TopLevel="True" />
</ComponentConfiguration>
</ComponentDefinition>
<EnvoyManagerFile Id="44a7e7ff34764f589523fbbe083ab5b5" xmlns="http://www.ni.com/PlatformFramework">
<EnvoyManagerRootEnvoy Id="53037122d1dd4a1882c2157398a39836" ModelDefinitionType="EnvoyManagerRootEnvoy" Name="RootEnvoy" />
<EmbeddedDefinitionReference Id="48b243c41ed04c45a4625a62fca43b70" ModelDefinitionType="{http://www.ni.com/GComponent.xsd}ComponentDefinitionEnvoyHierarchyRoot" Name="Global namespace">
<ComponentDefinitionEnvoyHierarchyRoot xmlns="http://www.ni.com/GComponent.xsd" />
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="bf64ee7d7ec644b49c43ab36d17af295" Name="WebApp">
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="bf64ee7d7ec644b49c43ab36d17af295" Name="SmokeTests">
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="14d96ecc5e1e4074a97feb339cc07b5a" Name="WebSocket">
<SourceFileReference Id="f62b676dfb2847fea8a7aff1a1efd36a" ModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.VirtualInstrument" Name="echo.test.gviweb" OverridingModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.HTMLVirtualInstrument" StoragePath="WebSocket\echo.test.gviweb" />
</NameScopingEnvoy>
Expand All @@ -46,6 +47,7 @@
<NameScopingEnvoy AutomaticallyResolveUp="True" Id="d85f3189c3a74e60b29db72a0c310aed" Name="DenoKV">
<SourceFileReference Id="895a37f804044106a975f2dd38c4e7aa" ModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.VirtualInstrument" Name="simple.test.gviweb" OverridingModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.HTMLVirtualInstrument" StoragePath="DenoKV\simple.test.gviweb" />
</NameScopingEnvoy>
<SourceFileReference Id="3eff670d657648fcbf0ded86342e1710" ModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.VirtualInstrument" Name="main.gviweb" OverridingModelDefinitionType="NationalInstruments.LabVIEW.VI.Modeling.HTMLVirtualInstrument" StoragePath="main.gviweb" />
</NameScopingEnvoy>
</EmbeddedDefinitionReference>
<NameScopingEnvoy Id="16269d0b99434aaca3ca3cf99a020cd8" Name="SmokeTests.gcomp" NameTracksFileName="True">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<SourceFile Checksum="045AF81B07BDFDF11A4CF1AB6A0FADE10B441555E7A97F79E024DBFDB6A24951814069B5A70F74CEF1BA9C2E10685BF92AC549AD3BDA1239F08DC0DFA13EDAA8" Timestamp="1DAE21F9C525256" xmlns="http://www.ni.com/PlatformFramework">
<SourceFile Checksum="CA59DECE913849CA4246E60F7E78FF1CA7CD0136365AADE9AD4CEF4814862BCE9C325890A3856C5BE9B860FC8A5F65C03674A115516A569027C31BEFC86FB9AC" Timestamp="1DAE241F21ED818" xmlns="http://www.ni.com/PlatformFramework">
<SourceModelFeatureSet>
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="LabVIEW Virtual Instrument" Name="http://www.ni.com/LabVIEW.VI" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
<ParsableNamespace AssemblyFileVersion="9.5.0.49854" FeatureSetName="Common language components" Name="http://www.ni.com/MocCommon" OldestCompatibleVersion="8.1.0.49152" Version="8.1.0.49152" />
Expand Down Expand Up @@ -36,7 +36,7 @@
<DiagramUnplacedItems Id="2f33845fc7d746539ed9bbfedc9fc394" xmlns="http://www.ni.com/MocCommon" />
<FrontPanelUnplacedItems Id="bb0cde61e7774c40a4d47ea331acdfd5" Left="[float]0" PanelSizeMode="Fixed" Top="[float]0" />
<BlockDiagram Id="93ce182309334081af3ce36a4a84b7b9">
<MethodCall Bounds="160 205 40 40" Id="e036290856224b8dae00791a44459b6f" ResolveFailedHint="&quot;C:\\Users\\Milan\\Documents\\GitHub\\webvi-experiments\\Deno\\Examples\\SmokeTests.gcomp\\SystemLink Data APIs\\Support\\Open Test Configuration.gvi&quot;" Signature="@3dbf4f9c0e864c7ebad0394b85ed57b4" Target="WebApp::SystemLink Data APIs::Support::Open Test Configuration.gvi" xmlns="http://www.ni.com/MocCommon">
<MethodCall Bounds="160 205 40 40" Id="e036290856224b8dae00791a44459b6f" ResolveFailedHint="&quot;C:\\Users\\Milan\\Documents\\GitHub\\webvi-experiments\\Deno\\Examples\\SmokeTests.gcomp\\SystemLink Data APIs\\Support\\Open Test Configuration.gvi&quot;" Signature="@3dbf4f9c0e864c7ebad0394b85ed57b4" Target="SmokeTests::SystemLink Data APIs::Support::Open Test Configuration.gvi" xmlns="http://www.ni.com/MocCommon">
<p.MethodDeclaration>
<MethodDeclaration xmlns="http://www.ni.com/PlatformFramework">
<Parameter Id="L3" Desc="error in" />
Expand Down Expand Up @@ -229,7 +229,7 @@
<p.TypeReference TypeId="78c1774147a448ffb7a8923ca840b48d">
<Function Id="1" IsStatic="True" IsConstructor="False" Name="Write to System Log.gvi" ReturnType="Void" GenericTypeDefinition="Void">
<Parameters>
<Attributed AttributedType="@8e9fd4e289ce4c30b7d1d23ffcb8f608">
<Attributed AttributedType="@f6353861de3f4f0fa49ef5397179a04b">
<AttributeValues>
<AttributeValue Name="NI.UserDefinedName" Value="[string]message" />
</AttributeValues>
Expand Down Expand Up @@ -260,7 +260,7 @@
<AttributeValue Name="NI.UserDefinedName" Value="[string]timeout" />
</AttributeValues>
</Attributed>
<Attributed AttributedType="@8e9fd4e289ce4c30b7d1d23ffcb8f608">
<Attributed AttributedType="@f6353861de3f4f0fa49ef5397179a04b">
<AttributeValues>
<AttributeValue Name="NI.UserDefinedName" Value="[string]data" />
</AttributeValues>
Expand Down Expand Up @@ -327,7 +327,7 @@
<p.TypeReference TypeId="4c256cd1195341f6942fea73b39093b9">
<Parameter InputParameterPassingRule="Required" OutputParameterPassingRule="NotAllowed" Name="L0" DataType="@6dbf9d7dc430404389c2b1b9f5ebb514" />
</p.TypeReference>
<p.TypeReference TypeId="8e9fd4e289ce4c30b7d1d23ffcb8f608">
<p.TypeReference TypeId="f6353861de3f4f0fa49ef5397179a04b">
<Parameter InputParameterPassingRule="Required" OutputParameterPassingRule="NotAllowed" Name="L0" DataType="String" />
</p.TypeReference>
<p.TypeReference TypeId="7fd44bacc57a4328b5a4218078e96c38">
Expand Down Expand Up @@ -420,7 +420,7 @@
</p.TypeReference>
</DataTypeReferenceTable>
<IconTable xmlns="http://www.ni.com/PlatformFramework">
<p.IconModel Target="WebApp::SystemLink Data APIs::Support::Open Test Configuration.gvi">
<p.IconModel Target="SmokeTests::SystemLink Data APIs::Support::Open Test Configuration.gvi">
<MergeScript>
<MergeItem Path="." IsPrimary="True">
<Icon ListViewIconCrop="0 0 40 40">
Expand Down
Loading

0 comments on commit b5bbf77

Please sign in to comment.