Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 6,187 for New (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            response = new Smb2TreeDisconnectResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
        void testConstructorWithConfiguration() {
            // Given & When
            Smb2TreeDisconnectResponse resp = new Smb2TreeDisconnectResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            TransportException noCauseException = new TransportException("No cause");
            assertNull(noCauseException.getRootCause());
            assertEquals(noCauseException.getCause(), noCauseException.getRootCause());
    
            // Test with cause
            IOException rootCause = new IOException("IO error");
            TransportException withCauseException = new TransportException("With cause", rootCause);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Initialize test helpers
            systemHelper = new TestSystemHelper();
            indexingHelper = new TestIndexingHelper();
            crawlingInfoHelper = new TestCrawlingInfoHelper();
            searchLogHelper = new TestSearchLogHelper();
            labelTypeHelper = new TestLabelTypeHelper();
            languageHelper = new TestLanguageHelper();
            searchEngineClient = new TestSearchEngineClient();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            try (ZipOutputStream zos = new ZipOutputStream(Files.newOutputStream(zipPath))) {
                // Add view file
                ZipEntry viewEntry = new ZipEntry("view/index.ftl");
                zos.putNextEntry(viewEntry);
                zos.write("<html>test</html>".getBytes());
                zos.closeEntry();
    
                // Add CSS file
                ZipEntry cssEntry = new ZipEntry("css/style.css");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbExceptionTest.java

        @DisplayName("Should handle exception chaining")
        void testExceptionChaining() {
            // Given
            Exception rootCause = new RuntimeException("Root cause");
            SmbException intermediateCause = new SmbException("Intermediate", rootCause);
    
            // When
            SmbException finalException = new SmbException("Final error", intermediateCause);
    
            // Then
            assertEquals(intermediateCause, finalException.getCause());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java

            String values;
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/\nhttp://www.bar.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerWebProtocols() {
                    return "http,https";
                }
    
                @Override
                public String getCrawlerFileProtocols() {
                    return "file,smb";
                }
            });
    
            final ProtocolHelper protocolHelper = new ProtocolHelper();
            protocolHelper.init();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

          new TestByteSource(new byte[10], OPEN_THROWS);
      private static final ByteSource BROKEN_READ_SOURCE =
          new TestByteSource(new byte[10], READ_THROWS);
      private static final ByteSink BROKEN_CLOSE_SINK = new TestByteSink(CLOSE_THROWS);
      private static final ByteSink BROKEN_OPEN_SINK = new TestByteSink(OPEN_THROWS);
      private static final ByteSink BROKEN_WRITE_SINK = new TestByteSink(WRITE_THROWS);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
    
            // Create updater with a new item
            ProtwordsItem newItem = new ProtwordsItem(0, "testNew");
            ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(newItem);
    
            // Write an existing item (should pass through)
            ProtwordsItem existingItem = new ProtwordsItem(10, "existing");
            ProtwordsItem result = updater.write(existingItem);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            }
    
            @Test
            @DisplayName("seToIoe maps Interrupted cause to InterruptedIOException")
            void seToIoeInterruptedMapping() {
                SmbException se = new SmbException("x", new jcifs.util.transport.TransportException(new InterruptedException("boom")));
                IOException ioe = SmbFileInputStream.seToIoe(se);
                assertTrue(ioe instanceof InterruptedIOException);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top