- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 960 for lock (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
} catch (Exception e) { assertTrue(true); // Expected exception } } @Test public void test_getJarFile_exists() throws IOException { // Create a mock jar file Path jarPath = tempDir.resolve("test-theme.jar"); Files.createFile(jarPath); ThemeHelper mockThemeHelper = new ThemeHelper() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
if (throwOnCloseInternal) throw new CIFSException("closeInternal fail"); } } @Mock SmbTreeHandleImpl tree; @Mock SmbResource parent; @Mock ResourceNameFilter nameFilter; private void stubAcquireReturnsSelf() { when(tree.acquire()).thenReturn(tree); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.spnego.NegTokenInit; @ExtendWith(MockitoExtension.class) class Kerb5AuthenticatorTest { @Mock CIFSContext tc; @Mock Configuration config;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* to test it. */ return; } /* * Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test * anything interesting under most environments. Still, we can run it (except for Android, atCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 19:16:54 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * Tests for the SmbComOpenAndX class. */ class SmbComOpenAndXTest { private SmbComOpenAndX smbComOpenAndX;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java
*/ int NTLMSSP_REQUEST_NON_NT_SESSION_KEY = 0x00400000; /** * Sent by the server in the Type 2 message to indicate that it is * including a Target Information block in the message. The Target * Information block is used in the calculation of the NTLMv2 response. */ int NTLMSSP_NEGOTIATE_TARGET_INFO = 0x00800000; /** * Indicates that 128-bit encryption is supported. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.android.kt
/* * Copyright (C) 2024 Block, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Dec 31 14:50:53 GMT 2024 - 746 bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
} @Test void messageAndCauseConstructor_setsMessageAndCause_withoutInteractingWithCause() { // Arrange - mock cause to verify no interactions are needed to construct Throwable cause = Mockito.mock(Throwable.class); String message = "forced downgrade detected"; // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 }; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0)