Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestUser (0.04 sec)

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

            return OptionalThing.of(new FessUserBean(new TestUser(name, permissions)));
        }
    
        static class TestUser implements FessUser {
    
            private static final long serialVersionUID = 1L;
    
            private String name;
    
            private String[] permissions;
    
            TestUser(String name, String[] permissions) {
                this.name = name;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            server.start();
            return server;
        }
    
        public void test_doGet_root_dir() throws FtpException {
            FtpServer server = null;
            try {
                String username = "testuser";
                String password = "testpass";
                server = startFtpServer(FTP_PORT, username, password);
                Map<String, Object> params = new HashMap<String, Object>();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

        public void test_matches() throws Exception {
            FtpAuthentication auth = new FtpAuthentication();
            auth.setServer("hostname");
            auth.setPort(21);
            auth.setUsername("testuser");
            auth.setPassword("testpass");
    
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname/test/aaa.html"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top