Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1361 - 1370 of 2,976 for throwIt (0.07 sec)

  1. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

    import org.codelibs.fess.crawler.extractor.impl.TikaExtractor;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DocumentHelperTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        public void test_getContent() {
            DocumentHelper documentHelper = new DocumentHelper();
    
            ResponseData responseData = new ResponseData();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

        @Mock
        private ServerMessageBlock mockAndx;
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        private SmbComSessionSetupAndX setupAndX;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
    
            // Create a real ServerData instance as it's not mockable (inner class)
            SmbTransport.ServerData serverData = mockTransport.new ServerData();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

            tmp = new byte[TMP_BUFFER_SIZE];
        }
    
        @Override
        public synchronized int read() throws IOException {
            if (read(tmp, 0, 1) < 0) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        @Override
        public synchronized int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
            @Test
            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            itr.remove();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNext() throws Exception {
            final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements());
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = NullArgumentException.class)
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

      public void testNewReference() throws Exception {
        assertEquals(null, Atomics.newReference().get());
      }
    
      public void testNewReference_withInitialValue() throws Exception {
        assertEquals(null, Atomics.newReference(null).get());
        assertEquals(OBJECT, Atomics.newReference(OBJECT).get());
      }
    
      public void testNewReferenceArray_withLength() throws Exception {
        int length = 42;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream() throws Exception {
            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html";
            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("text/html", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

        public boolean isGroupAddress(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.groupName;
        }
    
        @Override
        public int getNodeType(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.nodeType;
        }
    
        @Override
        public boolean isBeingDeleted(final CIFSContext tc) throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

    /**
     * @author shinsuke
     *
     */
    public class TextTransformerTest extends PlainTestCase {
        public TextTransformer textTransformer;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("extractorFactory", ExtractorFactory.class)
                    .singleton("textTransformer", TextTransformer.class)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            return mockCtx;
        }
    
        @Test
        @DisplayName("Should create Type 3 message with authentication data")
        void testType3MessageCreation() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String password = "testpassword";
            String domain = "TESTDOMAIN";
            String username = "testuser";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top