- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for incompatible (0.34 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
} @Test @DisplayName("unwrap returns self for assignable type; throws for incompatible and null") void testUnwrap() { // Happy path: unwrap to concrete type SmbPipeHandleImpl unwrapped = target.unwrap(SmbPipeHandleImpl.class); assertSame(target, unwrapped); // Incompatible type: expect ClassCastException class OtherPipeHandle implements SmbPipeHandle { @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// Test getInfo with incompatible class throws exception response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Set info to SmbInfoAllocation SmbInfoAllocation allocation = new SmbInfoAllocation(); setInfoField(response, allocation); // Try to get as FileFsSizeInformation (incompatible)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Close of try-with-resources should call close on the mock verify(tree, times(1)).close(); } @Test @DisplayName("unwrap: returns self for compatible type and throws for incompatible") @SuppressWarnings({ "rawtypes", "unchecked" }) void testUnwrap() { SmbSessionImpl session = newSession(); // Happy path: ask for SmbSession and SmbSessionInternalRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
FileBasicInfo info = response.getInfo(FileBasicInfo.class); assertNotNull(info); assertTrue(info instanceof FileBasicInfo); } @Test @DisplayName("Test getInfo with incompatible type throws CIFSException") void testGetInfoWithIncompatibleType() throws Exception { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
CIFSException exception = assertThrows(CIFSException.class, () -> response.getInfo(FileFsSizeInformation.class), "Should throw CIFSException for incompatible class"); assertEquals("Incompatible file information class", exception.getMessage()); } @Test @DisplayName("Test writeBytesWireFormat returns 0") void testWriteBytesWireFormat() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertSame(nbtAddress, unwrapped); // Test unwrap for incompatible type - NbtAddress implements NetbiosAddress so it should return itself NetbiosAddress netbiosUnwrapped = nbtAddress.unwrap(NetbiosAddress.class); assertNotNull(netbiosUnwrapped); assertSame(nbtAddress, netbiosUnwrapped); // Test unwrap for truly incompatible type assertNull(nbtAddress.unwrap(UniAddress.class)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
testRequest.setResponse(null); assertNull(testRequest.getResponse()); } @Test @DisplayName("setResponse should throw exception for incompatible response") void testSetResponseIncompatible() { CommonServerMessageBlockResponse incompatibleResponse = mock(CommonServerMessageBlockResponse.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertSame(referralData, unwrapped); } @Test @DisplayName("Should throw ClassCastException for incompatible type") void testUnwrapToIncompatibleType() { // Create a mock class that extends DfsReferralData but is not compatible class IncompatibleReferralData implements DfsReferralData { @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
LICENSE
license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Jan 18 20:25:38 UTC 2016 - 25.8K bytes - Viewed (0) -
MIGRATION.md
See the GSA parser implementation: [GsaConfigParser.java](/src/main/java/org/codelibs/fess/util/GsaConfigParser.java) #### API Compatibility Mode > **Note**: GSA-compatible search API support may vary by Fess version. The configuration import feature is fully supported, but for GSA-compatible search endpoints, please consult the official Fess documentation for your specific version.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 12:40:11 UTC 2025 - 23.2K bytes - Viewed (0)