Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 456 (0.01 sec)

  1. src/test/java/jcifs/ConfigTest.java

        @DisplayName("Should get integer property with default value")
        void testGetIntWithDefault() {
            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        }
    
        @Test
        void testSetAction() {
            response.action = 2;
            assertEquals(2, response.action);
        }
    
        @Test
        void testSetServerFid() {
            response.serverFid = 456;
            assertEquals(456, response.serverFid);
        }
    
        @Test
        void testToString() {
            // Set up the response object with test values
            response.fid = 1;
            response.fileAttributes = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructorWithString() {
            // Test with a simple message
            String message = "Job with ID 456 not found";
    
            JobNotFoundException exception = new JobNotFoundException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#writeParameterWordsWireFormat(byte[], int)}.
         */
        @Test
        public void testWriteParameterWordsWireFormat() {
            // Given
            int fid = 456;
            long lastWriteTime = System.currentTimeMillis();
            SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime);
            byte[] dst = new byte[6];
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(lock, "pid", 123);
            setField(lock, "byteOffset", 100L);
            setField(lock, "lengthInBytes", 200L);
            LockingAndXRange unlock = new LockingAndXRange(false);
            setField(unlock, "pid", 456);
            setField(unlock, "byteOffset", 300L);
            setField(unlock, "lengthInBytes", 400L);
            setField(cmd, "locks", new LockingAndXRange[] { lock });
            setField(cmd, "unlocks", new LockingAndXRange[] { unlock });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/ASN1UtilTest.java

        @Test
        void testAs_ASN1InputStream_Success() throws IOException, PACDecodingException {
            // Test successful reading and casting from ASN1InputStream
            ASN1Integer original = new ASN1Integer(456);
            ByteArrayInputStream bais = new ByteArrayInputStream(original.getEncoded());
            ASN1InputStream ais = new ASN1InputStream(bais);
            ASN1Integer result = ASN1Util.as(ASN1Integer.class, ais);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top