You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,299 +0,0 @@
|
||||
2009-06-26 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* SwitchesTest.cs, TraceTest.cs: Upgrade to new NUnit style.
|
||||
|
||||
2009-02-24 Andrés G. Aragoneses <aaragoneses@novell.com>
|
||||
|
||||
* Process.cs: New tests for bug 477943.
|
||||
|
||||
2008-12-30 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* ProcessTest.cs: Import System.Threading namespace.
|
||||
|
||||
2008-12-25 Miguel de Icaza <miguel@novell.com>
|
||||
|
||||
* ProcessTest.cs: Created a test case from bug 459450.
|
||||
|
||||
2008-10-18 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventLogTest.cs: Fixed compiler warning.
|
||||
|
||||
2008-08-02 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* TraceListenerTest.cs: Added test for GetSupportedAttributes.
|
||||
|
||||
2008-06-21 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* ProcessTest.cs (Start_UseShellExecuteWithEmptyUserName):
|
||||
add test for bug #350543.
|
||||
|
||||
2008-06-11 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* FileVersionInfoTest.cs : disabled all English-Windows-dependent
|
||||
tests. They all fail on Windows whose language is not English.
|
||||
|
||||
In general, be careful to compare language-dependent strings.
|
||||
|
||||
2008-05-02 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* TraceTest.cs: Add a test for #385666.
|
||||
|
||||
2008-04-18 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* FileVerionInfoTest.cs: Enabled test for bug #374600.
|
||||
|
||||
2008-03-29 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* FileVersionInfoTest.cs: Enabled tests that previously failed.
|
||||
Increase code coverage.
|
||||
|
||||
2008-01-23 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* FileVersionInfoTest.cs: Added set of (mostly notworking) tests for
|
||||
FileVersionInfo, and indirectly also for AssemblyBuilder.
|
||||
|
||||
2007-12-22 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* ProcessTest.cs: Added tests for PriorityClass.
|
||||
|
||||
2007-12-04 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* ProcessTest.cs: Added tests for Start overloads.
|
||||
|
||||
2007-11-02 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* ProcessTest.cs (TestRedirectedOutputIsAsync):
|
||||
Comment out the failing asserts until I've found out why they are
|
||||
failing.
|
||||
|
||||
2007-11-02 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* ProcessTest.cs (TestRedirectedOutputIsAsync):
|
||||
Wait for the pending async operation.
|
||||
|
||||
2007-11-02 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* ProcessTest.cs (TestRedirectedOutputIsAsync):
|
||||
Instrument to see why the build bots are failing.
|
||||
|
||||
2007-11-01 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* ProcessTest.cs (TestRedirectedOutputIsAsync):
|
||||
Replace the generated script with a simple one (command line based).
|
||||
Add additional assert for Process.ExitCode == 0.
|
||||
|
||||
2007-10-30 Robert Jordan <robertj@gmx.net>
|
||||
|
||||
* ProcessTest.cs: Add tests for bug #319829.
|
||||
|
||||
2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* SwitchesTest.cs: Fixed compiler warning.
|
||||
|
||||
2007-09-22 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs: No longer derive from
|
||||
deprecated Assertion class. Code formatting. On 2.0 profile, allow
|
||||
non-integral values for switches.
|
||||
|
||||
2007-08-14 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventLogTest.cs: Added tests for validity of machine name. Added
|
||||
tests for case-insensitivity of Source, Log and MachineName.
|
||||
|
||||
2007-08-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* ProcessStartInfoTest.cs: tests for Standard[Output|Error]Encoding.
|
||||
|
||||
2007-07-11 Ankit Jain <jankit@novell.com>
|
||||
|
||||
* ProcessStartInfoTest.cs: New.
|
||||
|
||||
2007-05-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DelimitedListTraceListenerTest.cs : new test.
|
||||
|
||||
2007-05-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SwitchesTest.cs : added tests for BooleanSwitch Value.
|
||||
* TraceListenerTest.cs : added test for TraceOutputOptions.
|
||||
|
||||
2007-05-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs : in 2.0 configuration item
|
||||
listeners/add/@type is optional (for named shared listener support).
|
||||
|
||||
2007-04-19 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TraceListenerTest.cs : new test.
|
||||
* XmlWriterTraceListenerTest.cs : new test (but disabled since they
|
||||
are too instance dependent).
|
||||
|
||||
2007-01-18 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TraceSourceTest.cs, SourceSwitchTest.cs : new tests.
|
||||
* SwitchesTest.cs : added test for GetSupportedAttributes().
|
||||
|
||||
2007-01-02 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* ProcessTest.cs: Added null check tests.
|
||||
|
||||
2006-08-27 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventLogTest.cs: Added tests for log name validation in
|
||||
CreateEventSource.
|
||||
|
||||
2006-08-26 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventLogTest.cs: Use a dedicated temp directory for testing the
|
||||
local file implementation (2.0 only).
|
||||
|
||||
2006-08-20 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventInstanceTest.cs: Added tests for EventInstance.
|
||||
|
||||
2006-08-20 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventLogTest.cs: Enable tests. On 2.0 profile, set MONO_EVENTLOG_TYPE
|
||||
environment variable to force local file implementation to be used for
|
||||
unit tests. This avoids permission issues for the unit tests, and
|
||||
allows us to clean up the files/directory that are created during the
|
||||
test run. Skip tests that cannot pass when the null implementation is
|
||||
active (on 1.0 profile). Added tests for all WriteEntry and WriteEvent
|
||||
(2.0 only) overloads, Clear, Entries, Exists and LogNameFromSourceName.
|
||||
|
||||
2006-08-11 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventLogTest.cs: new test, currently not enabled due to UnixRegistry
|
||||
bug which still needs to be tracked, and which would cause temporary
|
||||
registry entries to be left behind by running tests.
|
||||
|
||||
2006-08-09 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EventSourceCreationDataTest.cs: new test.
|
||||
|
||||
2006-05-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SwitchesTest.cs : Ignore NewSwitch under 2.0 as it fails under
|
||||
.NET.
|
||||
|
||||
2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* StopwatchTest.cs : new test.
|
||||
|
||||
2005-09-22 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EventLogPermissionAttributeTest.cs: Removed *Choice security actions
|
||||
* PerformanceCounterPermissionAttributeTest.cs: Removed *Choice
|
||||
security actions.
|
||||
|
||||
2005-06-10 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* TraceTest.cs: Fixed test failure.
|
||||
|
||||
2005-05-31 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EventLogPermissionAttributeTest.cs: Character #133 is refused into
|
||||
machine names for 2.0.
|
||||
* EventLogPermissionTest.csFx 2.0 now has better arguments checking
|
||||
(i.e. FDBK15131 was fixed).
|
||||
* PerformanceCounterPermissionAttributeTest.cs
|
||||
* PerformanceCounterPermissionTest.cs: Fx 2.0 now has better arguments
|
||||
checking (i.e. FDBK15131 was fixed).
|
||||
|
||||
2005-02-22 Jonathan Pryor <jonpryor@vt.edu>
|
||||
|
||||
* TraceTest.cs: Add multi-thread test for #69964.
|
||||
|
||||
2005-01-19 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EventLogPermissionTest.cs: Now works on both Fx 1.1 / 2.0.
|
||||
* PerformanceCounterPermissionTest.cs: Now works on both Fx 1.1 / 2.0.
|
||||
|
||||
2005-01-18 Jonathan Pryor <jonpryor@vt.edu>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs: .NET 1.1 requires that the value
|
||||
attribute be a numeric value; check for that and update the success test
|
||||
so that they'll actually pass.
|
||||
* SwitchesTest.cs: TestNewSwitch reads "custom-switch" now, and the switches
|
||||
value is now "42", not "0". Remove warning about unused variable.
|
||||
|
||||
2005-01-17 Jonathan Pryor <jonpryor@vt.edu>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs: .NET 1.1 doesn't permit <add/>
|
||||
elements without a value attribute. Assert the same under Mono.
|
||||
|
||||
2005-01-17 Jonathan Pryor <jonpryor@vt.edu>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs: Don't ignore tests, instead mark
|
||||
them as [Category ("NotDotNet")]; Fix the TraceTag_Listeners example (it
|
||||
was passing invalid XML in a "valid" test).
|
||||
|
||||
2005-01-08 Nick Drochak <ndrochak@ieee.org>
|
||||
|
||||
* EventLogPermissionTest.cs
|
||||
* PerformanceCounterPermissionTest.cs: Make tests pass on MS.NET.
|
||||
|
||||
2004-09-11 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EventLogPermissionTest.cs: New. Unit tests for EventLogPermission.
|
||||
* PerformanceCounterPermissionTest.cs: New. Unit tests for
|
||||
PerformanceCounterPermission.
|
||||
|
||||
2004-09-10 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* EventLogPermissionAttributeTest.cs: New. Unit tests for
|
||||
EventLogPermissionAttribute.
|
||||
* PerformanceCounterPermissionAttributeTest.cs: New. Unit tests for
|
||||
PerformanceCounterPermissionAttribute.
|
||||
|
||||
2004-02-05 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs: Ignore tests using classes not
|
||||
meant to be used directly.
|
||||
|
||||
2003-12-30 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs: Inherit from Assertion to
|
||||
make it a bit simpler.
|
||||
* SwitchesTest.cs: Make the tests pass on .NET 1.1
|
||||
|
||||
2003-03-25 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* DiagnosticsConfigurationHandlerTest.cs: Fix compiler warnings
|
||||
|
||||
2002-12-20 Jonathan Pryor <jonpryor@vt.edu>
|
||||
|
||||
* AllTests.cs: Add new tests
|
||||
* SwitchesTest.cs: new file to test switches
|
||||
* DiagnosticsConfigurationHandlerTest.cs: new file to test
|
||||
DiagnosticsConfigurationHandler
|
||||
* TraceTest.cs: Make sure that IndentLevel and IndentSize are set
|
||||
appropriately before testing output.
|
||||
|
||||
2002-09-23 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* TraceTest.cs: Default level and size are 0 & 4, respectively.
|
||||
|
||||
2002-09-19 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* TraceTest.cs: Clear list of listeners before each test.
|
||||
|
||||
2002-09-17 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* TraceTest.cs: Remove extraneous Console.WriteLine().
|
||||
|
||||
2002-06-16 Jonathan Pryor <jonpryor@vt.edu>
|
||||
* TraceTest.cs: Added additional test cases.
|
||||
|
||||
2002-04-07 Jonathan Pryor <jonpryor@vt.edu>
|
||||
|
||||
* TraceTest.cs: Removed extraneous output; renamed test case so that NUnit
|
||||
would find it.
|
||||
|
||||
2002-03-10 Jonathan Pryor <jonpryor@vt.edu>
|
||||
|
||||
* Initial creation of System.Diagnostics test directory
|
||||
* AllTests.cs: file added
|
||||
* TraceTest.cs: Test System.Diagnostics.Trace class
|
||||
|
@@ -855,9 +855,9 @@ namespace MonoTests.System.Diagnostics
|
||||
|
||||
p.EnableRaisingEvents = false;
|
||||
|
||||
var exitedCalledCounter = 0;
|
||||
ManualResetEvent mre = new ManualResetEvent (false);
|
||||
p.Exited += (object sender, EventArgs e) => {
|
||||
exitedCalledCounter++;
|
||||
mre.Set ();
|
||||
};
|
||||
|
||||
p.Start ();
|
||||
@@ -865,7 +865,7 @@ namespace MonoTests.System.Diagnostics
|
||||
p.BeginOutputReadLine ();
|
||||
p.WaitForExit ();
|
||||
|
||||
Assert.AreEqual (0, exitedCalledCounter);
|
||||
Assert.IsFalse (mre.WaitOne (1000));
|
||||
}
|
||||
|
||||
ProcessStartInfo GetCrossPlatformStartInfo ()
|
||||
@@ -881,6 +881,20 @@ namespace MonoTests.System.Diagnostics
|
||||
} else
|
||||
return new ProcessStartInfo ("help", "");
|
||||
}
|
||||
|
||||
ProcessStartInfo GetEchoCrossPlatformStartInfo ()
|
||||
{
|
||||
if (RunningOnUnix) {
|
||||
string path;
|
||||
#if MONODROID
|
||||
path = "/system/bin/cat";
|
||||
#else
|
||||
path = "/bin/cat";
|
||||
#endif
|
||||
return new ProcessStartInfo (path);
|
||||
} else
|
||||
return new ProcessStartInfo ("type");
|
||||
}
|
||||
#endif // MONO_FEATURE_PROCESS_START
|
||||
|
||||
[Test]
|
||||
@@ -972,14 +986,25 @@ namespace MonoTests.System.Diagnostics
|
||||
[NUnit.Framework.Category ("MobileNotWorking")]
|
||||
public void StandardInputWrite ()
|
||||
{
|
||||
var psi = GetCrossPlatformStartInfo ();
|
||||
var psi = GetEchoCrossPlatformStartInfo ();
|
||||
psi.RedirectStandardInput = true;
|
||||
psi.RedirectStandardOutput = true;
|
||||
psi.UseShellExecute = false;
|
||||
|
||||
using (var p = Process.Start (psi)) {
|
||||
for (int i = 0; i < 1024 * 9; ++i)
|
||||
// drain stdout
|
||||
p.OutputDataReceived += (s, e) => {};
|
||||
p.BeginOutputReadLine ();
|
||||
|
||||
for (int i = 0; i < 1024 * 9; ++i) {
|
||||
p.StandardInput.Write ('x');
|
||||
if (i > 0 && i % 128 == 0)
|
||||
p.StandardInput.WriteLine ();
|
||||
}
|
||||
|
||||
p.StandardInput.Close ();
|
||||
|
||||
p.WaitForExit ();
|
||||
}
|
||||
}
|
||||
#endif // MONO_FEATURE_PROCESS_START
|
||||
|
Reference in New Issue
Block a user