Commit Graph
5 Commits
Author SHA1 Message Date
Marek Safar 1eb9ba45c4 [system] Fixes failing test 2014-09-11 10:31:26 +02:00
Alexander Köplinger 29abf6790d [System] Fixed Diagnostics.Switch ctor behavior for null parameters
Passing null to the displayName or description ctor parameter on MS.NET makes them equal to an empty string.
Fixed the Mono behavior to match .NET.
2014-09-10 19:09:34 +02:00
ramtin 6cb9a04fca Unit Tests for SourceSwitch. Counting the number of events traced based on the Trace Level 2014-09-09 15:07:14 -07:00
Marek Safar f0ad346fb6 Mobile tests update 2013-02-22 21:41:19 +01:00
Atsushi Eno e9156bb4b8 2007-01-18 Atsushi Enomoto <[email protected]>
* System.dll.sources: added new sources:
	  TraceSource.cs, SourceLevels.cs, CorrelationManager.cs,
	  TraceEventCache.cs, TraceEventType.cs and SourceSwitch.cs.
	* System_test.dll.sources: added new tests:
	  TraceSourceTest.cs and SourceSwitchTest.cs.

	* Switch.cs : added missing .ctor(), Attributes, Value, 
	  GetSupportedAttributes() and OnValueChanged().
	* DiagnosticsConfigurationHandler.cs : added some hacky handler for
	  new "sources" element. Don't wrap another ConfigurationException.
	* TraceListener.cs : added missing trace methods.
	* TraceSource.cs, SourceLevels.cs, CorrelationManager.cs,
	  TraceEventCache.cs, TraceEventType.cs, SourceSwitch.cs:
	  added missing 2.0 stuff, mostly just stubs.

	* TraceSourceTest.cs, SourceSwitchTest.cs : new tests.
	* SwitchesTest.cs : added test for GetSupportedAttributes().


svn path=/trunk/mcs/; revision=71238
2007-01-18 04:17:22 +00:00