- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 339 for teststr (0.04 sec)
-
mockwebserver/README.md
RecordedRequest request3 = server.takeRequest(); assertEquals("/v1/chat/messages/3", request3.getPath()); // Shut down the server. Instances cannot be reused. server.shutdown(); } ``` Your unit tests might move the `server` into a field so you can shut it down from your test's `tearDown()`. ### API #### MockResponse Mock responses default to an empty response body and a `200` status code.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
import java.util.List; import java.util.NavigableSet; import java.util.Set; import java.util.SortedSet; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a NavigableSet * implementation. */ @GwtIncompatible public final class NavigableSetTestSuiteBuilder<E> extends SortedSetTestSuiteBuilder<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/fr/docs/index.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 22K bytes - Viewed (0) -
tests/customize_field_test.go
package tests_test import ( "testing" "time" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestCustomizeColumn(t *testing.T) { type CustomizeColumn struct { ID int64 `gorm:"column:mapped_id; primary_key:yes"` Name string `gorm:"column:mapped_name"` Date *time.Time `gorm:"column:mapped_time"` } DB.Migrator().DropTable(&CustomizeColumn{}) DB.AutoMigrate(&CustomizeColumn{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
if !r.dualStack { t.Fatalf("expect dualStack is true, actual %v", r.dualStack) } } func Test_dedupPorts(t *testing.T) { type args struct { ports []string } tests := []struct { name string args args want []string }{ { name: "No duplicates", args: args{ports: []string{"1234", "2345"}}, want: []string{"1234", "2345"}, }, {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
.isSameAs(forJavaName("TestCipherSuite")) assertThat(forJavaName(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5.javaName)) .isSameAs(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5) } /** * Tests that interned CipherSuite instances remain the case across garbage collections, even if * the String used to construct them is no longer strongly referenced outside of the CipherSuite. */ @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
docs/en/docs/advanced/security/http-basic-auth.md
#### A "professional" attack Of course, the attackers would not try all this by hand, they would write a program to do it, possibly with thousands or millions of tests per second. And they would get just one extra correct letter at a time.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:01:27 UTC 2024 - 4.8K bytes - Viewed (0) -
src/bufio/scan.go
type Scanner struct { r io.Reader // The reader provided by the client. split SplitFunc // The function to split the tokens. maxTokenSize int // Maximum size of a token; modified by tests. token []byte // Last token returned by split. buf []byte // Buffer used as argument to split. start int // First non-processed byte in buf. end int // End of data in buf.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 23 09:06:30 UTC 2023 - 14.2K bytes - Viewed (0) -
misc/go_android_exec/main.go
// and from parent directories all the way up to the root of subdir. // go.mod and go.sum files are needed for the go tool modules queries, // and the testdata directories for tests. It is common for tests to // reach out into testdata from parent packages. func adbCopyTree(deviceCwd, subdir string) error { dir := "" for { for _, name := range []string{"testdata", "go.mod", "go.sum"} {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
* @param <V> the value type of the map to be tested. * @author George van den Driessche */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @ElementTypesAreNonnullByDefault public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0)