From 88de8b312803a92a1886ecac6b9cb55e5be5b017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Fri, 24 Feb 2017 17:03:32 +0300 Subject: [PATCH] Added a new unit test for FormattedStringValueExtracter. --- .../Text/Formatting/FormattedStringValueExtracter_Tests.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/Volo.Abp.Tests/Volo/Abp/Text/Formatting/FormattedStringValueExtracter_Tests.cs b/test/Volo.Abp.Tests/Volo/Abp/Text/Formatting/FormattedStringValueExtracter_Tests.cs index c69678d8b6..475fe61eda 100644 --- a/test/Volo.Abp.Tests/Volo/Abp/Text/Formatting/FormattedStringValueExtracter_Tests.cs +++ b/test/Volo.Abp.Tests/Volo/Abp/Text/Formatting/FormattedStringValueExtracter_Tests.cs @@ -25,6 +25,13 @@ namespace Volo.Abp.Text.Formatting "{domain}", 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]