Commit Graph
11 Commits
Author SHA1 Message Date
Alexander Köplinger ddcfc42070 Cleanup namespace names of class lib tests to follow convention
A couple of the test suites didn't follow the MonoTests.<namespace of class under test> naming convention for the namespace.
2014-09-04 18:55:58 +02:00
Alexander Köplinger b0032294da [Test] Cleaned up how a bunch of tests were ignored
Previously, many tests just had a return statement when the test shouldn't
be executed (e.g. Unix-only). This made it look like the test was successful
when in fact it wasn't executed at all.
Assert.Ignore() is now used instead to correctly exclude those tests.
2014-02-23 19:44:21 +01:00
Andres G. Aragoneses 3654ed4da0 [System.ServiceProcess.ServiceController] Remove NET_2_0 ifdefs
Also dropping ONLY_1_1.
2013-04-25 14:23:41 +01:00
Andres G. Aragoneses 0ca3f6ddff [System.ServiceProcess.ServiceBase]: Implement Stop() and ExitCode
Stop() wasn't calling OnStop, so a unit test was added, its basic
functionality was implemented, and MonoTODO is removed.

ExitCode now also stops throwing NIE. A unit test is added to confirm
that ServiceBase class doesn't modify it across runs. This property will
be useful for my next commit in mono-service.cs.
2013-04-25 14:20:33 +01:00
Miguel de Icaza 8e07acf772 Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
 

svn path=/trunk/mcs/; revision=121711
2008-12-17 17:56:25 +00:00
Gert Driesen f99453bec1 * ServiceControllerTest.cs: Modifying ServiceService, DisplayName
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
2006-10-07 11:59:34 +00:00
Gert Driesen d90d4b0cbe * ServiceControllerPermissionTest.cs: Set eol-style to native. Fixed
warning and improved Union_Null test.
* ServiceControllerPermissionAttributeTest.cs: Set eol-style to native.
Fixed warning.
* ServiceControllerTest.cs: Added unit tests for win32 implementation
of ServiceController.
* ServiceControllerPermissionEntryCollection.cs: Set eol-style to
native.
* ServiceAccount.cs: Set eol-style to native.
* ServiceControllerPermission.cs: Set eol-style to native.
* ServiceProcessInstaller.cs: Set eol-style to native.
* ServiceInstaller.cs: API compatibility fixes. Coding guidelines
fixes. Set eol-style to native.
* PowerBroadcastStatus.cs: Removed Serializable attribute. Coding
guidelines fixes. Set eol-style to native.
* ServiceStartMode.cs: Removed Serializable attribute. Coding
guidelines fixes. Set eol-style to native.
* ServiceProcessDescriptionAttribute.cs: Removed Serializable
 attribute. Set eol-style to native.
* ServiceBase.cs: Set eol-style to native.
* ServiceControllerPermissionAccess.cs: Removed Serializable
attribute. Coding guidelines fixes. Set eol-style to native.
* ServiceControllerPermissionAccess.cs: Set eol-style to native.
* ServiceControllerPermissionEntry.cs: Set eol-style to native.
* ServiceControllerPermissionAttribute.cs: Set eol-style to native.
* ServiceType.cs: Removed Serializable attribute. Coding guidelines
fixes. Set eol-style to native.
* ServiceController.cs: API compatibility fixes. Added missing
MonoTODO's. Coding guidelines fixes. Set eol-style to native.
Provides an implementation for Win32.
* TimeoutException.cs: Set eol-style to native.
* ServiceControllerStatus.cs: Removed Serializable attribute.
Coding guidelines fixes. Set eol-style to native.
* UnixServiceController.cs: Dummy implementation for unix. Always
throws NotImplementedException.
* Win32ServiceController.cs: Win32 implementation. Built as a wrapper
for the Win32 Service API.
* Makefile: Treat warnings as error. Ignore no warnings.
* System.ServiceProcess.dll.sources: Added ServiceControllerImpl.cs,
UnixServiceController.cs and Win32ServiceController.cs.
* System.ServiceProcess_test.dll.sources: Added
ServiceControllerTest.cs.

svn path=/trunk/mcs/; revision=65422
2006-09-14 17:55:15 +00:00
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Sebastien Pouliot 2cbecc7d9b 2005-09-22 Sebastien Pouliot <[email protected]>
* ServiceControllerPermissionAttributeTest.cs: Removed *Choice 
	security actions.


svn path=/trunk/mcs/; revision=50475
2005-09-22 13:29:42 +00:00
Sebastien Pouliot af23d1cfe9 2005-05-31 Sebastien Pouliot <[email protected]>
* ServiceControllerPermissionAttributeTest.cs: Character #133 isn't
	valid in machine names for 2.0. An empt service name is acceptable 
	before 2.0.
	* ServiceControllerPermissionTest.cs: 2.0 has better parameters
	checking (since FDBK15131 was fixed).


svn path=/trunk/mcs/; revision=45258
2005-05-31 11:54:37 +00:00
Sebastien Pouliot fb44a8523a 2004-09-11 Sebastien Pouliot <[email protected]>
* ServiceControllerPermissionAttributeTest.cs: New. Unit tests for
	ServiceControllerPermissionAttribute class.
	* ServiceControllerPermissionTest.cs: New. Unit tests for Service
	ControllerPermission class.

svn path=/trunk/mcs/; revision=33747
2004-09-11 15:01:48 +00:00