Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 800 for isInvalid (0.47 sec)

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

        // Throws exception if not working correctly
        HostSpecifier unused = HostSpecifier.fromValid(spec);
        unused = HostSpecifier.from(spec);
        assertTrue(HostSpecifier.isValid(spec));
      }
    
      private void assertBad(String spec) {
        try {
          HostSpecifier.fromValid(spec);
          fail("Should have thrown IllegalArgumentException: " + spec);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 4, 6, 99 })
        @DisplayName("seq ctor: invalid pvno values throw")
        void sequenceConstructor_invalidVersion_throws(int badPvno) throws Exception {
            // Arrange: Build sequence with invalid version and otherwise valid tags
            ASN1EncodableVector v = new ASN1EncodableVector();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            request.encoding("INVALID-ENCODING");
    
            try {
                request.param("key", "value");
                fail("Expected CurlException for invalid encoding");
            } catch (CurlException e) {
                assertTrue(e.getMessage().contains("Invalid encoding"));
            }
        }
    
        @Test
        public void testFluentChaining() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size
    
                // When & Then
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                            "Expected trailing slash message, was: " + ex.getMessage());
                } else {
                    assertTrue(ex.getMessage().contains("invalid") || ex.getMessage().contains("invalid:"),
                            "Expected invalid list operation message, was: " + ex.getMessage());
                }
            }
        }
    
        @Nested
        @DisplayName("Master browser enumeration tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/MediaType.java

       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createApplicationType(String subtype) {
        return create(APPLICATION_TYPE, subtype);
      }
    
      /**
       * Creates a media type with the "audio" type and the given subtype.
       *
       * @throws IllegalArgumentException if subtype is invalid
       */
      static MediaType createAudioType(String subtype) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/web.xml

      <jsp-config>
        <jsp-property-group>
          <url-pattern>*.jsp</url-pattern>
          <el-ignored>false</el-ignored>
          <page-encoding>UTF-8</page-encoding>
          <scripting-invalid>false</scripting-invalid>
          <include-prelude>/WEB-INF/view/common/common.jsp</include-prelude>
        </jsp-property-group>
      </jsp-config>
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            // A null byte array should cause a PACDecodingException.
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the constructor with a byte array that is too large.
         */
        @Test
        void testConstructorWithDataTooLarge() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/moment-with-locales.min.js

    ltFormatUtc:M.defaultFormat);var a=A(this,e);return this.localeData().postformat(a)},yt.from=function(e,a){return this.isValid()&&(D(e)&&e.isValid()||Ha(e).isValid())?Ga({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},yt.fromNow=function(e){return this.from(Ha(),e)},yt.to=function(e,a){return this.isValid()&&(D(e)&&e.isValid()||Ha(e).isValid())?Ga({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()},yt.toNow=function(e){return...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 360.5K bytes
    - Viewed (2)
  10. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top