Home
last modified time | relevance | path

Searched refs:testBody (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/dports/science/gromacs/gromacs-2021.4/src/testutils/
H A Dmpitest.cpp82 const std::function<void()>& testBody = *reinterpret_cast<const std::function<void()>*>(data); in threadStartFunc() local
85 testBody(); in threadStartFunc()
91 bool startThreads(std::function<void()>* testBody) in startThreads() argument
93 int ret = tMPI_Init_fn(TRUE, g_numThreads, TMPI_AFFINITY_NONE, threadStartFunc, testBody); in startThreads()
110 bool threadMpiTestRunner(std::function<void()> testBody) in threadMpiTestRunner() argument
123 if (!startThreads(&testBody)) in threadMpiTestRunner()
129 testBody(); in threadMpiTestRunner()
/dports/www/grafana8/grafana-8.3.6/vendor/go.opentelemetry.io/collector/internal/middleware/
H A Dcompression_test.go35 testBody := []byte("uncompressed_text")
36 compressedBody, _ := compressGzip(testBody)
46 reqBody: testBody,
76 reqBody := bytes.NewBuffer(testBody)
97 testBody := []byte("uncompressed_text")
109 return bytes.NewBuffer(testBody), nil
117 return compressGzip(testBody)
125 return compressZlib(testBody)
133 return bytes.NewBuffer(testBody), nil
143 return bytes.NewBuffer(testBody), nil
[all …]
/dports/devel/log4cxx/apache-log4cxx-0.11.0/src/test/cpp/helpers/
H A Dstringtokenizertestcase.cpp94 void testBody(const LogString & src, const LogString & delim) in LOGUNIT_CLASS()
121 testBody(src, delim); in LOGUNIT_CLASS()
128 testBody(src, delim); in LOGUNIT_CLASS()
135 testBody(src, delim); in LOGUNIT_CLASS()
142 testBody(src, delim); in LOGUNIT_CLASS()
149 testBody(src, delim); in LOGUNIT_CLASS()
156 testBody(src, delim); in LOGUNIT_CLASS()
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/txn/
H A DLockManagerTest.java205 public void testBody() { in testMultipleReaders()
226 public void testBody() { in testMultipleReaders()
247 public void testBody() { in testMultipleReaders()
290 public void testBody() { in testMultipleReadersSingleWrite1()
314 public void testBody() { in testMultipleReadersSingleWrite1()
337 public void testBody() { in testMultipleReadersSingleWrite1()
379 public void testBody() { in testMultipleReadersSingleWrite2()
399 public void testBody() { in testMultipleReadersSingleWrite2()
419 public void testBody() { in testMultipleReadersSingleWrite2()
442 public void testBody() { in testMultipleReadersSingleWrite2()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/
H A DTestInstance.java148 TestInstance(ThrowingRunnable testBody) {
151 this.testBody = (unused) -> testBody.run();
159 TestInstance(MethodCall testBody, List<ThrowingConsumer> beforeActions,
163 this.testBody = testBody;
166 this.testDesc = testBody.createDescription();
218 Object testInstance = testConstructor.apply(testBody);
224 testBody.accept(testInstance);
322 private final ThrowingConsumer testBody;
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/
H A DTestInstance.java148 TestInstance(ThrowingRunnable testBody) {
151 this.testBody = (unused) -> testBody.run();
159 TestInstance(MethodCall testBody, List<ThrowingConsumer> beforeActions,
163 this.testBody = testBody;
166 this.testDesc = testBody.createDescription();
218 Object testInstance = testConstructor.apply(testBody);
224 testBody.accept(testInstance);
316 private final ThrowingConsumer testBody;
/dports/java/berkeley-db/je-6.2.31/test/com/sleepycat/je/latch/
H A DLatchTest.java82 public void testBody() { in testAcquireAndReacquire()
126 public void testBody() { in testAcquireAndReacquireShared()
171 public void testBody() { in testAcquireReleasePerformance()
211 public void testBody() { in doTestWait()
228 public void testBody() { in doTestWait()
263 public void testBody() { in testAcquireNoWait()
284 public void testBody() { in testAcquireNoWait()
365 public void testBody() { in testMultipleWaiters()
389 public void testBody() { in testMultipleWaiters()
/dports/net/rclone/rclone-1.57.0/vendor/github.com/klauspost/compress/gzhttp/
H A Dgzip_test.go121 w.Write([]byte(testBody))
185 w.Write(testBody)
459 b := []byte(testBody)
635 w.Write(testBody)
658 w.Write(testBody)
682 w.Write(testBody)
706 tb := testBody
817 w.Write(testBody)
911 w.Write(testBody)
940 w.Write(testBody)
[all …]
/dports/www/minio-client/mc-RELEASE.2021-12-10T00-14-28Z/vendor/github.com/klauspost/compress/gzhttp/
H A Dgzip_test.go121 w.Write([]byte(testBody))
185 w.Write(testBody)
459 b := []byte(testBody)
635 w.Write(testBody)
658 w.Write(testBody)
682 w.Write(testBody)
706 tb := testBody
817 w.Write(testBody)
911 w.Write(testBody)
940 w.Write(testBody)
[all …]
/dports/irc/soju/soju-0.3.0/vendor/github.com/klauspost/compress/gzhttp/
H A Dgzip_test.go121 w.Write([]byte(testBody))
185 w.Write(testBody)
459 b := []byte(testBody)
635 w.Write(testBody)
658 w.Write(testBody)
682 w.Write(testBody)
706 tb := testBody
817 w.Write(testBody)
911 w.Write(testBody)
940 w.Write(testBody)
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/
H A DTestInstance.java154 TestInstance(ThrowingRunnable testBody) {
157 this.testBody = (unused) -> testBody.run();
165 TestInstance(MethodCall testBody, List<ThrowingConsumer> beforeActions,
169 this.testBody = testBody;
172 this.testDesc = testBody.createDescription();
224 Object testInstance = testConstructor.apply(testBody);
230 testBody.accept(testInstance);
328 private final ThrowingConsumer testBody;
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/
H A DTestInstance.java154 TestInstance(ThrowingRunnable testBody) {
157 this.testBody = (unused) -> testBody.run();
165 TestInstance(MethodCall testBody, List<ThrowingConsumer> beforeActions,
169 this.testBody = testBody;
172 this.testDesc = testBody.createDescription();
224 Object testInstance = testConstructor.apply(testBody);
230 testBody.accept(testInstance);
328 private final ThrowingConsumer testBody;
/dports/devel/spark/spark-2.1.1/external/kinesis-asl/src/test/scala/org/apache/spark/streaming/kinesis/
H A DKinesisFunSuite.scala30 def testIfEnabled(testName: String)(testBody: => Unit) {
32 test(testName)(testBody)
34 ignore(s"$testName [enable by setting env var $envVarNameForEnablingTests=1]")(testBody)
/dports/security/keybase/client-v5.7.1/go/libkb/
H A Dleveldb_test.go94 testBody func(t *testing.T)
97 name: "simple", testBody: func(t *testing.T) {
115 name: "cleaner", testBody: func(t *testing.T) {
156 name: "concurrent", testBody: func(t *testing.T) {
193 name: "nuke", testBody: func(t *testing.T) {
215 name: "use-after-close", testBody: func(t *testing.T) {
236 name: "transactions", testBody: func(t *testing.T) {
339 name: "transaction-discard", testBody: func(t *testing.T) {
363 if !t.Run(test.name, test.testBody) {
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/NYTimes/gziphandler/
H A Dgzip_test.go38 testBody := "aaabbbccc"
41 handler := newTestHandler(testBody)
52 assert.Equal(t, testBody, res1.Body.String())
64 assert.Equal(t, gzipStr(testBody), res2.Body.Bytes())
73 assert.Equal(t, http.DetectContentType([]byte(testBody)), res3.Header().Get("Content-Type"))
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/NYTimes/gziphandler/
H A Dgzip_test.go47 handler := newTestHandler(testBody)
59 assert.Equal(t, testBody, resp1.Body.String())
103 handler := newTestHandler(testBody)
110 assert.Equal(t, testBody, res.Body.String())
116 io.WriteString(w, testBody)
169 {http.StatusOK, "gzip", false, []byte(testBody)},
212 testBodyBytes := []byte(testBody)
218 {len(testBody), [][]byte{testBodyBytes}, false},
224 {len(testBody), [][]byte{nil}, true},
415 b := []byte(testBody)
[all …]
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/NYTimes/gziphandler/
H A Dgzip_test.go47 handler := newTestHandler(testBody)
59 assert.Equal(t, testBody, resp1.Body.String())
103 handler := newTestHandler(testBody)
110 assert.Equal(t, testBody, res.Body.String())
116 io.WriteString(w, testBody)
169 {http.StatusOK, "gzip", false, []byte(testBody)},
212 testBodyBytes := []byte(testBody)
218 {len(testBody), [][]byte{testBodyBytes}, false},
224 {len(testBody), [][]byte{nil}, true},
415 b := []byte(testBody)
[all …]
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/NYTimes/gziphandler/
H A Dgzip_test.go47 handler := newTestHandler(testBody)
59 assert.Equal(t, testBody, resp1.Body.String())
103 handler := newTestHandler(testBody)
110 assert.Equal(t, testBody, res.Body.String())
116 io.WriteString(w, testBody)
169 {http.StatusOK, "gzip", false, []byte(testBody)},
212 testBodyBytes := []byte(testBody)
218 {len(testBody), [][]byte{testBodyBytes}, false},
224 {len(testBody), [][]byte{nil}, true},
415 b := []byte(testBody)
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/NYTimes/gziphandler/
H A Dgzip_test.go47 handler := newTestHandler(testBody)
59 assert.Equal(t, testBody, resp1.Body.String())
103 handler := newTestHandler(testBody)
110 assert.Equal(t, testBody, res.Body.String())
116 io.WriteString(w, testBody)
169 {http.StatusOK, "gzip", false, []byte(testBody)},
212 testBodyBytes := []byte(testBody)
218 {len(testBody), [][]byte{testBodyBytes}, false},
224 {len(testBody), [][]byte{nil}, true},
415 b := []byte(testBody)
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/
H A DHotSpotDeoptExplicitExceptions.java61 void testBody() { in testBody() method in HotSpotDeoptExplicitExceptions
76 launchSubprocess(this::testBody); in explicitExceptions()
78 testBody(); in explicitExceptions()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/
H A DHotSpotDeoptExplicitExceptions.java61 void testBody() { in testBody() method in HotSpotDeoptExplicitExceptions
76 launchSubprocess(this::testBody); in explicitExceptions()
78 testBody(); in explicitExceptions()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/
H A DHotSpotDeoptExplicitExceptions.java61 void testBody() { in testBody() method in HotSpotDeoptExplicitExceptions
76 launchSubprocess(this::testBody); in explicitExceptions()
78 testBody(); in explicitExceptions()
/dports/www/beehive/beehive-0.4.0/vendor/github.com/go-mail/mail/
H A Dsend_test.go15 testBody = "Test message" const
23 testBody const
70 m.SetBody("text/plain", testBody)
/dports/www/grafana8/grafana-8.3.6/vendor/gopkg.in/mail.v2/
H A Dsend_test.go15 testBody = "Test message" const
23 testBody const
70 m.SetBody("text/plain", testBody)
/dports/security/gopass/gopass-1.13.0/vendor/github.com/google/go-github/v33/github/
H A Dauthorizations_test.go22 testBody(t, r, `{"access_token":"a"}`+"\n")
44 testBody(t, r, `{"access_token":"a"}`+"\n")
66 testBody(t, r, `{"access_token":"a"}`+"\n")
83 testBody(t, r, `{"access_token":"a"}`+"\n")

12345678910>>...19