Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for getConfigs (0.13 sec)

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

        public static Collection<Object> configs () {
            return getConfigs();
        }
    
    
        /**
         * @param mutations
         * @return
         */
        static Collection<Object> getConfigs ( String... mutations ) {
            List<Object> configs = new ArrayList<>();
            for ( Entry<String, Map<String, String>> cfg : AllTests.getConfigs(mutations).entrySet() ) {
                configs.add(new Object[] {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/OplockTests.java

                    Smb2CreateRequest create = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
                    create.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    
                    tree.send(create);
    
                    Smb2CreateRequest create2 = new Smb2CreateRequest(sess.getConfig(), "\\foocc");
                    create2.setOverrideTimeout(1000);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/NamingTest.java

            Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
            Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2());
            String oemEncoding = getContext().getConfig().getOemEncoding();
            String str = null;
            try {
                switch ( oemEncoding.toLowerCase(Locale.ROOT) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/PipeTest.java

        public PipeTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noNTStatus", "noNTSmbs", "smb2", "smb30", "smb31");
        }
    
    
        @Test
        public void testSRVS () throws DcerpcException, IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/tests/SidTest.java

        public SidTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30");
        }
    
    
        @Test
        public void resolveUserSID () throws IOException {
            String sid = getRequiredProperty(TestProperties.TEST_USER_SID);
            SID s = new SID(sid);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/WatchTest.java

        public WatchTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30", "smb31");
        }
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
            this.executor = Executors.newSingleThreadExecutor();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top