- Sort Score
- Result 10 results
- Languages All
Results 31 - 37 of 37 for afterTest (0.12 sec)
-
src/net/http/transport_test.go
res, err := ts.Client().Get(ts.URL + path) if err != nil { t.Errorf("Get %s: %v", path, err) continue } // We want to close this body eventually (before the // defer afterTest at top runs), but not before the // len(addrSeen) check at the bottom of this test, // since Closing this early in the loop would risk // making connections be re-used for the wrong reason. defer res.Body.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/net/http/fs_test.go
type testFileSystem struct { open func(name string) (File, error) } func (fs *testFileSystem) Open(name string) (File, error) { return fs.open(name) } func TestFileServerCleans(t *testing.T) { defer afterTest(t) ch := make(chan string, 1) fs := FileServer(&testFileSystem{func(name string) (File, error) { ch <- name return nil, errors.New("file does not exist") }}) tests := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy
@Override void afterSuite(TestDescriptor suite, TestResult result) {} @Override void beforeTest(TestDescriptor testDescriptor) {} @Override void afterTest(TestDescriptor testDescriptor, TestResult result) {} } class TestOutputAdapter implements TestOutputListener {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 56.7K bytes - Viewed (0) -
src/net/http/clientserver_test.go
setParallel(t) } for _, mode := range modes { t.Run(string(mode), func(t T) { t.Helper() if t, ok := any(t).(*testing.T); ok && parallel { setParallel(t) } t.Cleanup(func() { afterTest(t) }) f(t, mode) }) } } type clientServerTest struct { t testing.TB h2 bool h Handler ts *httptest.Server tr *Transport c *Client }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 46.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
deleteMethod("/api/admin/joblog/log/" + elem.get("id")).then().body("response.status", equalTo(0)); } final List<Map<String, Object>> afterList = readJobLog(NAME_PREFIX); assertEquals(0, afterList.size()); // check if logs are successfully deleted } /** * Test for CrawlingInfo * */ private void testReadCrawlingInfo() {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt
Method <org.gradle.api.tasks.testing.AbstractTestTask.afterTest(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (AbstractTestTask.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 12:21:31 UTC 2024 - 91.3K bytes - Viewed (0) -
ChangeLog.md
- [`KT-63939`](https://youtrack.jetbrains.com/issue/KT-63939) Kotlin/Wasm Support lazy associated object initialisation - [`KT-61888`](https://youtrack.jetbrains.com/issue/KT-61888) [Kotlin/wasm] in kotlin.test support for `@AfterTest` for async tests - [`KT-64803`](https://youtrack.jetbrains.com/issue/KT-64803) K/Wasm: non-capturing lambdas are not singleton unlike same lambdas in jvm
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:14:23 UTC 2024 - 292.1K bytes - Viewed (0)