- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 2,342 for Exceptions (0.23 sec)
-
src/test/java/jcifs/smb/SIDCacheImplTest.java
} } @Test @DisplayName("resolveSids(DcerpcHandle,...) populates acct, domain and type for known types") void resolveSids_populatesFields_happyPath() throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class); LsaPolicyHandle policy = mock(LsaPolicyHandle.class); // Prepare input SIDsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
@Test void testMapInformationLevelWithInvalidLevel() { // Test invalid information level IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(999)); assertTrue(exception.getMessage().contains("Unsupported information level")); } @Test void testToString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
@BeforeEach void setUp() { transactionMock = mock(SmbComTransactionResponse.class); } @Test void testSmbComQueryInformationResponseGetters() throws Exception { // The constructor is package‑private; use an anonymous subclass SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) { };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() { try {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
KeyStore.ProtectionParameter protection = new KeyStore.PasswordProtection(keyStorePassword); keyStore.setEntry("smb.session." + sessionId, keyEntry, protection); } catch (Exception e) { log.warn("Failed to store key in KeyStore: {}", e.getMessage()); } } log.debug("Stored session key for session: {}", sessionId); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorTest.java
import org.apache.logging.log4j.Logger; import org.codelibs.core.io.CloseableUtil; import org.codelibs.core.io.ResourceUtil; import org.codelibs.fess.crawler.container.StandardCrawlerContainer; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.dbflute.utflute.core.PlainTestCase; /** * @author shinsuke * */ public class TextExtractorTest extends PlainTestCase {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
import java.util.Iterator; import org.junit.Test; /** * @author taichi */ public class LruHashMapTest { /** * @throws Exception */ @Test public void testAll() throws Exception { final LruHashMap<String, String> lru = new LruHashMap<String, String>(3); lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333");Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)"); artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler); assertNull(artifact.getVersion()); assertNull(artifact.getBaseVersion()); } @Test void testMNG7780() throws Exception {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
* restrictions were placed on d. This demonstrates that a, b, c, & d will * all be collected. * * @throws Exception */ @Test void testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
ServerMessageBlock response = new SmbComBlankResponse(); // Should throw exception for invalid operation assertThrows(SmbException.class, () -> tree.send(request, response)); } @Test void testTreeConnectWithWaitInterrupted() throws Exception { // Create a tree and simulate concurrent connection attempt
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0)