generated from unoplatform/template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow for key override for non-ignored namespaces (#105)
- Loading branch information
1 parent
f11018e
commit 00ded04
Showing
12 changed files
with
182 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
7 changes: 7 additions & 0 deletions
7
src/Uno.XamlMerge.Tests/Scenarios/When_Duplicate_ThemeResources/Input_Dictionary_1.xml
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,7 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="netstdref wasm skia not_win" xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract7NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:netstdref="http://uno.ui/netstdref" xmlns:wasm="http://uno.ui/wasm" xmlns:skia="http://uno.ui/skia" xmlns:not_win="http://uno.ui/not_win" xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<Thickness x:Key="FlipViewButtonBorderThemeThickness">1</Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |
7 changes: 7 additions & 0 deletions
7
src/Uno.XamlMerge.Tests/Scenarios/When_Duplicate_ThemeResources/Input_Dictionary_2.xml
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,7 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="netstdref wasm skia not_win" xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract7NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:netstdref="http://uno.ui/netstdref" xmlns:wasm="http://uno.ui/wasm" xmlns:skia="http://uno.ui/skia" xmlns:not_win="http://uno.ui/not_win" xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<Thickness x:Key="FlipViewButtonBorderThemeThickness">2</Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |
9 changes: 9 additions & 0 deletions
9
src/Uno.XamlMerge.Tests/Scenarios/When_Duplicate_ThemeResources/expected.xml
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,9 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="netstdref wasm skia not_win" xmlns:contract7Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:contract7NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,7)" xmlns:netstdref="http://uno.ui/netstdref" xmlns:wasm="http://uno.ui/wasm" xmlns:skia="http://uno.ui/skia" xmlns:not_win="http://uno.ui/not_win" xmlns:win="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<Thickness x:Key="FlipViewButtonBorderThemeThickness">2</Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
<!--origin: When_Duplicate_ThemeResources\Input_Dictionary_1.xml--> | ||
<!--origin: When_Duplicate_ThemeResources\Input_Dictionary_2.xml--> | ||
</ResourceDictionary> |
7 changes: 7 additions & 0 deletions
7
....Tests/Scenarios/When_Duplicate_ThemeResources_With_Ignored_Prefix/Input_Dictionary_1.xml
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,7 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="a1" xmlns:a1="using:ns1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<a1:Thickness x:Key="FlipViewButtonBorderThemeThickness">2</a1:Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |
7 changes: 7 additions & 0 deletions
7
....Tests/Scenarios/When_Duplicate_ThemeResources_With_Ignored_Prefix/Input_Dictionary_2.xml
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,7 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="a2" xmlns:a2="using:ns1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<a2:Thickness x:Key="FlipViewButtonBorderThemeThickness">2</a2:Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |
10 changes: 10 additions & 0 deletions
10
....XamlMerge.Tests/Scenarios/When_Duplicate_ThemeResources_With_Ignored_Prefix/expected.xml
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,10 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="a1 a2" xmlns:a1="using:ns1" xmlns:a2="using:ns1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<a1:Thickness x:Key="FlipViewButtonBorderThemeThickness">2</a1:Thickness> | ||
<a2:Thickness x:Key="FlipViewButtonBorderThemeThickness">2</a2:Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
<!--origin: When_Duplicate_ThemeResources_With_Ignored_Prefix\Input_Dictionary_1.xml--> | ||
<!--origin: When_Duplicate_ThemeResources_With_Ignored_Prefix\Input_Dictionary_2.xml--> | ||
</ResourceDictionary> |
7 changes: 7 additions & 0 deletions
7
...amlMerge.Tests/Scenarios/When_Duplicate_ThemeResources_With_Prefix/Input_Dictionary_1.xml
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,7 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:a1="using:ns1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<a1:Thickness x:Key="FlipViewButtonBorderThemeThickness">2</a1:Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |
7 changes: 7 additions & 0 deletions
7
...amlMerge.Tests/Scenarios/When_Duplicate_ThemeResources_With_Prefix/Input_Dictionary_2.xml
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,7 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:a2="using:ns1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<a2:Thickness x:Key="FlipViewButtonBorderThemeThickness">2</a2:Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
</ResourceDictionary> |
9 changes: 9 additions & 0 deletions
9
src/Uno.XamlMerge.Tests/Scenarios/When_Duplicate_ThemeResources_With_Prefix/expected.xml
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,9 @@ | ||
<ResourceDictionary xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:a1="using:ns1" xmlns:a2="using:ns1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<ResourceDictionary.ThemeDictionaries> | ||
<ResourceDictionary x:Key="Default"> | ||
<a2:Thickness x:Key="FlipViewButtonBorderThemeThickness">2</a2:Thickness> | ||
</ResourceDictionary> | ||
</ResourceDictionary.ThemeDictionaries> | ||
<!--origin: When_Duplicate_ThemeResources_With_Prefix\Input_Dictionary_1.xml--> | ||
<!--origin: When_Duplicate_ThemeResources_With_Prefix\Input_Dictionary_2.xml--> | ||
</ResourceDictionary> |