-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19091 from unoplatform/dev/dr/hr-no-create-new
test(hr): Add more HR test cases
- Loading branch information
Showing
133 changed files
with
2,731 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...rators.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page/0/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Grid x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
<Button x:Name="test" Content="Hello" /> | ||
</Grid> | ||
</Grid> |
20 changes: 20 additions & 0 deletions
20
...ors.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page/0/p1/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
|
||
namespace Test01; | ||
|
||
public sealed partial class MainPage : Grid | ||
{ | ||
} |
12 changes: 12 additions & 0 deletions
12
...rators.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page/1/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Page x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
</Grid> | ||
</Page> |
24 changes: 24 additions & 0 deletions
24
...ors.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page/1/p1/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
|
||
namespace Test01; | ||
|
||
public sealed partial class MainPage : Page | ||
{ | ||
public MainPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...eGenerators.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page/Scenario.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"Scenarios": [ | ||
{ | ||
"IsDebug": true, | ||
"IsMono": false, | ||
"PassResults": [ | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [ | ||
// Updating the base class and/or base interface(s) of 'text' requires restarting the application. | ||
{ "Id": "ENC0014" }, | ||
{ "Id": "ENC0014" } | ||
] | ||
|
||
} | ||
] | ||
}, | ||
{ | ||
"IsDebug": true, | ||
"IsMono": true, | ||
"PassResults": [ | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [ | ||
// Updating the base class and/or base interface(s) of 'text' requires restarting the application. | ||
{ "Id": "ENC0014" }, | ||
{ "Id": "ENC0014" } | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
13 changes: 13 additions & 0 deletions
13
...ests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page_To_Grid/0/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Grid x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
<Button x:Name="test" Content="Hello" /> | ||
</Grid> | ||
</Grid> |
20 changes: 20 additions & 0 deletions
20
...s/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page_To_Grid/0/p1/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
|
||
namespace Test01; | ||
|
||
public sealed partial class MainPage : Grid | ||
{ | ||
} |
12 changes: 12 additions & 0 deletions
12
...ests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page_To_Grid/1/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Page x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
</Grid> | ||
</Page> |
24 changes: 24 additions & 0 deletions
24
...s/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page_To_Grid/1/p1/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
|
||
namespace Test01; | ||
|
||
public sealed partial class MainPage : Page | ||
{ | ||
public MainPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page_To_Grid/2/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Grid x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
<Button x:Name="test" Content="Hello" /> | ||
</Grid> | ||
</Grid> |
20 changes: 20 additions & 0 deletions
20
...s/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page_To_Grid/2/p1/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
|
||
namespace Test01; | ||
|
||
public sealed partial class MainPage : Grid | ||
{ | ||
} |
40 changes: 40 additions & 0 deletions
40
...ors.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Grid_To_Page_To_Grid/Scenario.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"Scenarios": [ | ||
{ | ||
"IsDebug": true, | ||
"IsMono": false, | ||
"PassResults": [ | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [ | ||
// Updating the base class and/or base interface(s) of 'text' requires restarting the application. | ||
{ "Id": "ENC0014" }, | ||
{ "Id": "ENC0014" } | ||
] | ||
}, | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [] | ||
} | ||
] | ||
}, | ||
{ | ||
"IsDebug": true, | ||
"IsMono": true, | ||
"PassResults": [ | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [ | ||
// Updating the base class and/or base interface(s) of 'text' requires restarting the application. | ||
{ "Id": "ENC0014" }, | ||
{ "Id": "ENC0014" } | ||
] | ||
}, | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [] | ||
} | ||
] | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
...rators.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Page_To_Grid/0/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Page x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
</Grid> | ||
</Page> |
24 changes: 24 additions & 0 deletions
24
...ors.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Page_To_Grid/0/p1/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
|
||
namespace Test01; | ||
|
||
public sealed partial class MainPage : Page | ||
{ | ||
public MainPage() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...rators.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Page_To_Grid/1/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Grid x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
<Button x:Name="test" Content="Hello" /> | ||
</Grid> | ||
</Grid> |
20 changes: 20 additions & 0 deletions
20
...ors.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Page_To_Grid/1/p1/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Microsoft.UI.Xaml; | ||
using Microsoft.UI.Xaml.Controls; | ||
using Microsoft.UI.Xaml.Controls.Primitives; | ||
using Microsoft.UI.Xaml.Data; | ||
using Microsoft.UI.Xaml.Input; | ||
using Microsoft.UI.Xaml.Media; | ||
using Microsoft.UI.Xaml.Navigation; | ||
|
||
namespace Test01; | ||
|
||
public sealed partial class MainPage : Grid | ||
{ | ||
} |
33 changes: 33 additions & 0 deletions
33
...eGenerators.Tests/MetadataUpdateTests/Scenarios/When_Base_Type_Page_To_Grid/Scenario.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"Scenarios": [ | ||
{ | ||
"IsDebug": true, | ||
"IsMono": false, | ||
"PassResults": [ | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [ | ||
// Updating the base class and/or base interface(s) of 'text' requires restarting the application. | ||
{ "Id": "ENC0014" }, | ||
{ "Id": "ENC0014" } | ||
] | ||
|
||
} | ||
] | ||
}, | ||
{ | ||
"IsDebug": true, | ||
"IsMono": true, | ||
"PassResults": [ | ||
{ | ||
"MetadataUpdates": 0, | ||
"Diagnostics": [ | ||
// Updating the base class and/or base interface(s) of 'text' requires restarting the application. | ||
{ "Id": "ENC0014" }, | ||
{ "Id": "ENC0014" } | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
...ests/MetadataUpdateTests/Scenarios/When_Base_Type_Page_To_Grid_To_Page/0/p1/MainPage.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Page x:Class="Test01.MainPage" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:CSHRTest01" | ||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d"> | ||
|
||
<Grid> | ||
</Grid> | ||
</Page> |
Oops, something went wrong.