- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,214 for correct (0.04 sec)
-
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertNull(context.getCiphers()); } } @Nested @DisplayName("Context Type Tests") class ContextTypeTests { @Test @DisplayName("Should return correct context type") void testGetContextType() { EncryptionNegotiateContext context = new EncryptionNegotiateContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
// Node without id attribute MockNode nodeWithoutId = new MockNode("div"); assertFalse(tag.matches(nodeWithoutId)); // Wrong tag with correct id MockNode wrongTag = new MockNode("span"); wrongTag.addAttribute("id", "test-id"); assertFalse(tag.matches(wrongTag)); } public void test_matches_withCss() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("No error should happen when find embedded pointer type, but got %v", err) } if hnPost.Title != "embedded_pointer_type" { t.Errorf("Should find correct value for embedded pointer type") } if hnPost.Author != nil { t.Errorf("Expected to get back a nil Author but got: %v", hnPost.Author) } now := time.Now().Round(time.Second) NewPost := HNPost{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
class ConstantsTests { @Test @DisplayName("Should have correct SMB2_READFLAG_READ_UNBUFFERED value") void testReadUnbufferedFlag() { assertEquals((byte) 0x1, Smb2ReadRequest.SMB2_READFLAG_READ_UNBUFFERED); } @Test @DisplayName("Should have correct SMB2_CHANNEL_NONE value") void testChannelNone() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacCredentialType.java
if (!isCredentialTypeCorrect()) { throw new PACDecodingException("Invalid PAC credential type"); } } /** * Validates whether the credential type data is correct. * @return true if the credential type is valid, false otherwise */ public boolean isCredentialTypeCorrect() { return this.credentialType != null && this.credentialType.length < MINIMAL_BUFFER_SIZE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
result = response.readParametersWireFormat(smallBuffer, 0, -1); assertEquals(0, result); } @Test @DisplayName("Test command type is correct") void testCommandType() { // Verify that the command is not set in constructor (defaults to 0) assertEquals(0, response.getCommand()); // Verify we can change the subcommand
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
* limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD; import static com.google.common.collect.testing.features.CollectionSize.SEVERAL; import static com.google.common.collect.testing.features.CollectionSize.ZERO; import static java.util.Collections.nCopies;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java
deliveries.incrementAndGet(); } }); String EVENT = "Hello!"; bus.post(EVENT); assertEquals("Only one event should be delivered.", 1, deliveries.get()); assertEquals("Correct string should be delivered.", EVENT, holder.get()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} } // Verify chain is properly linked ServerMessageBlock2 current = messages[0]; for (int i = 1; i < messages.length; i++) { current = current.getNext(); assertEquals(messages[i], current); } } @Test @DisplayName("Should handle zero-length error data")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} @Test @DisplayName("Should define getCapacity method") void shouldDefineGetCapacityMethod() throws NoSuchMethodException { // Verify method exists with correct signature assertNotNull(AllocInfo.class.getMethod("getCapacity")); assertEquals(long.class, AllocInfo.class.getMethod("getCapacity").getReturnType()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)