Source file src/cmd/cgo/internal/test/cgo_test.go

     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  //go:build cgo
     6  
     7  package cgotest
     8  
     9  import "testing"
    10  
    11  // The actual test functions are in non-_test.go files
    12  // so that they can use cgo (import "C").
    13  // These wrappers are here for gotest to find.
    14  
    15  func Test1328(t *testing.T)                  { test1328(t) }
    16  func Test1560(t *testing.T)                  { test1560(t) }
    17  func Test1635(t *testing.T)                  { test1635(t) }
    18  func Test3250(t *testing.T)                  { test3250(t) }
    19  func Test3729(t *testing.T)                  { test3729(t) }
    20  func Test3775(t *testing.T)                  { test3775(t) }
    21  func Test4029(t *testing.T)                  { test4029(t) }
    22  func Test4339(t *testing.T)                  { test4339(t) }
    23  func Test5227(t *testing.T)                  { test5227(t) }
    24  func Test5242(t *testing.T)                  { test5242(t) }
    25  func Test5337(t *testing.T)                  { test5337(t) }
    26  func Test5548(t *testing.T)                  { test5548(t) }
    27  func Test5603(t *testing.T)                  { test5603(t) }
    28  func Test5986(t *testing.T)                  { test5986(t) }
    29  func Test6390(t *testing.T)                  { test6390(t) }
    30  func Test6833(t *testing.T)                  { test6833(t) }
    31  func Test6907(t *testing.T)                  { test6907(t) }
    32  func Test6907Go(t *testing.T)                { test6907Go(t) }
    33  func Test7560(t *testing.T)                  { test7560(t) }
    34  func Test7665(t *testing.T)                  { test7665(t) }
    35  func Test7978(t *testing.T)                  { test7978(t) }
    36  func Test8092(t *testing.T)                  { test8092(t) }
    37  func Test8517(t *testing.T)                  { test8517(t) }
    38  func Test8694(t *testing.T)                  { test8694(t) }
    39  func Test8756(t *testing.T)                  { test8756(t) }
    40  func Test8811(t *testing.T)                  { test8811(t) }
    41  func Test9026(t *testing.T)                  { test9026(t) }
    42  func Test9510(t *testing.T)                  { test9510(t) }
    43  func Test9557(t *testing.T)                  { test9557(t) }
    44  func Test10303(t *testing.T)                 { test10303(t, 10) }
    45  func Test11925(t *testing.T)                 { test11925(t) }
    46  func Test12030(t *testing.T)                 { test12030(t) }
    47  func Test14838(t *testing.T)                 { test14838(t) }
    48  func Test17065(t *testing.T)                 { test17065(t) }
    49  func Test17537(t *testing.T)                 { test17537(t) }
    50  func Test18126(t *testing.T)                 { test18126(t) }
    51  func Test18720(t *testing.T)                 { test18720(t) }
    52  func Test20129(t *testing.T)                 { test20129(t) }
    53  func Test20266(t *testing.T)                 { test20266(t) }
    54  func Test20369(t *testing.T)                 { test20369(t) }
    55  func Test20910(t *testing.T)                 { test20910(t) }
    56  func Test21708(t *testing.T)                 { test21708(t) }
    57  func Test21809(t *testing.T)                 { test21809(t) }
    58  func Test21897(t *testing.T)                 { test21897(t) }
    59  func Test22906(t *testing.T)                 { test22906(t) }
    60  func Test23356(t *testing.T)                 { test23356(t) }
    61  func Test24206(t *testing.T)                 { test24206(t) }
    62  func Test25143(t *testing.T)                 { test25143(t) }
    63  func Test26066(t *testing.T)                 { test26066(t) }
    64  func Test26213(t *testing.T)                 { test26213(t) }
    65  func Test27660(t *testing.T)                 { test27660(t) }
    66  func Test28896(t *testing.T)                 { test28896(t) }
    67  func Test30065(t *testing.T)                 { test30065(t) }
    68  func Test32579(t *testing.T)                 { test32579(t) }
    69  func Test31891(t *testing.T)                 { test31891(t) }
    70  func Test42018(t *testing.T)                 { test42018(t) }
    71  func Test45451(t *testing.T)                 { test45451(t) }
    72  func Test49633(t *testing.T)                 { test49633(t) }
    73  func Test69086(t *testing.T)                 { test69086(t) }
    74  func TestAlign(t *testing.T)                 { testAlign(t) }
    75  func TestAtol(t *testing.T)                  { testAtol(t) }
    76  func TestBlocking(t *testing.T)              { testBlocking(t) }
    77  func TestBoolAlign(t *testing.T)             { testBoolAlign(t) }
    78  func TestCallGoWithString(t *testing.T)      { testCallGoWithString(t) }
    79  func TestCallback(t *testing.T)              { testCallback(t) }
    80  func TestCallbackCallers(t *testing.T)       { testCallbackCallers(t) }
    81  func TestCallbackGC(t *testing.T)            { testCallbackGC(t) }
    82  func TestCallbackPanic(t *testing.T)         { testCallbackPanic(t) }
    83  func TestCallbackPanicLocked(t *testing.T)   { testCallbackPanicLocked(t) }
    84  func TestCallbackPanicLoop(t *testing.T)     { testCallbackPanicLoop(t) }
    85  func TestCallbackStack(t *testing.T)         { testCallbackStack(t) }
    86  func TestCflags(t *testing.T)                { testCflags(t) }
    87  func TestCheckConst(t *testing.T)            { testCheckConst(t) }
    88  func TestConst(t *testing.T)                 { testConst(t) }
    89  func TestCthread(t *testing.T)               { testCthread(t) }
    90  func TestEnum(t *testing.T)                  { testEnum(t) }
    91  func TestNamedEnum(t *testing.T)             { testNamedEnum(t) }
    92  func TestCastToEnum(t *testing.T)            { testCastToEnum(t) }
    93  func TestErrno(t *testing.T)                 { testErrno(t) }
    94  func TestFpVar(t *testing.T)                 { testFpVar(t) }
    95  func TestGCC68255(t *testing.T)              { testGCC68255(t) }
    96  func TestHandle(t *testing.T)                { testHandle(t) }
    97  func TestHelpers(t *testing.T)               { testHelpers(t) }
    98  func TestLibgcc(t *testing.T)                { testLibgcc(t) }
    99  func TestMultipleAssign(t *testing.T)        { testMultipleAssign(t) }
   100  func TestNaming(t *testing.T)                { testNaming(t) }
   101  func TestPanicFromC(t *testing.T)            { testPanicFromC(t) }
   102  func TestPrintf(t *testing.T)                { testPrintf(t) }
   103  func TestReturnAfterGrow(t *testing.T)       { testReturnAfterGrow(t) }
   104  func TestReturnAfterGrowFromGo(t *testing.T) { testReturnAfterGrowFromGo(t) }
   105  func TestSetEnv(t *testing.T)                { testSetEnv(t) }
   106  func TestThreadLock(t *testing.T)            { testThreadLockFunc(t) }
   107  func TestUnsignedInt(t *testing.T)           { testUnsignedInt(t) }
   108  func TestZeroArgCallback(t *testing.T)       { testZeroArgCallback(t) }
   109  
   110  func BenchmarkCgoCall(b *testing.B)      { benchCgoCall(b) }
   111  func BenchmarkGoString(b *testing.B)     { benchGoString(b) }
   112  func BenchmarkCGoCallback(b *testing.B)  { benchCallback(b) }
   113  func BenchmarkCGoInCThread(b *testing.B) { benchCGoInCthread(b) }
   114  

View as plain text