- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 747 for correcta (0.05 sec)
-
src/test/java/jcifs/pac/PacConstantsTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; /** * Tests for the PacConstants interface. * This test class verifies that the constant values defined in PacConstants are correct. */ class PacConstantsTest { /** * Tests that the constant values in the PacConstants interface match their expected values. * This prevents accidental modification of these critical constants. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
customRequest.setFileId(testFileId); // Then assertArrayEquals(testFileId, customRequest.getFileId(), "Custom implementation should store file ID correctly"); assertEquals(1, customRequest.getSetCount(), "Should track set count correctly"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** * Test for EnhancedCompositeBeanHelper to ensure it works correctly and provides performance benefits. */ class EnhancedCompositeBeanHelperTest { private EnhancedCompositeBeanHelper helper; private ConverterLookup converterLookup; private ExpressionEvaluator evaluator;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
@Mock DfsReferralData referral; // Reflection-based API checks ensure the interface contract is as expected @Test @DisplayName("Type hierarchy and method signatures are correct") void typeAndSignatures() throws Exception { Class<?> clazz = SmbResourceLocatorInternal.class; // Assert it's an interface and extends the right superinterfaceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
* font/woff} to be the correct media type for WOFF, but this may be necessary in certain * situations for compatibility. * * @since 17.0 */ public static final MediaType WOFF = createConstant(APPLICATION_TYPE, "font-woff"); /** * <a href="https://tools.ietf.org/html/rfc8081">RFC 8081</a> declares {@link #FONT_WOFF2
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 01:46:40 UTC 2025 - 48K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
// When MsrpcLsarOpenPolicy2 msrpcLsarOpenPolicy2 = new MsrpcLsarOpenPolicy2(server, access, mockPolicyHandle); // Then // Verify that the super constructor is called with correct arguments // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito. // We verify the effects of the super constructor by checking the fields of the created object.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
@Test @DisplayName("readULong correctly interprets little endian") void testReadULong() { byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 }; int result = NtlmMessage.readULong(a, 0); assertEquals(0x04030201, result, "ULong should be little‑endian"); } @Test @DisplayName("readUShort correctly interprets little endian") void testReadUShort() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
} finally { executor.shutdownNow(); } assertTrue(future.isDone()); assertFalse(future.isCancelled()); } /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */ public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException { // The task thread waits for the latch, so we expect a timeout here. try { future.get(20, MILLISECONDS);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 6.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR"); assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message"); assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING"); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Jul 20 20:19:43 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} } @Nested @DisplayName("FileId Tests") class FileIdTests { @Test @DisplayName("Should set file ID correctly") void testSetFileId() { byte[] newFileId = new byte[16]; new SecureRandom().nextBytes(newFileId); assertDoesNotThrow(() -> request.setFileId(newFileId)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0)