Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for cbad (1.53 sec)

  1. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

      public void testFromStringBadDefaultPort() {
        // Well-formed strings with bad default ports.
        checkFromStringCase("gmail.com:81", -1, "gmail.com", 81, true);
        checkFromStringCase("192.0.2.2:83", -1, "192.0.2.2", 83, true);
        checkFromStringCase("[2001::2]:85", -1, "2001::2", 85, true);
        checkFromStringCase("goo.gl:65535", 65536, "goo.gl", 65535, true);
        // No port, bad default.
        checkFromStringCase("google.com", -1, "google.com", -1, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostAndPortTest.java

      public void testFromStringBadDefaultPort() {
        // Well-formed strings with bad default ports.
        checkFromStringCase("gmail.com:81", -1, "gmail.com", 81, true);
        checkFromStringCase("192.0.2.2:83", -1, "192.0.2.2", 83, true);
        checkFromStringCase("[2001::2]:85", -1, "2001::2", 85, true);
        checkFromStringCase("goo.gl:65535", 65536, "goo.gl", 65535, true);
        // No port, bad default.
        checkFromStringCase("google.com", -1, "google.com", -1, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtStatus.java

        /** The object path is invalid */
        int NT_STATUS_OBJECT_PATH_INVALID = 0xC0000039;
        /** The object path was not found */
        int NT_STATUS_OBJECT_PATH_NOT_FOUND = 0xC000003a;
        /** The object path syntax is bad */
        int NT_STATUS_OBJECT_PATH_SYNTAX_BAD = 0xC000003b;
        /** The process cannot access the file because it is being used by another process */
        int NT_STATUS_SHARING_VIOLATION = 0xC0000043;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

                dcerpcBinding.setOption("endpoint", endpoint);
            }, "Should throw DcerpcException for unknown pipe endpoint.");
    
            assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint.");
        }
    
        @Test
        void testSetOptionEndpointInvalidFormat() {
            String endpoint = "135"; // Example non-pipe endpoint that is not recognized
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Arrange
            stubAcquireReturnsSelf();
            when(nameFilter.accept(parent, "bad")).thenThrow(new CIFSException("bad name"));
            when(nameFilter.accept(parent, "good")).thenReturn(true);
    
            FileEntry initial = entry("first");
            FileEntry[] page1 = new FileEntry[] { entry("bad"), entry("good") };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/NegTokenTargTest.java

        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
            byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object
            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
        @DisplayName("mechanism token empty array – preserved after round‑trip")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create SpnegoException with cause")
        void testWithCause() {
            // Given
            IllegalArgumentException cause = new IllegalArgumentException("bad arg");
    
            // When
            SpnegoException ex = new SpnegoException(cause);
    
            // Then
            assertNotNull(ex);
            assertEquals(cause, ex.getCause());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return;
        }
        fail();
      }
    
      private static class BadEqualsFactory {
        /** oneConstantOnly matters now since it can be either null or the constant. */
        @Keep
        public static Object bad(String a, int b, @Nullable OneConstantEnum oneConstantOnly) {
          return new GoodEquals(a, b);
        }
      }
    
      public void testNullsOnReturnValues_good() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            }
        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String message = "LDAP error: \"Invalid <config>\" & 'bad chars' @ #$%^&*()";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtStatus.java

        /** The object path is invalid */
        int NT_STATUS_OBJECT_PATH_INVALID = 0xC0000039;
        /** The object path was not found */
        int NT_STATUS_OBJECT_PATH_NOT_FOUND = 0xC000003a;
        /** The object path syntax is bad */
        int NT_STATUS_OBJECT_PATH_SYNTAX_BAD = 0xC000003b;
        /** The process cannot access the file because it is being used by another process */
        int NT_STATUS_SHARING_VIOLATION = 0xC0000043;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top