Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for getNews (0.04 sec)

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

         * @return the news information, or null if none
         */
        public SitemapNews getNews() {
            return news;
        }
    
        /**
         * Sets the news information for this sitemap URL.
         * @param news the news information to set
         */
        public void setNews(final SitemapNews news) {
            this.news = news;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            final SitemapUrl sitemapUrl = (SitemapUrl) sitemaps[0];
            assertEquals("http://www.example.com/news/article.html", sitemapUrl.getLoc());
            assertNotNull(sitemapUrl.getNews());
    
            final SitemapNews news = sitemapUrl.getNews();
            assertEquals("Example Times", news.getPublicationName());
            assertEquals("en", news.getPublicationLanguage());
            assertEquals("2025-01-01", news.getPublicationDate());
    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/pac/kerberos/KerberosCredentialsTest.java

            })) {
                KerberosCredentials credentials = new KerberosCredentials(LOGIN_CONTEXT_NAME);
                KerberosKey[] keys = credentials.getKeys();
                assertEquals(2, keys.length);
            }
        }
    
        /**
         * Test getKeys method when subject has no Kerberos keys.
         *
         * @throws LoginException if login fails.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

    /**
     * Tests for the {@link AllocInfo} interface.
     * Since {@code AllocInfo} only declares getters, the tests focus on
     * verifying that implementations honour the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class AllocInfoTest {
    
        @Mock
        AllocInfo mockAllocInfo;
    
        /**
         * Happy path – verifies that getters return the values supplied by the
         * implementation.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertNotNull(defaultConfig.getMachineId(), "Machine ID should not be null");
        }
    
        @Test
        @DisplayName("Test network configuration getters")
        void testNetworkConfigurationGetters() {
            assertEquals(0, config.getLocalPort());
            assertEquals(SmbConstants.DEFAULT_CONN_TIMEOUT, config.getConnTimeout());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertEquals("Malformed PAC", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test getters return expected values using mocks")
        void testGetters() throws Exception {
            // Use mocking to test getters without complex PAC data creation
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Setup mock responses
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. docs/smb3-features/06-witness-protocol-design.md

        private String serverAddress;
        private int flags;
        
        // Getters and setters...
    }
    
    class WitnessRegisterResponse {
        private String registrationId;
        private int returnCode;
        
        public boolean isSuccess() { return returnCode == 0; }
        public String getError() { return "Error code: " + returnCode; }
        // Getters and setters...
    }
    
    class WitnessUnregisterRequest {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  8. Makefile

    lint: getdeps ## runs golangci-lint suite of linters
    	@echo "Running $@ check"
    	@$(GOLANGCI) run --build-tags kqueue --timeout=10m --config ./.golangci.yml
    	@command typos && typos ./ || echo "typos binary is not found.. skipping.."
    
    lint-fix: getdeps ## runs golangci-lint suite of linters with automatic fixes
    	@echo "Running $@ check"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 00:44:22 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Crypto.java

         *
         * @param key
         *            7 or 8 byte DES key
         * @return DES cipher in encryption mode
         */
        public static Cipher getDES(final byte[] key) {
            if (key.length == 7) {
                return getDES(des7to8(key));
            }
    
            try {
                final Cipher c = Cipher.getInstance("DES/ECB/NoPadding");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            assertEquals(12, qos.length);
            assertEquals(2, qos.impersonation_level);
            assertEquals(1, qos.context_mode);
            assertEquals(0, qos.effective_only);
    
            // Assert ptype and flags using getters
            assertEquals(0, msrpcLsarOpenPolicy2.getPtype());
            assertEquals(MsrpcLsarOpenPolicy2.DCERPC_FIRST_FRAG | MsrpcLsarOpenPolicy2.DCERPC_LAST_FRAG, msrpcLsarOpenPolicy2.getFlags());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top