Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 3,030 for thrown (0.06 sec)

  1. src/test/java/jcifs/smb1/util/MimeMapTest.java

        private MimeMap mimeMap;
    
        @BeforeEach
        void setUp() throws IOException {
            mimeMap = new MimeMap();
        }
    
        @Nested
        @DisplayName("getMimeType with extension only")
        class GetMimeTypeWithExtension {
    
            @Test
            @DisplayName("Should return correct mime type for known extensions")
            void testKnownExtensions() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/PrunedTag.java

         *
         * @param value the comma-separated string of pruned tag configurations
         * @return an array of PrunedTag objects parsed from the input string
         * @throws FessSystemException if the input string contains invalid tag patterns
         */
        public static PrunedTag[] parse(final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

    import org.opensearch.cluster.health.ClusterHealthStatus;
    
    public class PingSearchEngineJobTest extends UnitFessTestCase {
    
        private PingSearchEngineJob pingSearchEngineJob;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            pingSearchEngineJob = new PingSearchEngineJob();
        }
    
        // Test normal operation with GREEN status and state change
        public void test_execute_greenStatusNoChange() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Test constructor with a valid login context.
         *
         * @throws LoginException if login fails.
         */
        @Test
        void testConstructor_Success() throws LoginException {
            try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        @Nonnull
        Collection<String> getChecksumAlgorithmNames();
    
        /**
         * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported.
         *
         * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported.
         * @throws NullPointerException if passed in name is {@code null}.
         */
        @Nonnull
        ChecksumAlgorithm select(@Nonnull String algorithmName);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            advance(i - this.index);
        }
    
        /**
         * Decodes a string from NDR format.
         *
         * @return the decoded string
         * @throws NdrException if decoding fails
         */
        public String dec_ndr_string() throws NdrException {
            align(4);
            int i = this.index;
            String val = null;
            int len = Encdec.dec_uint32le(this.buf, i);
            i += 12;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(Short.valueOf("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
            assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000"));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            try {
                ruleWithoutContainer.register(0);
                fail("Should throw exception with null container");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        /**
         * Test concurrent property access
         */
        public void test_concurrentPropertyAccess() throws Exception {
            final int threadCount = 10;
            final int iterationsPerThread = 100;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        @DisplayName("Test decode with zero length returns 0")
        void testDecodeZeroLength() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[100];
    
            int bytesRead = notifyInfo.decode(buffer, 0, 0);
    
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test decode with non-aligned next entry offset throws exception")
        void testDecodeNonAlignedNextOffset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/text/TokenizerTest.java

     *
     */
    public class TokenizerTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testEOF() throws Exception {
            final Tokenizer tokenizer = new Tokenizer("");
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
            assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top