...

Source file src/context/x_test.go

Documentation: context

		 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  
		 5  package context_test
		 6  
		 7  import (
		 8  	. "context"
		 9  	"testing"
		10  )
		11  
		12  func TestBackground(t *testing.T)											{ XTestBackground(t) }
		13  func TestTODO(t *testing.T)														{ XTestTODO(t) }
		14  func TestWithCancel(t *testing.T)											{ XTestWithCancel(t) }
		15  func TestParentFinishesChild(t *testing.T)						 { XTestParentFinishesChild(t) }
		16  func TestChildFinishesFirst(t *testing.T)							{ XTestChildFinishesFirst(t) }
		17  func TestDeadline(t *testing.T)												{ XTestDeadline(t) }
		18  func TestTimeout(t *testing.T)												 { XTestTimeout(t) }
		19  func TestCanceledTimeout(t *testing.T)								 { XTestCanceledTimeout(t) }
		20  func TestValues(t *testing.T)													{ XTestValues(t) }
		21  func TestAllocs(t *testing.T)													{ XTestAllocs(t, testing.Short, testing.AllocsPerRun) }
		22  func TestSimultaneousCancels(t *testing.T)						 { XTestSimultaneousCancels(t) }
		23  func TestInterlockedCancels(t *testing.T)							{ XTestInterlockedCancels(t) }
		24  func TestLayersCancel(t *testing.T)										{ XTestLayersCancel(t) }
		25  func TestLayersTimeout(t *testing.T)									 { XTestLayersTimeout(t) }
		26  func TestCancelRemoves(t *testing.T)									 { XTestCancelRemoves(t) }
		27  func TestWithCancelCanceledParent(t *testing.T)				{ XTestWithCancelCanceledParent(t) }
		28  func TestWithValueChecksKey(t *testing.T)							{ XTestWithValueChecksKey(t) }
		29  func TestInvalidDerivedFail(t *testing.T)							{ XTestInvalidDerivedFail(t) }
		30  func TestDeadlineExceededSupportsTimeout(t *testing.T) { XTestDeadlineExceededSupportsTimeout(t) }
		31  func TestCustomContextGoroutines(t *testing.T)				 { XTestCustomContextGoroutines(t) }
		32  

View as plain text