- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 127 for triggers (0.06 sec)
-
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
class ConstructorInvalidInputs { @Test @DisplayName("Null handle triggers NullPointerException") void ctor_nullHandle_throwsNPE() { // Act + Assert assertThrows(NullPointerException.class, () -> new SmbPipeOutputStream(null, tree)); } @Test @DisplayName("Null tree handle triggers NullPointerException") void ctor_nullTree_throwsNPE() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Provide a page with no valid items so that advance returns null and triggers close in next() TestIterator it = TestIterator.create(tree, parent, "*", null, 0, initial, List.of(new FileEntry[][] { new FileEntry[] {} })) .throwOnCloseInternal(); // Act: first next() returns initial, second triggers close which throws internally but is handled assertTrue(it.hasNext());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
assertTrue(ex.getMessage().contains("Malformed Kerberos Ticket")); } @Test @DisplayName("byte[] ctor: top-level non-SEQUENCE triggers PACDecodingException (type mismatch)") void byteArrayConstructor_topLevelNotSequence_throws() throws Exception { // Arrange: Encoded INTEGER instead of SEQUENCE
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertEquals("smb://server/share/file", a.getCanonicalURL()); } @Test @DisplayName("Invalid path triggers RuntimeCIFSException during canonicalize") void testCanonicalizeInvalidPath() { SmbResourceLocatorImpl a = locator("smb:invalid-no-slash"); // Any accessor that triggers canonicalizePath should throw assertThrows(RuntimeCIFSException.class, a::getURLPath);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
verify(tc, never()).getConfig(); verifyNoInteractions(config); } @Test @DisplayName("createContext: Kerberos present but forceFallback triggers NTLM path") void createContext_forceFallback_triggersNtlmAndFailsOnNonNtlmToken() throws CIFSException { when(tc.getConfig()).thenReturn(config); when(config.isAllowNTLMFallback()).thenReturn(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("Weak resolve via initContext triggers only once on accessors") void testResolveWeakInitContext() throws SmbException, CIFSException { SID sid = new SID("S-1-5-21-1-2"); sid.initContext("srv", mockCtx); // First accessor triggers resolution int t1 = sid.getType();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java
*/ public CreateForm() { } /** * The CRUD mode for the form. */ @ValidateTypeFailure public Integer crudMode; /** * The search term that triggers the key match. */ @Required @Size(max = 100) public String term; /** * The query to execute when the term matches. */ @RequiredRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Validates usage counting and that an extra release() throws RuntimeCIFSException // First close -> usage 1 -> 0, triggers treeConnection.release() handle.close(); verify(treeConnection, times(1)).release(); // Second release -> usage 0 -> -1 triggers RuntimeCIFSException RuntimeCIFSException ex = assertThrows(RuntimeCIFSException.class, () -> handle.release());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
SmbTreeImpl tree = mock(SmbTreeImpl.class); when(tree.acquire(false)).thenReturn(tree); when(tree.acquire()).thenReturn(tree); setTree(c, tree); // Act: first acquire triggers tree.acquire() c.acquire(); verify(tree, times(1)).acquire(); // Act: second acquire does not call tree.acquire again c.acquire(); verify(tree, times(1)).acquire();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
if (!GUAVA_PACKAGES.contains(info.getPackageName())) { continue; } if ( /* * At least one of the classes nested inside TypeResolverTest triggers a bug under older JDKs: * https://bugs.openjdk.org/browse/JDK-8215328 -> https://bugs.openjdk.org/browse/JDK-8215470
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0)