Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1501 - 1510 of 3,282 for throwIt (0.14 seconds)

  1. src/test/java/jcifs/config/SecurityConfigurationTest.java

     */
    @RunWith(JUnit4.class)
    public class SecurityConfigurationTest {
    
        /**
         * Test that default security settings meet minimum security requirements
         */
        @Test
        public void testSecureDefaults() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

        }
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            updateCheckManager = new DefaultUpdateCheckManager(
                    new ConsoleLogger(Logger.LEVEL_DEBUG, "test"), new DefaultTrackingFileManager());
        }
    
        @Test
        void testArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

                this.async = false;
                this.nextResponse = null;
            }
    
            // CommonServerMessageBlock interface methods
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                // Mock implementation
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // Mock implementation
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

        }
    
        @Test
        void testNoPluginsOptionByDefault() throws ParseException {
            String[] args = {"apply"};
            CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args);
    
            assertFalse(options.plugins().isPresent(), "--plugins option should not be present by default");
        }
    
        @Test
        void testPluginsOptionWithOtherFlags() throws ParseException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/LineBufferTest.java

          @Override
          public int read(CharBuffer cbuf) throws IOException {
            return reader.read(cbuf);
          }
        };
      }
    
      private static Reader getChunkedReader(String input, int chunk) {
        return new FilterReader(new StringReader(input)) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            return super.read(cbuf, off, min(chunk, len));
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/LineBufferTest.java

          @Override
          public int read(CharBuffer cbuf) throws IOException {
            return reader.read(cbuf);
          }
        };
      }
    
      private static Reader getChunkedReader(String input, int chunk) {
        return new FilterReader(new StringReader(input)) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            return super.read(cbuf, off, min(chunk, len));
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/context/BaseContextTest.java

     */
    @DisplayName("BaseContext Tests")
    class BaseContextTest extends BaseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private BaseContext context;
    
        @BeforeEach
        void setUp() throws CIFSException {
            // Setup mock configuration with required methods
            when(mockConfig.getDefaultUsername()).thenReturn(null);
            when(mockConfig.getDefaultPassword()).thenReturn(null);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class SqlDateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd");
            final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16");
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                    }
                })
            }
    
            @Throws(IOException::class)
            private
            fun processJarFile(file: Path, builder: Trie.Builder) {
                IoActions.withResource(openJarFile(file), object : ErroringAction<ZipInputStream>() {
                    @Throws(Exception::class)
                    override fun doExecute(inputStream: ZipInputStream) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
            @Test
            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top