AllTests.cs 958 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // MonoTests.System.Net.Sockets.AllTests, System.dll
  3. //
  4. // Author:
  5. // Lawrence Pit <[email protected]>
  6. //
  7. using System;
  8. using NUnit.Framework;
  9. namespace MonoTests.System.Net.Sockets {
  10. /// <summary>
  11. /// Combines all available unit tests into one test suite.
  12. /// </summary>
  13. public class AllTests : TestCase {
  14. public AllTests (string name) : base (name) {}
  15. public static ITest Suite {
  16. get
  17. {
  18. TestSuite suite = new TestSuite ();
  19. #if NETWORKTEST
  20. suite.AddTest (TcpListenerTest.Suite);
  21. suite.AddTest (TcpClientTest.Suite);
  22. //suite.AddTest (UdpClientTest.Suite);
  23. #endif
  24. return suite;
  25. }
  26. }
  27. }
  28. }