Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testMatches (0.54 sec)

  1. src/test/java/jcifs/smb/SmbTreeImplTest.java

            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
            assertFalse(tree.matches("othershare", "A:"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            assertEquals("TESTSHARE", tree.share);
            assertEquals("?????", tree.service);
            assertEquals(0, tree.connectionState);
        }
    
        @Test
        void testMatches() {
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Test matching share and service (case insensitive)
            assertTrue(tree.matches("testShare", "testService"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

    package org.codelibs.fess.crawler.client.ftp;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class FtpAuthenticationTest extends PlainTestCase {
    
        public void test_matches() throws Exception {
            FtpAuthentication auth = new FtpAuthentication();
            auth.setServer("hostname");
            auth.setPort(21);
            auth.setUsername("testuser");
            auth.setPassword("testpass");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top