Skip to content

Commit 491847e

Browse files
authoredMar 4, 2025··
Merge pull request #53 from Axemasta/testing
Implement Unit & Behaviour Tests For Main Library
2 parents e009498 + 5c38ea8 commit 491847e

File tree

67 files changed

+5684
-553
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+5684
-553
lines changed
 

‎.resxpress/namespace-mapping.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"TestResources.fr-FR":"Mocale.UnitTests.Resources"}

‎samples/Mocale.Samples/Pages/ParameterPage.xaml

+2-25
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,16 @@
1717
VerticalOptions="Start">
1818

1919
<Label Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageHeading}}" />
20-
21-
<Label Text="This feature is experimental and not yet mature, use at your own discretion!" />
22-
23-
24-
<Border Padding="20">
25-
<VerticalStackLayout Spacing="10">
26-
27-
<Label FontSize="Title" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageSectionOneHeading}}" />
28-
<Label Margin="0,0,0,10" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageSectionOneSubHeading}}" />
29-
30-
<Label FontAttributes="Bold" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageBasicStringFormatLabel}}" />
31-
<Label Margin="0,0,0,10" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageBasicStringFormat}, Parameters='W O R L D!'}" />
32-
33-
<Label FontAttributes="Bold" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageLargeStringFormatLabel}}" />
34-
<Label Margin="0,0,0,10" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageLargeStringFormat}, Parameters='World|23-07-2024|23'}" />
35-
36-
<Label FontAttributes="Bold" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageMultipleFormatsSameValueLabel}}" />
37-
<Label Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageMultipleFormatsSameValue}, Parameters='mate'}" />
38-
39-
</VerticalStackLayout>
40-
</Border>
41-
4220
<Border Padding="20">
4321
<VerticalStackLayout Spacing="10">
4422

45-
<Label FontSize="Title" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageSectionTwoHeading}}" />
46-
<Label Margin="0,0,0,10" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageSectionTwoSubHeading}}" />
23+
<Label FontSize="Title" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageSectionHeading}}" />
24+
<Label Margin="0,0,0,10" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageSectionSubHeading}}" />
4725

4826
<Label FontAttributes="Bold" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageBasicStringFormatLabel}}" />
4927
<Label Margin="0,0,0,10" Text="{mocale:LocalizeBinding Name, TranslationKey={x:Static keys:TranslationKeys.ParameterPageBasicStringFormat}}" />
5028

5129
<Label FontAttributes="Bold" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageLargeStringFormatLabel}}" />
52-
<!--<Label Margin="0,0,0,10" Text="{mocale:Localize Key={x:Static keys:TranslationKeys.ParameterPageLargeStringFormat}}" />-->
5330
<Label Margin="0,0,0,10">
5431
<Label.Text>
5532
<mocale:LocalizeMultiBinding TranslationKey="{x:Static keys:TranslationKeys.ParameterPageLargeStringFormat}">

0 commit comments

Comments
 (0)
Please sign in to comment.