Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getCaption (0.15 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapImage.java

        }
    
        /**
         * Gets the caption of the image.
         * @return the caption
         */
        public String getCaption() {
            return caption;
        }
    
        /**
         * Sets the caption of the image.
         * @param caption the caption to set
         */
        public void setCaption(final String caption) {
            this.caption = caption;
        }
    
        /**
         * Gets the geographic location of the image.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            final SitemapImage image = sitemapUrl.getImages().get(0);
            assertEquals("http://www.example.com/image.jpg", image.getLoc());
            assertEquals("Sample image caption", image.getCaption());
            assertEquals("Sample image title", image.getTitle());
            assertEquals("Tokyo, Japan", image.getGeoLocation());
            assertEquals("http://www.example.com/license.txt", image.getLicense());
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, result.get(0).getAction());
            assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, result.get(1).getAction());
            assertEquals(FileNotifyInformation.FILE_ACTION_MODIFIED, result.get(2).getAction());
            assertEquals(FileNotifyInformation.FILE_ACTION_RENAMED_OLD_NAME, result.get(3).getAction());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @Test
        @DisplayName("Test default constructor creates instance with null values")
        void testDefaultConstructor() {
            assertNotNull(notifyInfo);
            assertEquals(0, notifyInfo.getAction());
            assertNull(notifyInfo.getFileName());
            assertEquals(0, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes correctly")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/FileNotifyInformationTest.java

        class InterfaceMethodsTests {
    
            @Test
            @DisplayName("Test getAction method with mock")
            void testGetAction() {
                // Setup mock behavior
                when(mockFileNotifyInfo.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
    
                // Test
                int action = mockFileNotifyInfo.getAction();
    
                // Verify
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            @DisplayName("Should generate correct pipe URL with address option")
            void testMakePipeUrl_WithAddressOption() throws Exception {
                lenient().when(mockDcerpcBinding.getOption("server")).thenReturn(null);
                when(mockDcerpcBinding.getOption("address")).thenReturn("192.168.1.1");
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, notifications.get(0).getAction());
    
            // Verify second notification
            assertEquals("file2.txt", notifications.get(1).getFileName());
            assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, notifications.get(1).getAction());
    
            // Verify third notification
            assertEquals("file3.txt", notifications.get(2).getFileName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbWatchHandleTest.java

            when(fileNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
            when(fileNotifyInfo1.getFileName()).thenReturn("newfile.txt");
    
            when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED);
            when(fileNotifyInfo2.getFileName()).thenReturn("existingfile.txt");
    
            when(fileNotifyInfo3.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_REMOVED);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  9. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            dcerpcBinding.setOption("endpoint", endpoint);
            assertEquals(endpoint, dcerpcBinding.getOption("endpoint"), "Should return the set endpoint.");
        }
    
        @Test
        void testGetOptionOtherKey() throws DcerpcException {
            dcerpcBinding.setOption("connect", "80");
            assertEquals("80", dcerpcBinding.getOption("connect"), "Should return the set option value.");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            String params = "", server, address;
            server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
            address = (String) binding.getOption("address");
            if (server != null) {
                params += "&address=" + address;
            }
            if (params.length() > 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top