Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 893 for isValid (0.08 sec)

  1. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            MockletHttpServletRequest req = getMockRequest();
            assertNull(accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_bad1() {
            final String token = "INVALID _TOKEN0";
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
            try {
                accessTokenHelper.getAccessTokenFromRequest(req);
                fail();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        public void test_getAvailableArtifacts_exception() {
            PluginHelper errorHelper = new PluginHelper() {
                @Override
                protected String[] getRepositories() {
                    return new String[] { "invalid-repo" };
                }
    
                @Override
                protected String getRepositoryContent(String url) {
                    throw new RuntimeException("Repository error");
                }
            };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Test all s3 supported auth types.
    func TestS3SupportedAuthType(t *testing.T) {
    	type testCase struct {
    		authT authType
    		pass  bool
    	}
    	// List of all valid and invalid test cases.
    	testCases := []testCase{
    		// Test 1 - supported s3 type anonymous.
    		{
    			authT: authTypeAnonymous,
    			pass:  true,
    		},
    		// Test 2 - supported s3 type presigned.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

        public void test_throwAndCatchWithCause() {
            // Test throwing and catching the exception with cause
            String expectedMessage = "System error occurred";
            Exception expectedCause = new IllegalStateException("Invalid state");
    
            try {
                throw new FessSystemException(expectedMessage, expectedCause);
            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NetServerEnumIterator.java

                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
            } else {
                throw new SmbException("The requested list operations is invalid: " + locator.getURL());
            }
            this.response = new NetServerEnum2Response(th.getConfig());
    
            this.treeHandle = th.acquire();
            try {
                this.next = open();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

            final Reader rd = new StringReader(inputStr);
            try (TokenStream stream = createTokenStream(rd)) {
                if (stream == null) {
                    throw new IOException("Invalid tokenizer.");
                }
                stream.reset();
    
                int offset = 0;
                while (stream.incrementToken()) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
     * [IllegalArgumentException] on invalid input or [toHttpUrlOrNull] returns null if the input is an
     * invalid URL. You can even be explicit about whether each component has been encoded already.
     *
     * [idna]: http://www.unicode.org/reports/tr46/#ToASCII
     */
    class HttpUrl private constructor(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            // StructureSize (2 bytes) - must be 44
            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.structureSize != 44) {
                throw new SMBProtocolDecodingException("Invalid lease break structure size: " + this.structureSize);
            }
            bufferIndex += 2;
    
            // Reserved (2 bytes)
            bufferIndex += 2;
    
            // Flags (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly maintained
            String message = "Stack trace test";
            Exception cause = new IllegalArgumentException("Invalid argument");
            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            // Verify stack trace exists
            StackTraceElement[] stackTrace = exception.getStackTrace();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top