- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 863 for verifyCn (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.util.Arrays; import java.util.Optional; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for {@link DosError}. Since {@link DosError} only contains
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({func_feed, five}); Run({{func_feed, Int32Tensor(2)}}, func_op, 2 /*+=*/ + 5 + 1); // Verify input, output, and subset of edges in fdef. // The subset of edges we verify is a chain between feed1 and output to // make sure that the correct output is picked. tensorflow::FunctionDef fdef; ASSERT_TRUE(GetFunctionDef(func_, &fdef));
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify the top of the stack trace is from this test class StackTraceElement topElement = stackTrace[0]; assertEquals(this.getClass().getName(), topElement.getClassName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
*/ @Test void testConstructor() { // Verify that the command is set to SMB_COM_NEGOTIATE assertEquals(ServerMessageBlock.SMB_COM_NEGOTIATE, smbComNegotiate.command, "Constructor should set the command to SMB_COM_NEGOTIATE."); // Verify that flags2 is set to the default flags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
cmd/auth-handler.go
"github.com/minio/pkg/v3/policy" ) // Verify if request has JWT. func isRequestJWT(r *http.Request) bool { return strings.HasPrefix(r.Header.Get(xhttp.Authorization), jwtAlgorithm) } // Verify if request has AWS Signature Version '4'. func isRequestSignatureV4(r *http.Request) bool { return strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV4Algorithm) } // Verify if request has AWS Signature Version '2'.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
Map<String, ?> returned = entries[0].getOptions(); // Assert: sanity check and verify that no mutating calls were made after construction assertEquals("true", returned.get("refreshKrb5Config")); verify(spyOpts, never()).put(any(), any()); verify(spyOpts, never()).remove(any()); verify(spyOpts, never()).clear(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/MessageTest.java
// Set a new payload and verify byte[] payload1 = "test_payload_1".getBytes(); message.setRawPayload(payload1); assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload"); // Set another payload and verify byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 }; message.setRawPayload(payload2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
int testDialect = 0x0311; SMBUtil.writeInt2(testDialect, buffer, bufferIndex + 22); // Execute decode int bytesDecoded = response.decode(buffer, bufferIndex, 24); // Verify results assertEquals(24, bytesDecoded, "Should decode exactly 24 bytes"); assertEquals(testCapabilities, response.getCapabilities(), "Capabilities should match");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import java.lang.reflect.Field; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
public void test_execute_queryBuilderCreation() { // Execute the job purgeDocJob.execute(); // Verify the query builder was created correctly assertNotNull(deleteQuery); assertTrue(deleteQuery instanceof RangeQueryBuilder); // Verify the range query parameters RangeQueryBuilder rangeQuery = (RangeQueryBuilder) deleteQuery;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0)