- Sort Score
- Result 10 results
- Languages All
Results 1231 - 1240 of 3,054 for throws (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
* * @return a new, empty map instance. * @throws UnsupportedOperationException if it's not possible to make an empty instance of the * class under test. */ protected abstract Map<K, V> makeEmptyMap() throws UnsupportedOperationException; /** * Creates a new, non-empty instance of the class under test. * * @return a new, non-empty map instance.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
throw new ConfigPropertyNotFoundException("filter.null"); default: throw new ConfigPropertyNotFoundException(propertyKey); } } }; ComponentUtil.register(fessConfig, "fessConfig"); } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
* * @param other the other resource locator to compare with * @return whether the paths share a common root * @throws CIFSException if an error occurs during comparison */ boolean overlaps(SmbResourceLocator other) throws CIFSException; /** * Internal: for testing only * * @param dr the DFS referral data to process
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(context.size(), encoded); } @Test @DisplayName("Should encode and decode correctly") void testEncodeAndDecode() throws SMBProtocolDecodingException { int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, 2, 3 }; byte[] salt = new byte[32]; new SecureRandom().nextBytes(salt);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
} } /** * Checks if the executor has been shut down and increments the running task count. * * @throws RejectedExecutionException if the executor has been previously shutdown */ private void startTask() { synchronized (lock) { if (shutdown) { throw new RejectedExecutionException("Executor already shutdown"); } runningTasks++; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
/** * Constructs a PacSignature by parsing the provided data. * * @param data the raw signature data to parse * @throws PACDecodingException if the data is malformed or cannot be parsed */ public PacSignature(final byte[] data) throws PACDecodingException { try { final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertThrows(IllegalArgumentException.class, () -> context.encryptMessage(null, 123456L), "Should throw IllegalArgumentException for null message"); } @Test @DisplayName("Should successfully encrypt and decrypt with refactored methods") void testRefactoredEncryptionDecryption() throws Exception { // Given - Use same key for both encryption and decryption in test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
System.arraycopy(ctxBytes, 0, packet, ctxOffsetFromHeader, ctxBytes.length); } return packet; } @Test void decode_basic_noContexts() throws Exception { Configuration config = Mockito.mock(Configuration.class); Smb2CreateResponse resp = new Smb2CreateResponse(config, "file.txt"); byte[] fileId = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
} @Test void byteArrayBlob() throws Exception { SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, blobCred()); assertArrayEquals(blobCred(), (byte[]) getField(obj, "blob")); } @Test void writeParameterWordsWithBlob() throws Exception { setupNegotiateStubs();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
void testConstructorWithTransportLMCompat0() throws Exception { setupTransportMocks(0); SMB1SigningDigest digest = new SMB1SigningDigest(mockTransport, mockAuth); assertNotNull(digest); } @Test @DisplayName("Test constructor with transport and auth - LM compatibility 1") void testConstructorWithTransportLMCompat1() throws Exception { setupTransportMocks(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)