- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 3,933 for avoid (0.15 sec)
-
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
} @Test @DisplayName("Edge: null is not an instance of the interface") void testNullIsNotInstance() { // Assert assertFalse(SessionSetupHandler.class.isInstance(null)); } @Test @DisplayName("Invalid: looking up constructor on interface fails") void testNoConstructorLookup() { // Act & Assert: interfaces have no constructorsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
private Smb2LeaseKey testLeaseKey; @BeforeEach public void setUp() { testGuid = new HandleGuid(); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } testLeaseKey = new Smb2LeaseKey(); } @Test public void testHandleInfoCreation() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
import jcifs.internal.util.SMBUtil; /** * Test class for FsctlPipeWaitRequest */ class FsctlPipeWaitRequestTest { @Test @DisplayName("Test constructor with name only sets correct fields") void testConstructorWithNameOnly() { // Test with simple pipe name String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName); // Verify size calculationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
private Smb2NegotiateResponse response; @BeforeEach public void setUp() { mockConfig = Mockito.mock(Configuration.class); response = new Smb2NegotiateResponse(mockConfig); } /** * Test that malformed structure size is properly rejected. */ @Test public void testMalformedStructureSize() { byte[] malformedBuffer = createBasicNegotiateResponseBuffer();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java
@MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveKeyRemovesFromInverse() { getMap().remove(k0()); expectMissing(e0()); } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveKeyFromKeySetRemovesFromInverse() { getMap().keySet().remove(k0()); expectMissing(e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
@CollectionSize.Require(absent = ZERO) public void testFind_yes() { assertEquals( getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0))); } public void testFind_no() { assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3())); } @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testFind_nullNotContainedButSupported() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
@CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
private static final int KEY_TYPE_1 = 1; private static final int KEY_TYPE_2 = 2; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test constructor with a valid login context. * * @throws LoginException if login fails. */ @Test void testConstructor_Success() throws LoginException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testSingletonInstance() { MonotonicClock clock1 = MonotonicClock.get(); MonotonicClock clock2 = MonotonicClock.get(); assertSame(clock1, clock2, "Multiple calls to get() should return the same instance"); } @Test @DisplayName("MonotonicClock should always use UTC timezone") void testClockTimezone() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
} // Helper methods to write numbers to byte array in little-endian format. private void writeInt2(int val, byte[] dst, int dstIndex) { dst[dstIndex++] = (byte) val; dst[dstIndex++] = (byte) (val >> 8); } private void writeInt4(int val, byte[] dst, int dstIndex) { dst[dstIndex++] = (byte) val; dst[dstIndex++] = (byte) (val >> 8);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0)