github.com/varialus/godfly@v0.0.0-20130904042352-1934f9f095ab/misc/cgo/test/cgo_test.go (about) 1 // Copyright 2011 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 cgotest 6 7 import "testing" 8 9 // The actual test functions are in non-_test.go files 10 // so that they can use cgo (import "C"). 11 // These wrappers are here for gotest to find. 12 13 func TestAlign(t *testing.T) { testAlign(t) } 14 func TestConst(t *testing.T) { testConst(t) } 15 func TestEnum(t *testing.T) { testEnum(t) } 16 func TestAtol(t *testing.T) { testAtol(t) } 17 func TestErrno(t *testing.T) { testErrno(t) } 18 func TestMultipleAssign(t *testing.T) { testMultipleAssign(t) } 19 func TestUnsignedInt(t *testing.T) { testUnsignedInt(t) } 20 func TestCallback(t *testing.T) { testCallback(t) } 21 func TestCallbackGC(t *testing.T) { testCallbackGC(t) } 22 func TestCallbackPanic(t *testing.T) { testCallbackPanic(t) } 23 func TestCallbackPanicLoop(t *testing.T) { testCallbackPanicLoop(t) } 24 func TestCallbackPanicLocked(t *testing.T) { testCallbackPanicLocked(t) } 25 func TestZeroArgCallback(t *testing.T) { testZeroArgCallback(t) } 26 func TestBlocking(t *testing.T) { testBlocking(t) } 27 func Test1328(t *testing.T) { test1328(t) } 28 func TestParallelSleep(t *testing.T) { testParallelSleep(t) } 29 func TestSetEnv(t *testing.T) { testSetEnv(t) } 30 func TestHelpers(t *testing.T) { testHelpers(t) } 31 func TestLibgcc(t *testing.T) { testLibgcc(t) } 32 func Test1635(t *testing.T) { test1635(t) } 33 func TestPrintf(t *testing.T) { testPrintf(t) } 34 func Test4029(t *testing.T) { test4029(t) } 35 func TestBoolAlign(t *testing.T) { testBoolAlign(t) } 36 func Test3729(t *testing.T) { test3729(t) } 37 func Test3775(t *testing.T) { test3775(t) } 38 func TestCthread(t *testing.T) { testCthread(t) } 39 func TestCallbackCallers(t *testing.T) { testCallbackCallers(t) } 40 func Test5227(t *testing.T) { test5227(t) } 41 func TestCflags(t *testing.T) { testCflags(t) } 42 func Test5337(t *testing.T) { test5337(t) } 43 func Test5548(t *testing.T) { test5548(t) } 44 func Test5603(t *testing.T) { test5603(t) } 45 func Test3250(t *testing.T) { test3250(t) } 46 func TestCallbackStack(t *testing.T) { testCallbackStack(t) } 47 func TestFpVar(t *testing.T) { testFpVar(t) } 48 49 func BenchmarkCgoCall(b *testing.B) { benchCgoCall(b) }