* ServiceControllerTest.cs: Modifying ServiceService, DisplayName
authorGert Driesen <drieseng@users.sourceforge.net>
Sat, 7 Oct 2006 11:59:34 +0000 (11:59 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Sat, 7 Oct 2006 11:59:34 +0000 (11:59 -0000)
or MachineName does not cause cache to be cleared. Categorized as
"By Design" by MS.
* ServiceController.cs: Modifying ServiceService, DisplayName
or MachineName does not cause cache to be cleared. Categorized as
"By Design" by MS.

svn path=/trunk/mcs/; revision=66386

mcs/class/System.ServiceProcess/System.ServiceProcess/ChangeLog
mcs/class/System.ServiceProcess/System.ServiceProcess/ServiceController.cs
mcs/class/System.ServiceProcess/Test/System.ServiceProcess/ChangeLog
mcs/class/System.ServiceProcess/Test/System.ServiceProcess/ServiceControllerTest.cs

index 486379b42d0da8c58d6b0956549ece6de1b56c58..e09762d253d43178bcae454dbfaed2f0e07f15e5 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-07  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       
+
 2006-09-22  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * ServiceProcessInstaller.cs: Added missing ServiceProcessDescription
index 700f736a657d9ed84e244d126aadfa37653fbe94..2a6326046946bb337e54e422e374aaf754bc87c0 100644 (file)
@@ -154,7 +154,7 @@ namespace System.ServiceProcess
                                // you'd expect the DependentServices and ServiceDependedOn cache
                                // to be cleared too, but the MS implementation doesn't do this
                                //
-                               // bug submitted:
+                               // categorized as by design:
                                // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
 
                                // release any handles and clear cache
@@ -181,7 +181,7 @@ namespace System.ServiceProcess
                                // you'd expect the DependentServices and ServiceDependedOn cache
                                // to be cleared too, but the MS implementation doesn't do this
                                //
-                               // bug submitted:
+                               // categorized as by design:
                                // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
 
                                // release any handles and clear cache
@@ -220,7 +220,7 @@ namespace System.ServiceProcess
                                // you'd expect the DependentServices and ServiceDependedOn cache
                                // to be cleared too, but the MS implementation doesn't do this
                                //
-                               // bug submitted:
+                               // categorized as by design:
                                // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
 
                                // release any handles and clear cache
index 5ffa1572d12eb99746d71f712514ce8a3d426689..45049020e4678f841bfe8dc833b26a9380f02f61 100644 (file)
@@ -1,3 +1,9 @@
+2006-10-07  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ServiceControllerTest.cs: Modifying ServiceService, DisplayName
+       or MachineName does not cause cache to be cleared. Categorized as
+       "By Design" by MS.
+
 2006-09-14  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * ServiceControllerPermissionTest.cs: Set eol-style to native. Fixed
index 58ecf47228d06eb072ef5a0bda43136f4fe6f06f..7ba75aba9be968a03f951cafef50f57b024c52e6 100644 (file)
@@ -1506,7 +1506,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual (1, dependentServices.Length, "#A2");
                        Assert.AreEqual ("dmadmin", dependentServices [0].ServiceName, "#A3");
 
-                       // MSBUG: modifying ServiceName does not cause cache to be cleared
+                       // modifying ServiceName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.ServiceName = "alerter";
                        dependentServices = sc.DependentServices;
@@ -1514,7 +1514,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual (1, dependentServices.Length, "#B2");
                        Assert.AreEqual ("dmadmin", dependentServices [0].ServiceName, "#B3");
 
-                       // MSBUG: modifying DisplayName does not cause cache to be cleared
+                       // modifying DisplayName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.DisplayName = "Spooler";
                        dependentServices = sc.DependentServices;
@@ -1522,7 +1522,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual (1, dependentServices.Length, "#C2");
                        Assert.AreEqual ("dmadmin", dependentServices [0].ServiceName, "#C3");
 
-                       // MSBUG: modifying MachineName does not cause cache to be cleared
+                       // modifying MachineName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.MachineName = "doesnotexist";
                        dependentServices = sc.DependentServices;
@@ -1536,21 +1536,21 @@ namespace MonoTests.System.ServiceProcess
                        Assert.IsNotNull (dependentServices, "#E1");
                        Assert.AreEqual (0, dependentServices.Length, "#E2");
 
-                       // MSBUG: modifying ServiceName does not cause cache to be cleared
+                       // modifying ServiceName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.ServiceName = "dmserver";
                        dependentServices = sc.DependentServices;
                        Assert.IsNotNull (dependentServices, "#F1");
                        Assert.AreEqual (0, dependentServices.Length, "#F2");
 
-                       // MSBUG: modifying DisplayName does not cause cache to be cleared
+                       // modifying DisplayName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.DisplayName = "Workstation";
                        dependentServices = sc.DependentServices;
                        Assert.IsNotNull (dependentServices, "#G1");
                        Assert.AreEqual (0, dependentServices.Length, "#G2");
 
-                       // MSBUG: modifying MachineName does not cause cache to be cleared
+                       // modifying MachineName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.MachineName = Environment.MachineName;
                        dependentServices = sc.DependentServices;
@@ -1565,7 +1565,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual ("RasAuto", dependentServices [0].ServiceName, "#I3");
                        Assert.AreEqual ("RasMan", dependentServices [1].ServiceName, "#I4");
 
-                       // MSBUG: modifying ServiceName does not cause cache to be cleared
+                       // modifying ServiceName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.ServiceName = "spooler";
                        dependentServices = sc.DependentServices;
@@ -1574,7 +1574,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual ("RasAuto", dependentServices [0].ServiceName, "#J4");
                        Assert.AreEqual ("RasMan", dependentServices [1].ServiceName, "#J5");
 
-                       // MSBUG: modifying DisplayName does not cause cache to be cleared
+                       // modifying DisplayName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.DisplayName = "Alerter";
                        dependentServices = sc.DependentServices;
@@ -1583,7 +1583,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual ("RasAuto", dependentServices [0].ServiceName, "#K3");
                        Assert.AreEqual ("RasMan", dependentServices [1].ServiceName, "#K4");
 
-                       // MSBUG: modifying MachineName does not cause cache to be cleared
+                       // modifying MachineName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.MachineName = Environment.MachineName;
                        dependentServices = sc.DependentServices;
@@ -4006,7 +4006,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual (1, servicesDependedOn.Length, "#A2");
                        Assert.AreEqual ("RPCSS", servicesDependedOn [0].ServiceName, "#A3");
 
-                       // MSBUG: modifying ServiceName does not cause cache to be cleared
+                       // modifying ServiceName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.ServiceName = "lanmanworkstation";
                        servicesDependedOn = sc.ServicesDependedOn;
@@ -4014,7 +4014,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual (1, servicesDependedOn.Length, "#B2");
                        Assert.AreEqual ("RPCSS", servicesDependedOn [0].ServiceName, "#B3");
 
-                       // MSBUG: modifying DisplayName does not cause cache to be cleared
+                       // modifying DisplayName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.DisplayName = "alerter";
                        servicesDependedOn = sc.ServicesDependedOn;
@@ -4022,7 +4022,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.AreEqual (1, servicesDependedOn.Length, "#C2");
                        Assert.AreEqual ("RPCSS", servicesDependedOn [0].ServiceName, "#C3");
 
-                       // MSBUG: modifying MachineName does not cause cache to be cleared
+                       // modifying MachineName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.MachineName = "doesnotexist";
                        servicesDependedOn = sc.ServicesDependedOn;
@@ -4036,21 +4036,21 @@ namespace MonoTests.System.ServiceProcess
                        Assert.IsNotNull (servicesDependedOn, "#E1");
                        Assert.AreEqual (0, servicesDependedOn.Length, "#E2");
 
-                       // MSBUG: modifying ServiceName does not cause cache to be cleared
+                       // modifying ServiceName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.ServiceName = "spooler";
                        servicesDependedOn = sc.ServicesDependedOn;
                        Assert.IsNotNull (servicesDependedOn, "#F1");
                        Assert.AreEqual (0, servicesDependedOn.Length, "#F2");
 
-                       // MSBUG: modifying DisplayName does not cause cache to be cleared
+                       // modifying DisplayName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.DisplayName = "Alerter";
                        servicesDependedOn = sc.ServicesDependedOn;
                        Assert.IsNotNull (servicesDependedOn, "#G1");
                        Assert.AreEqual (0, servicesDependedOn.Length, "#G2");
 
-                       // MSBUG: modifying MachineName does not cause cache to be cleared
+                       // modifying MachineName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.MachineName = Environment.MachineName;
                        servicesDependedOn = sc.ServicesDependedOn;
@@ -4067,7 +4067,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.IsTrue (ContainsService (servicesDependedOn, "PlugPlay"), "#I4");
                        Assert.IsTrue (ContainsService (servicesDependedOn, "DmServer"), "#I5");
 
-                       // MSBUG: modifying ServiceName does not cause cache to be cleared
+                       // modifying ServiceName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.ServiceName = "spooler";
                        servicesDependedOn = sc.ServicesDependedOn;
@@ -4078,7 +4078,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.IsTrue (ContainsService (servicesDependedOn, "PlugPlay"), "#J4");
                        Assert.IsTrue (ContainsService (servicesDependedOn, "DmServer"), "#J5");
 
-                       // MSBUG: modifying DisplayName does not cause cache to be cleared
+                       // modifying DisplayName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.DisplayName = "Alerter";
                        servicesDependedOn = sc.ServicesDependedOn;
@@ -4089,7 +4089,7 @@ namespace MonoTests.System.ServiceProcess
                        Assert.IsTrue (ContainsService (servicesDependedOn, "PlugPlay"), "#K4");
                        Assert.IsTrue (ContainsService (servicesDependedOn, "DmServer"), "#K5");
 
-                       // MSBUG: modifying MachineName does not cause cache to be cleared
+                       // modifying MachineName does not cause cache to be cleared:
                        // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=201762
                        sc.MachineName = Environment.MachineName;
                        servicesDependedOn = sc.ServicesDependedOn;