Browse Source

Added a new unit test for FormattedStringValueExtracter.

pull/81/head
Halil İbrahim Kalkan 10 years ago
parent
commit
88de8b3128
  1. 7
      test/Volo.Abp.Tests/Volo/Abp/Text/Formatting/FormattedStringValueExtracter_Tests.cs

7
test/Volo.Abp.Tests/Volo/Abp/Text/Formatting/FormattedStringValueExtracter_Tests.cs

@ -25,6 +25,13 @@ namespace Volo.Abp.Text.Formatting
"{domain}", "{domain}",
new NameValue("domain", "abp.io") new NameValue("domain", "abp.io")
); );
Test_Matched(
"http://acme.abp.io/gaming/Index.html",
"http://{TENANCY_NAME}.abp.io/{AREA}/Index.html",
new NameValue("TENANCY_NAME", "acme"),
new NameValue("AREA", "gaming")
);
} }
[Fact] [Fact]

Loading…
Cancel
Save