- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for Levels (4.34 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// These are valid levels, skip assertion return; } IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> Trans2QueryPathInformation.mapInformationLevel(level)); assertTrue(exception.getMessage().contains("Unsupported information level")); } @TestRegistered: 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/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
} @Test void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception { // Test with unsupported information level response = new Trans2QueryFSInformationResponse(config, 0x999); // Invalid level byte[] buffer = new byte[100]; // Set dataCount using reflection setDataCount(response, 20);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/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
System.arraycopy(fileId, 0, buffer, 8, 16); return buffer; } } @Nested @DisplayName("Oplock Level Constants Tests") class OplockLevelTests { @ParameterizedTest @DisplayName("Should handle standard oplock levels") @MethodSource("provideOplockLevels") void testStandardOplockLevels(byte oplockLevel, String description) throws Exception {
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/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Should write 2 bytes: information level assertEquals(2, written); // Check information level (FS_SIZE_INFO maps to 0x0103) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0103, actualInfoLevel); } @DisplayName("Test writeParametersWireFormat with different information levels") @ParameterizedTestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertThrows(NullPointerException.class, () -> { buffer.size(); }); } @ParameterizedTest @DisplayName("Should handle various referral levels") @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 255, 256, 32767, 65535 }) void testConstructorWithVariousReferralLevels(int maxReferralLevel) { String path = "\\\\test";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Set different levels when(basicInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO); when(standardInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_STANDARD_INFO); when(internalInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_INTERNAL_INFO); // Verify each has correct levelRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} } @Nested @DisplayName("Info Level Constants") class InfoLevelConstants { @Test @DisplayName("File info level should be 1") void testInfoFile() { assertEquals(1, Smb2Constants.SMB2_0_INFO_FILE, "File info level must be 1"); } @Test @DisplayName("Filesystem info level should be 2") void testInfoFilesystem() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
/** * The information level to return. */ public int level; /** * The share information. */ public NdrObject info; /** * Constructs a ShareGetInfo request. * @param servername the server name * @param sharename the share name * @param level the information levelRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
@ParameterizedTest @ValueSource(bytes = { FileInformation.FILE_BASIC_INFO, FileInformation.FILE_STANDARD_INFO, FileInformation.FILE_INTERNAL_INFO }) @DisplayName("Test readDataWireFormat with different information levels") void testReadDataWireFormatWithDifferentLevels(byte infoLevel) throws SMBProtocolDecodingException { response = new Trans2QueryPathInformationResponse(mockConfig, infoLevel);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/main/java/org/codelibs/core/log/Logger.java
public LogMessage(final LogLevel level, final String message) { assertArgumentNotNull("level", level); this.level = level; this.message = message; } /** * Returns the log level. * * @return the log level */ public LogLevel getLevel() { return level; } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0)