Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

proto_helpers.py 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright (c) Twisted Matrix Laboratories.
  2. # See LICENSE for details.
  3. """
  4. Assorted functionality which is commonly useful when writing unit tests.
  5. This module has been deprecated, please use twisted.internet.testing
  6. instead.
  7. """
  8. from twisted.internet import testing
  9. __all__ = [
  10. "AccumulatingProtocol",
  11. "LineSendingProtocol",
  12. "FakeDatagramTransport",
  13. "StringTransport",
  14. "StringTransportWithDisconnection",
  15. "StringIOWithoutClosing",
  16. "_FakeConnector",
  17. "_FakePort",
  18. "MemoryReactor",
  19. "MemoryReactorClock",
  20. "RaisingMemoryReactor",
  21. "NonStreamingProducer",
  22. "waitUntilAllDisconnected",
  23. "EventLoggingObserver",
  24. ]
  25. AccumulatingProtocol = testing.AccumulatingProtocol
  26. LineSendingProtocol = testing.LineSendingProtocol
  27. FakeDatagramTransport = testing.FakeDatagramTransport
  28. StringTransport = testing.StringTransport
  29. StringTransportWithDisconnection = testing.StringTransportWithDisconnection
  30. StringIOWithoutClosing = testing.StringIOWithoutClosing
  31. _FakeConnector = testing._FakeConnector
  32. _FakePort = testing._FakePort
  33. MemoryReactor = testing.MemoryReactor
  34. MemoryReactorClock = testing.MemoryReactorClock
  35. RaisingMemoryReactor = testing.RaisingMemoryReactor
  36. NonStreamingProducer = testing.NonStreamingProducer
  37. waitUntilAllDisconnected = testing.waitUntilAllDisconnected
  38. EventLoggingObserver = testing.EventLoggingObserver