- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 117 for Boundary (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
assertEquals("instance1", transformer1.getName()); assertEquals("changed2", transformer2.getName()); assertEquals("instance3", transformer3.getName()); } /** * Test name boundary cases */ public void test_name_boundaryCases() { // Single character testTransformer.setName("a"); assertEquals("a", testTransformer.getName()); // Single space
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
void testGetReferrals() { assertNotNull(buffer.getReferrals()); assertEquals(3, buffer.getReferrals().length); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum values") void testMaximumValues() { byte[] testBuffer = new byte[8];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertTrue(sizeInfo instanceof AllocInfo); assertTrue(fullSizeInfo instanceof AllocInfo); } } @Nested @DisplayName("Performance and Boundary Tests") class PerformanceTests { @Test @DisplayName("Should handle maximum values without overflow") void testMaximumValues() throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
assertEquals(0, dst[nullTerminatorIndex]); assertEquals(0, dst[nullTerminatorIndex + 1]); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum path length") void testMaximumPathLength() {
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/smb1/trans2/Trans2QueryFSInformationTest.java
trans2.writeParametersWireFormat(buffer, 0); }, "Should throw IllegalArgumentException for invalid information level: " + invalidLevel); } @Test @DisplayName("Test buffer boundary conditions") void testBufferBoundaryConditions() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Test with minimal buffer size
Registered: 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/smb1/trans/nt/SmbComNtTransactionTest.java
assertTrue(cancelRequest instanceof SmbComNtCancel); assertEquals(maxMid, cancelRequest.getMid()); } @Test @DisplayName("Test writeParameterWordsWireFormat boundary conditions") void testWriteParameterWordsWireFormatBoundaryConditions() { byte[] dst = new byte[256]; // Test with maximum values transaction.setMaxSetupCount((byte) 0xFF);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException { // This test is theoretical as we can't create huge buffers // but tests the boundary conditions if (aceCount <= 10) { // Only test small counts practically byte[] buffer = new byte[2048]; prepareSecurityDescriptorBufferWithDACL(buffer, 0, aceCount);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals("abc", notifications.get(0).getFileName()); assertEquals("test", notifications.get(1).getFileName()); } @Test @DisplayName("Should handle buffer boundary conditions") void testBufferBoundaryConditions() throws Exception { // Given - notification exactly at buffer end byte[] buffer = new byte[104]; // Exact size needed int offset = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2; int expectedLongSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + longPath.length() * 2; // size8 method aligns to 8-byte boundary int alignedShortSize = (expectedShortSize + 7) & ~7; int alignedLongSize = (expectedLongSize + 7) & ~7; assertEquals(alignedShortSize, shortSize);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/archive/tar/reader.go
paxHdrs[paxGNUSparseMap] = strings.Join(sparseMap, ",") } return paxHdrs, nil } // readHeader reads the next block header and assumes that the underlying reader // is already aligned to a block boundary. It returns the raw block of the // header in case further processing is required. // // The err will be set to io.EOF only when one of the following occurs: // - Exactly 0 bytes are read and EOF is hit.
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 07 19:46:36 UTC 2025 - 26.9K bytes - Viewed (0)