Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_available (0.68 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            }
    
            // File should be deleted after close
            // Note: FileUtil.deleteInBackground() is async, so we can't reliably test this
        }
    
        public void test_available() throws Exception {
            // Create a temporary file with test data
            File tempFile = File.createTempFile("test-", ".tmp");
            try (FileOutputStream fos = new FileOutputStream(tempFile)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

     */
    public class TcpRdmaProviderTest {
    
        private TcpRdmaProvider provider;
    
        @BeforeEach
        public void setUp() {
            provider = new TcpRdmaProvider();
        }
    
        @Test
        public void testIsAvailable() {
            assertTrue(provider.isAvailable(), "TCP provider should always be available");
        }
    
        @Test
        public void testGetSupportedCapabilities() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
            pdis.readByte(); // position is 1
            pdis.align(0);
            assertEquals(3, pdis.available());
        }
    
        @Test
        public void testAvailable() throws IOException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(4, pdis.available());
            pdis.readByte();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top