The reconcile package is used for DOM reconcilation in Isomorphic Go web applications.

conntest_go16.go 745B

123456789101112131415161718192021222324
  1. // Copyright 2016 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build !go1.7
  5. package nettest
  6. import "testing"
  7. func testConn(t *testing.T, mp MakePipe) {
  8. // Avoid using subtests on Go 1.6 and below.
  9. timeoutWrapper(t, mp, testBasicIO)
  10. timeoutWrapper(t, mp, testPingPong)
  11. timeoutWrapper(t, mp, testRacyRead)
  12. timeoutWrapper(t, mp, testRacyWrite)
  13. timeoutWrapper(t, mp, testReadTimeout)
  14. timeoutWrapper(t, mp, testWriteTimeout)
  15. timeoutWrapper(t, mp, testPastTimeout)
  16. timeoutWrapper(t, mp, testPresentTimeout)
  17. timeoutWrapper(t, mp, testFutureTimeout)
  18. timeoutWrapper(t, mp, testCloseTimeout)
  19. timeoutWrapper(t, mp, testConcurrentMethods)
  20. }