Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 245 for getTid (0.43 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

        class ConstructorTests {
    
            private Configuration mockConfig;
    
            @BeforeEach
            void setUp() {
                mockConfig = mock(Configuration.class);
                when(mockConfig.getPid()).thenReturn(12345);
            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Response.java

         */
        int getErrorCode();
    
        /**
         * Sets the message ID.
         *
         * @param k the message ID to set
         */
        void setMid(long k);
    
        /**
         * Gets the message ID.
         *
         * @return mid
         */
        long getMid();
    
        /**
         * Verifies the signature of this response.
         *
         * @param buffer the buffer containing the signature data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test setMid and getMid methods")
        void testSetAndGetMid() {
            // Given
            long expectedMid = 12345L;
            doNothing().when(messageBlock).setMid(expectedMid);
            when(messageBlock.getMid()).thenReturn(expectedMid);
    
            // When
            messageBlock.setMid(expectedMid);
            long actualMid = messageBlock.getMid();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacSidAttributesTest.java

            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacGroupTest.java

            assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor.");
            assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java

        public void stop() {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.stopNow();
            }).orElse(() -> {
                throw new JobNotFoundException(this);
            });
        }
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            queue.setId(123L);
            assertEquals(Long.valueOf(123L), queue.getId());
    
            queue.setId(null);
            assertNull(queue.getId());
        }
    
        public void test_idWithStringType() {
            // Test ID getter/setter with String
            UrlQueueImpl<String> queue = new UrlQueueImpl<>();
    
            queue.setId("id123");
            assertEquals("id123", queue.getId());
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // Should return dataCount
            assertEquals(5, result);
        }
    
        @Test
        void testGetSid() {
            // Test the getSid method
            // By default, it should be 0
            assertEquals(0, response.getSid());
        }
    
        @Test
        void testGetResumeKey() {
            // Test the getResumeKey method
            // By default, it should be 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java

            intResult.setId(42);
            assertEquals(Integer.valueOf(42), intResult.getId());
    
            AccessResultImpl<String> stringResult = new AccessResultImpl<>();
            stringResult.setId("result-id-123");
            assertEquals("result-id-123", stringResult.getId());
    
            AccessResultImpl<Long> longResult = new AccessResultImpl<>();
            longResult.setId(987654321L);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    for (final ACE ace : aces) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("ACE:{}", ace);
                        }
                        processAllowedSIDs(file, ace.getSID(), ace.isAllow() ? sidAllowSet : sidDenySet);
                    }
                    responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()]));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
Back to top