Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2019-05-23 15:12:14 +0300
committerGitHub <noreply@github.com>2019-05-23 15:12:14 +0300
commit9606a8f18071ebc56211434972fe024a819a118c (patch)
tree27af6aa73fb982291020dae6d05d84a71237281a /mcs/class/System.Windows.Forms
parentd96fa3ab317ec0ebf5fa26d0efab24c3142b8e29 (diff)
[bcl] Remove usages of mono-project.com/go-mono.com/google.com in tests (#14586)
Use example.com and example.org instead. Fixes https://github.com/mono/mono/issues/14585 Note that not all of the things I replaced make an actual network request but I thought it'd be nice to be consistent.
Diffstat (limited to 'mcs/class/System.Windows.Forms')
-rw-r--r--mcs/class/System.Windows.Forms/System.Windows.Forms/LineTag.cs2
-rw-r--r--mcs/class/System.Windows.Forms/System.Windows.Forms/WebBrowser.cs2
-rw-r--r--mcs/class/System.Windows.Forms/Test/System.Resources/ResXResourceReaderTest.cs2
-rw-r--r--mcs/class/System.Windows.Forms/Test/System.Windows.Forms/EventArgsTest.cs6
4 files changed, 6 insertions, 6 deletions
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/LineTag.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/LineTag.cs
index 9e0d5c7e2b7..a551e813de9 100644
--- a/mcs/class/System.Windows.Forms/System.Windows.Forms/LineTag.cs
+++ b/mcs/class/System.Windows.Forms/System.Windows.Forms/LineTag.cs
@@ -43,7 +43,7 @@ namespace System.Windows.Forms
private bool is_link; // Whether this tag is a link
private string link_text; // The full link text e.g. this might be
// word-wrapped to "w" but this would be
- // "www.mono-project.com"
+ // "www.example.com"
// Payload; text
private int start; // start, in chars; index into Line.text
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/WebBrowser.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/WebBrowser.cs
index 529a115f550..46cfe5ade81 100644
--- a/mcs/class/System.Windows.Forms/System.Windows.Forms/WebBrowser.cs
+++ b/mcs/class/System.Windows.Forms/System.Windows.Forms/WebBrowser.cs
@@ -375,7 +375,7 @@ namespace System.Windows.Forms
public void GoSearch ()
{
- string url = "http://www.google.com";
+ string url = "http://www.example.com";
try {
Microsoft.Win32.RegistryKey reg = Microsoft.Win32.Registry.CurrentUser.OpenSubKey (@"Software\Microsoft\Internet Explorer\Main\Search Page");
if (reg != null) {
diff --git a/mcs/class/System.Windows.Forms/Test/System.Resources/ResXResourceReaderTest.cs b/mcs/class/System.Windows.Forms/Test/System.Resources/ResXResourceReaderTest.cs
index 47b1ad61fea..aa00db41add 100644
--- a/mcs/class/System.Windows.Forms/Test/System.Resources/ResXResourceReaderTest.cs
+++ b/mcs/class/System.Windows.Forms/Test/System.Resources/ResXResourceReaderTest.cs
@@ -456,7 +456,7 @@ namespace MonoTests.System.Resources {
{
const string resXTemplate =
"<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
- "<o:Document xmlns:x=\"http://www.mono-project.com\" xmlns:o=\"http://tempuri.org\">" +
+ "<o:Document xmlns:x=\"http://www.example.com\" xmlns:o=\"http://tempuri.org\">" +
" <o:Content>" +
" <x:DaTa name=\"name\">" +
" <o:value>de Icaza</o:value>" +
diff --git a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/EventArgsTest.cs b/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/EventArgsTest.cs
index 04784087a5f..3d9dd5dcf17 100644
--- a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/EventArgsTest.cs
+++ b/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/EventArgsTest.cs
@@ -441,7 +441,7 @@ namespace MonoTests.System.Windows.Forms
[Test]
public void TestWebBrowserDocumentCompletedEventArgs()
{
- Uri url = new Uri("http://www.mono-project.com/");
+ Uri url = new Uri("http://www.example.com/");
WebBrowserDocumentCompletedEventArgs e = new WebBrowserDocumentCompletedEventArgs(url);
@@ -451,7 +451,7 @@ namespace MonoTests.System.Windows.Forms
[Test]
public void TestWebBrowserNavigatedEventArgs ()
{
- Uri url = new Uri ("http://www.mono-project.com/");
+ Uri url = new Uri ("http://www.example.com/");
WebBrowserNavigatedEventArgs e = new WebBrowserNavigatedEventArgs (url);
@@ -461,7 +461,7 @@ namespace MonoTests.System.Windows.Forms
[Test]
public void TestWebBrowserNavigatingEventArgs ()
{
- Uri url = new Uri ("http://www.mono-project.com/");
+ Uri url = new Uri ("http://www.example.com/");
string frame = "TOP";
WebBrowserNavigatingEventArgs e = new WebBrowserNavigatingEventArgs (url, frame);