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