Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 167 for EX (0.03 sec)

  1. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        @Test
        @DisplayName("parse throws IOException on null input")
        void parseThrowsOnNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null");
            assertTrue(ex.getMessage().toLowerCase().contains("null"));
        }
    
        @Test
        @DisplayName("toByteArray returns empty when no mechanismToken")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    this.ans = this.tc.getNameServiceClient().getNbtAllByName(this.host, this.type, this.scope, this.svr);
                } catch (final UnknownHostException ex) {
                    this.uhe = ex;
                } catch (final Exception ex) {
                    this.uhe = new UnknownHostException(ex.getMessage());
                } finally {
                    synchronized (this.sem) {
                        this.sem.count--;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            SmbFilenameFilter filter = (dir, name) -> {
                throw new SmbException("boom");
            };
    
            SmbException ex = assertThrows(SmbException.class, () -> filter.accept(mockDir, "x"));
            assertEquals("boom", ex.getMessage(), "Exception message should be preserved");
            verifyNoInteractions(mockDir);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act + Assert
            UnsupportedOperationException ex = assertThrows(UnsupportedOperationException.class, it::remove);
            assertEquals("remove", ex.getMessage());
        }
    
        @Test
        @DisplayName("Null tree handle throws NullPointerException during construction")
        void nullTreeHandle() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/feature_request.md

    about: Suggest an idea for this project
    title: ''
    labels: community, triage
    assignees: ''
    
    ---
    
    **Is your feature request related to a problem? Please describe.**
    A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
    
    **Describe the solution you'd like**
    A clear and concise description of what you want to happen.
    
    **Describe alternatives you've considered**
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 07 20:49:54 UTC 2019
    - 610 bytes
    - Viewed (0)
  6. fuzzing/fuzzingserver-test.sh

      echo "Run 'pip install autobahntestsuite', maybe with 'sudo'."
      exit 1
    fi
    which jq
    if [ $? != 0 ]; then
      echo "Run 'brew install jq'"
      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    java -jar target/okhttp-tests-*-jar-with-dependencies.jar
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 673 bytes
    - Viewed (0)
  7. src/main/java/jcifs/spnego/NegTokenTarg.java

                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            } catch (final IOException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
        protected void parse(final byte[] token) throws IOException {
            try (ASN1InputStream der = new ASN1InputStream(token)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. test_docs.sh

    # https://squidfunk.github.io/mkdocs-material/
    # It requires Python to run.
    # Install the packages with the following command:
    # pip install mkdocs mkdocs-material mkdocs-redirects
    
    set -ex
    
    # Test generating the javadoc jars
    ./gradlew publishToMavenLocal -DRELEASE_SIGNING_ENABLED=false
    
    # Generate the API docs
    ./gradlew dokkaHtmlMultiModule
    
    mv ./build/dokka/htmlMultiModule docs/4.x
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:52:16 UTC 2024
    - 718 bytes
    - Viewed (1)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        void testException() {
            // Given
            Exception ex = new RuntimeException("Runtime error");
            doNothing().when(response).exception(ex);
    
            // When
            response.exception(ex);
    
            // Then
            verify(response).exception(ex);
        }
    
        @Test
        @DisplayName("Test CommonServerMessageBlock inherited methods")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/RequestParamTest.java

        void valueOfRejectsUnknownOrCaseMismatch(String badName) {
            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> RequestParam.valueOf(badName));
            assertTrue(ex.getMessage().contains(badName), "Exception message should mention the bad name");
        }
    
        // Edge/Invalid: empty string is invalid for valueOf
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top