<?xml version="1.0" encoding="utf-8"?>
|
<TestPlan type="OpenTap.TestPlan" Locked="false">
|
<Steps>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.CreateDirectoryStep" Version="0.0.0" Id="3a8e33d7-d7f9-4d58-868b-c38acbf0c15e">
|
<Directory>../../NewProj</Directory>
|
<Enabled>true</Enabled>
|
<Name>Create Directory: {Directory}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.WriteFileStep" Version="0.0.0" Id="45f82fc0-8acf-41b2-8472-2c1b9db25f32">
|
<String><Project Sdk="Microsoft.NET.Sdk">
|
<PropertyGroup>
|
<TargetFrameworkIdentifier></TargetFrameworkIdentifier>
|
<TargetFrameworkVersion></TargetFrameworkVersion>
|
<TargetFramework>net9</TargetFramework>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
<OutputPath>bin/Debug</OutputPath>
|
</PropertyGroup>
|
<ItemGroup>
|
<PackageReference Include="OpenTAP" Version="9.17.0-beta.9" />
|
<PackageReference Include="SSH.NET" Version="2020.0.0"/>
|
<OpenTapPackageReference Include="SSH" Version="0.3.0-beta.8" Repository="packages.opentap.io" />
|
</ItemGroup>
|
</Project></String>
|
<File>../../NewProj/NewProj.csproj</File>
|
<Enabled>true</Enabled>
|
<Name>Write {File}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.WriteFileStep" Version="0.0.0" Id="fc4259db-b8d5-4790-a940-5de27bfb515d">
|
<String>
|
<Base64>cHVibGljIGNsYXNzIFRlc3QxDQogICAgew0KICAgIHB1YmxpYyBUZXN0MSgpew0KICAgICAgICAgdHlwZW9mKE9wZW5UYXAuUGx1Z2lucy5Tc2guU3NoRHV0KS5Ub1N0cmluZygpOw0KICAgICAgICAgICB0eXBlb2YoUmVuY2kuU3NoTmV0LlNlc3Npb24pLlRvU3RyaW5nKCk7DQogICAgIH0NCn0NCg==</Base64>
|
</String>
|
<File>../../NewProj/class.cs</File>
|
<Enabled>true</Enabled>
|
<Name>Write {File}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.WriteFileStep" Version="0.0.0" Id="87ef4ac9-541e-4add-8c40-7303cdccda87">
|
<String>
|
<Base64>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxQYWNrYWdlIE5hbWU9Ik5ld1Byb2oiIHhtbG5zPSJodHRwOi8vb3BlbnRhcC5pby9zY2hlbWFzL3BhY2thZ2UiIEluZm9MaW5rPSIiIFZlcnNpb249IjAuMS4wLWFscGhhIj4NCiAgPEZpbGVzPg0KICAgIDxGaWxlIFBhdGg9IlBhY2thZ2VzL05ld1Byb2ovTmV3UHJvai5kbGwiIFNvdXJjZVBhdGg9Ik5ld1Byb2ouZGxsIj4NCiAgICA8L0ZpbGU+DQogIDwvRmlsZXM+DQo8L1BhY2thZ2U+DQo=</Base64>
|
</String>
|
<File>../../NewProj/package.xml</File>
|
<Enabled>true</Enabled>
|
<Name>Write {File}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Plugins.BasicSteps.ProcessStep" Version="9.4.0-Development" Id="03572f31-123d-40de-b737-74c714b8cd31">
|
<Application>dotnet</Application>
|
<Arguments>build</Arguments>
|
<WorkingDirectory>../../NewProj</WorkingDirectory>
|
<WaitForEnd>true</WaitForEnd>
|
<Timeout>0</Timeout>
|
<AddToLog>true</AddToLog>
|
<LogHeader />
|
<CheckExitCode>true</CheckExitCode>
|
<RegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</RegularExpressionPattern>
|
<VerdictOnMatch>Pass</VerdictOnMatch>
|
<VerdictOnNoMatch>Fail</VerdictOnNoMatch>
|
<ResultRegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</ResultRegularExpressionPattern>
|
<ResultName>Regex Result</ResultName>
|
<Behavior>GroupsAsDimensions</Behavior>
|
<DimensionTitles></DimensionTitles>
|
<Enabled>true</Enabled>
|
<Name>Run: {Application} {Command Line Arguments}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.ExpectStep" Version="0.0.0" Id="76f72e46-1057-4a3f-afce-1cb30574d9ac">
|
<ExpectedVerdict>Fail</ExpectedVerdict>
|
<Enabled>true</Enabled>
|
<Name>Expect {ExpectedVerdict}</Name>
|
<ChildTestSteps>
|
<TestStep type="OpenTap.Plugins.BasicSteps.ProcessStep" Version="9.4.0-Development" Id="ef81482d-125b-4f3f-a1d5-eaf212d302fe">
|
<Application>tap</Application>
|
<Arguments>package create ../../package.xml --verbose</Arguments>
|
<WorkingDirectory>../../NewProj/bin/Debug</WorkingDirectory>
|
<WaitForEnd>true</WaitForEnd>
|
<Timeout>0</Timeout>
|
<AddToLog>true</AddToLog>
|
<LogHeader />
|
<CheckExitCode>true</CheckExitCode>
|
<RegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</RegularExpressionPattern>
|
<VerdictOnMatch>Pass</VerdictOnMatch>
|
<VerdictOnNoMatch>Fail</VerdictOnNoMatch>
|
<ResultRegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</ResultRegularExpressionPattern>
|
<ResultName>Regex Result</ResultName>
|
<Behavior>GroupsAsDimensions</Behavior>
|
<DimensionTitles></DimensionTitles>
|
<Enabled>true</Enabled>
|
<Name>Run: {Application} {Command Line Arguments}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
</ChildTestSteps>
|
<BreakConditions>BreakOnError</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.ReplaceInFileStep" Version="0.0.0" Id="7dba2808-7a59-46fb-b0b3-3f168c7ab560">
|
<File>../../NewProj/NewProj.csproj</File>
|
<Search>2020.0.0</Search>
|
<Replace>2016.0.0</Replace>
|
<Enabled>true</Enabled>
|
<Name>Replace In File</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Plugins.BasicSteps.ProcessStep" Version="9.4.0-Development" Id="341f21d3-5f57-4b32-9461-c46186b9e9e8">
|
<Application>dotnet</Application>
|
<Arguments>build</Arguments>
|
<WorkingDirectory>../../NewProj</WorkingDirectory>
|
<WaitForEnd>true</WaitForEnd>
|
<Timeout>0</Timeout>
|
<AddToLog>true</AddToLog>
|
<LogHeader />
|
<CheckExitCode>true</CheckExitCode>
|
<RegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</RegularExpressionPattern>
|
<VerdictOnMatch>Pass</VerdictOnMatch>
|
<VerdictOnNoMatch>Fail</VerdictOnNoMatch>
|
<ResultRegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</ResultRegularExpressionPattern>
|
<ResultName>Regex Result</ResultName>
|
<Behavior>GroupsAsDimensions</Behavior>
|
<DimensionTitles></DimensionTitles>
|
<Enabled>true</Enabled>
|
<Name>Run: {Application} {Command Line Arguments}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.ExpectStep" Version="0.0.0" Id="e00535ae-8152-4ee1-ab61-f14ed3f4d12d">
|
<ExpectedVerdict>Pass</ExpectedVerdict>
|
<Enabled>true</Enabled>
|
<Name>Expect {ExpectedVerdict}</Name>
|
<ChildTestSteps>
|
<TestStep type="OpenTap.Plugins.BasicSteps.ProcessStep" Version="9.4.0-Development" Id="68e9af36-4263-4370-bf79-d5671ac8bf5e">
|
<Application>tap</Application>
|
<Arguments>package create ../../package.xml</Arguments>
|
<WorkingDirectory>../../NewProj/bin/Debug</WorkingDirectory>
|
<WaitForEnd>true</WaitForEnd>
|
<Timeout>0</Timeout>
|
<AddToLog>true</AddToLog>
|
<LogHeader />
|
<CheckExitCode>true</CheckExitCode>
|
<RegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</RegularExpressionPattern>
|
<VerdictOnMatch>Error</VerdictOnMatch>
|
<VerdictOnNoMatch>NotSet</VerdictOnNoMatch>
|
<ResultRegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</ResultRegularExpressionPattern>
|
<ResultName>Regex Result</ResultName>
|
<Behavior>GroupsAsDimensions</Behavior>
|
<DimensionTitles></DimensionTitles>
|
<Enabled>true</Enabled>
|
<Name>Run: {Application} {Command Line Arguments}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
</ChildTestSteps>
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.ExpectStep" Version="0.0.0" Id="83f384d0-fbef-4fcb-8024-282e2304b1c0">
|
<ExpectedVerdict>Pass</ExpectedVerdict>
|
<Enabled>true</Enabled>
|
<Name>Expect {ExpectedVerdict}</Name>
|
<ChildTestSteps>
|
<TestStep type="OpenTap.Plugins.BasicSteps.ProcessStep" Version="9.4.0-Development" Id="f63f9625-b293-4240-b75d-29183ae2b290">
|
<Application>tap</Application>
|
<Arguments>package create ../../package.xml --out ../</Arguments>
|
<WorkingDirectory>../../NewProj/bin/Debug</WorkingDirectory>
|
<WaitForEnd>true</WaitForEnd>
|
<Timeout>0</Timeout>
|
<AddToLog>true</AddToLog>
|
<LogHeader />
|
<CheckExitCode>true</CheckExitCode>
|
<RegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</RegularExpressionPattern>
|
<VerdictOnMatch>Error</VerdictOnMatch>
|
<VerdictOnNoMatch>NotSet</VerdictOnNoMatch>
|
<ResultRegularExpressionPattern>
|
<Value>(.*)</Value>
|
<IsEnabled>false</IsEnabled>
|
</ResultRegularExpressionPattern>
|
<ResultName>Regex Result</ResultName>
|
<Behavior>GroupsAsDimensions</Behavior>
|
<DimensionTitles></DimensionTitles>
|
<Enabled>true</Enabled>
|
<Name>Run: {Application} {Command Line Arguments}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
</ChildTestSteps>
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.RunOnOs" Version="0.0.0" Id="b4ebd013-9f78-451d-ad84-73faaa5b6afc">
|
<OperatingSystem>Windows</OperatingSystem>
|
<Enabled>true</Enabled>
|
<Name>Run On {OperatingSystem}</Name>
|
<ChildTestSteps>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.ExpectStep" Version="0.0.0" Id="c035d9b7-fcf5-4841-b95b-5b1313f8eae4">
|
<ExpectedVerdict>Fail</ExpectedVerdict>
|
<Enabled>true</Enabled>
|
<Name>Expect {ExpectedVerdict} (1)</Name>
|
<ChildTestSteps>
|
<TestStep type="OpenTap.Engine.UnitTests.TestTestSteps.FindFileStep" Version="0.0.0" Id="e8551fd3-acde-4cda-b11e-e676d2bad73f">
|
<SearchDir>%TMP%</SearchDir>
|
<Regex>.*opentap_package_tmp.zip</Regex>
|
<Enabled>true</Enabled>
|
<Name>Locate File '{Regex}' in {SearchDir}</Name>
|
<ChildTestSteps />
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
</ChildTestSteps>
|
<BreakConditions>BreakOnError</BreakConditions>
|
</TestStep>
|
</ChildTestSteps>
|
<BreakConditions>Inherit</BreakConditions>
|
</TestStep>
|
</Steps>
|
<BreakConditions>Inherit</BreakConditions>
|
</TestPlan>
|