- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 8,433 for expect (0.22 sec)
-
tests/connpool_test.go
"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?", }, } defer func() { if !reflect.DeepEqual(conn.got, conn.expect) { t.Errorf("expect %#v but got %#v", conn.expect, conn.got) } }() db, err := gorm.Open(mysql.New(mysql.Config{Conn: conn, DisableWithReturning: true})) if err != nil { t.Fatalf("Should open db success, but got %v", err) }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Tue Feb 06 02:54:40 GMT 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java
* available. * 3. We expect the client's get() to throw an InterruptedException. * 4. We expect the client thread's interrupt state to be false. * 5. The client thread again makes a blocking call to get(). * 6. Now the result becomes available. * 7. We expect get() to return this result. * 8. We expect the test thread's interrupt state to be false. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception { exception.expect(ClUnsupportedOperationException.class); exception.expectMessage(is("remove")); final Vector<String> vector = new Vector<String>(); vector.add("a");
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
method.returnType = new TypeMetaData('ReturnType') method.addParameter('param1', new TypeMetaData('ParamType')) method.addParameter('param2', new TypeMetaData('ParamType2')) expect: method.signature == 'ReturnType method(ParamType param1, ParamType2 param2)' method.overrideSignature == 'method(ParamType, ParamType2)' } def formatsOverrideSignatureUsingRawParameterTypes() {
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
"AssertAndCollective", TFE_OpGetAttrs(call_op.get()), /*expected_max_outputs=*/1, status.get()); EXPECT_NE(TF_GetCode(status.get()), TF_CANCELLED); EXPECT_EQ(TF_GetCode(status.get()), TF_INVALID_ARGUMENT); EXPECT_THAT(TF_Message(status.get()), HasSubstr("assertion failed")); // Note that future collectives with the same context do not work at the
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* {@link org.codelibs.core.io.PropertiesUtil#load(java.util.Properties, java.io.InputStream)} * . */ @Test public void testLoadPropertiesInputStreamPropsNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[props] is null.")); final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
synchronized (collection) { SpliteratorTester.of(collection::spliterator).expect(getSampleElements()); } } @CollectionFeature.Require(KNOWN_ORDER) public void testSpliteratorKnownOrder() { synchronized (collection) { SpliteratorTester.of(collection::spliterator).expect(getOrderedElements()).inOrder(); } } @CollectionFeature.Require(ALLOWS_NULL_VALUES)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
## Embed a single body parameter Let's say you only have a single `item` body parameter from a Pydantic model `Item`. By default, **FastAPI** will then expect its body directly. But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`: ```Python
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 7.7K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
mockIntercept := testDoAddRun(t, buildMockConf(false, ""), testNSName, pod, ns) if len(mockIntercept.lastRedirect) == 0 { t.Fatalf("expected nsenterFunc to be called") } r := mockIntercept.lastRedirect[len(mockIntercept.lastRedirect)-1] if r.includeInboundPorts != "*" { t.Fatalf("expect includeInboundPorts has value '*' set by istio, actual %v", r.includeInboundPorts) } }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
} result, err := createKubeConfig(cfg) if err != nil { if !c.expectedFailure { t.Fatalf("did not expect failure: %v", err) } // Successful test case expecting failure return } else if c.expectedFailure { t.Fatalf("expected failure") } goldenFilepath := "testdata/kubeconfig-tls" if c.skipTLSVerify { goldenFilepath = "testdata/kubeconfig-skip-tls"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0)