Commit 601edc64 authored by Ghislain MARY's avatar Ghislain MARY

Fix unit tests that contains "+" characters on Windows Phone 8.

parent 292c8692
...@@ -37,6 +37,7 @@ namespace belle_sip_tester_wp8 ...@@ -37,6 +37,7 @@ namespace belle_sip_tester_wp8
{ {
UnitTestCaseName test = (sender as LongListSelector).SelectedItem as UnitTestCaseName; UnitTestCaseName test = (sender as LongListSelector).SelectedItem as UnitTestCaseName;
if (test == null) return; if (test == null) return;
test.Name = test.Name.Replace("+", "%2B").Replace(" ", "%20");
if (!(Application.Current as App).suiteRunning()) if (!(Application.Current as App).suiteRunning())
{ {
NavigationService.Navigate(new Uri("/TestResultPage.xaml?SuiteName=" + suiteName + "&CaseName=" + test.Name + "&Verbose=" + verbose, UriKind.Relative)); NavigationService.Navigate(new Uri("/TestResultPage.xaml?SuiteName=" + suiteName + "&CaseName=" + test.Name + "&Verbose=" + verbose, UriKind.Relative));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment