Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for getConfigs (0.27 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

        public DfsTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30", "smb31");
        }
    
    
        private String getTestDfsTargetServer () {
            String dfsTargetServer = getProperties().get("test.server.dfs");
            if ( dfsTargetServer != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/RandomAccessFileTest.java

            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testReadOnly () throws IOException {
            try ( SmbFile f = createTestFile() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/KerberosTest.java

            return getConfigs("smb1", "smb2", "smb30", "smb31", "forceSpnegoIntegrity");
        }
    
    
        @Before
        public void setup () {
            Assume.assumeTrue("Skip kerberos auth", getProperties().get("test.skip.kerberos") == null);
        }
    
    
        @Test
        public void testKRB () throws Exception {
            Assume.assumeTrue(getContext().getConfig().getResolveOrder().contains(ResolverType.RESOLVER_DNS));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ConcurrencyTest.java

                            create2.setOverrideTimeout(1000);
                            create2.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
                            create2.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    
                            create2.chain(new Smb2CloseRequest(sess.getConfig(), Smb2Constants.UNSPECIFIED_FILEID));
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/TimeoutTest.java

                            "Timeout %d outside expected range (%f)",
                            timeout,
                            1.5 * ( ctx.getConfig().getConnTimeout() + ctx.getConfig().getResponseTimeout() )),
                        timeout < 1.5 * ( ctx.getConfig().getConnTimeout() + ctx.getConfig().getResponseTimeout() ));
    
                    Set<Thread> threadsAfter = new HashSet<>(Thread.getAllStackTraces().keySet());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileAttributesTest.java

            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testBaseFile () throws MalformedURLException, CIFSException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        static Random getRandom () {
            return new Random(SEED);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noLargeReadWrite", "noNTSmbs", "forceSigning", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void test () throws IOException {
            runReadWriteTest(4096, 4 * 4096);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

        public SessionTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs(
                "smb1",
                "smb1-noSigning",
                "smb1-forceSigning",
                "noSigning",
                "forceSigning",
                "legacyAuth",
                "forceSpnegoIntegrity",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileOperationsTest.java

            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testRenameFile () throws CIFSException, MalformedURLException, UnknownHostException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/AllTests.java

            return cached;
        }
    
    
        /**
         * @param applyMutations
         * @return configurations available for running
         * 
         */
        public synchronized static Map<String, Map<String, String>> getConfigs ( String[] applyMutations ) {
            Map<String, Map<String, String>> configs = new HashMap<>();
    
            if ( System.getProperties().containsKey(TestProperties.TEST_SERVER) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
Back to top