Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 876 for tave (3.15 sec)

  1. src/main/java/jcifs/smb/RequestParam.java

     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // Act & Assert
            assertTrue(itr.hasNext(), "Should have first element ready");
            SmbResource r1 = itr.next();
            assertNotNull(r1, "First adapted resource must not be null");
            // For workgroup/server entries, names end with '/'
            assertTrue(r1.getName().endsWith("/"), "Name should end with '/'");
    
            assertTrue(itr.hasNext(), "Should have second element ready");
            SmbResource r2 = itr.next();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            validator.addToBlacklist("\\share\\test");
            validator.addToWhitelist("\\share\\test");
    
            // Blacklist should take priority
            try {
                validator.validatePath("\\share\\test\\file.txt");
                fail("Blacklist should take priority over whitelist");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("not allowed"));
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

                assertEquals(expectedUuid, actualUuid, "DCERPC_UUID_SYNTAX_NDR should have the correct UUID value");
            }
        }
    
        @Nested
        @DisplayName("Fragment Flag Constants Tests")
        class FragmentFlagTests {
    
            @Test
            @DisplayName("DCERPC_FIRST_FRAG should have correct value")
            void testDcerpcFirstFrag() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event");
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
            assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");
        }
    
        @Test
        @DisplayName("Test reset statistics")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java

            // A simple assertion to verify that some of the constants have the expected values.
            // This confirms that the class is on the classpath and its fields are accessible.
            assertEquals("1.2.840.113554.1.2.2", KerberosConstants.KERBEROS_OID, "KERBEROS_OID should have the correct value.");
            assertEquals("5", KerberosConstants.KERBEROS_VERSION, "KERBEROS_VERSION should have the correct value.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (1)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            executor.shutdown();
    
            // Circuit breaker should have handled concurrent operations
            assertTrue(successCount.get() > 0, "Should have some successful operations");
            assertTrue(failureCount.get() > 0, "Should have some failed operations");
        }
    
        @Test
        public void testHalfOpenMaxAttempts() throws Exception {
            // Open circuit
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(clazz.getMethod("getName"), "Should have getName method");
                assertNotNull(clazz.getMethod("getType"), "Should have getType method");
                assertNotNull(clazz.getMethod("exists"), "Should have exists method");
                assertNotNull(clazz.getMethod("resolve", String.class), "Should have resolve method");
                assertNotNull(clazz.getMethod("close"), "Should have close method");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // When - Get a buffer
            byte[] buffer = BufferCache.getBuffer();
    
            // Then - Buffer should have expected size
            assertNotNull(buffer, "Buffer should not be null");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");
    
            // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/DialectVersionTest.java

        }
    
        @Test
        @DisplayName("Should have correct dialect codes for SMB2+ versions")
        void testDialectCodes() {
            // SMB1 should throw UnsupportedOperationException
            assertThrows(UnsupportedOperationException.class, () -> {
                DialectVersion.SMB1.getDialect();
            });
    
            // SMB2+ versions should have valid dialect codes
            assertTrue(DialectVersion.SMB202.getDialect() > 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top