Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for forbidden (0.06 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        /*
         * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to
         * test the forwarded methods
         */
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
      public void testListeningDecorator_noWrapExecuteTask() {
        ExecutorService delegate = mock(ExecutorService.class);
        ListeningExecutorService service = listeningDecorator(delegate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        /*
         * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to
         * test the forwarded methods
         */
      }
    
      @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock.
      public void testListeningDecorator_noWrapExecuteTask() {
        ExecutorService delegate = mock(ExecutorService.class);
        ListeningExecutorService service = listeningDecorator(delegate);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  3. cmd/kms-handlers_test.go

    func TestKMSHandlersCreateKey(t *testing.T) {
    	adminTestBed, tearDown := setupKMSTest(t, true)
    	defer tearDown()
    
    	tests := []kmsTestCase{
    		// Create key test
    		{
    			name:   "create key as user with no policy want forbidden",
    			method: http.MethodPost,
    			path:   kmsKeyCreatePath,
    			query:  map[string]string{"key-id": "new-test-key"},
    			asRoot: false,
    
    			wantStatusCode: http.StatusForbidden,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

            Files.write(getSuccessMarker().toPath(), new byte[] {});
        }
    
        private void logForbiddenAPIsOutput(String forbiddenApisOutput) {
            getLogger().error("Forbidden APIs output:\n{}==end of forbidden APIs==", forbiddenApisOutput);
        }
    
        private void throwNotConfiguredCorrectlyException() {
            throw new IllegalArgumentException("Audit of third party dependencies is not configured correctly");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/util/PathValidatorTest.java

            });
        }
    
        @Test
        public void testBlacklist() throws Exception {
            validator.addToBlacklist("\\share\\forbidden");
    
            // Should block blacklisted path
            try {
                validator.validatePath("\\share\\forbidden\\file.txt");
                fail("Should block blacklisted path");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("not allowed"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  6. build-tools-internal/build.gradle

      api 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
      // for our ide tweaking
      api 'gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.7'
      // When upgrading forbidden apis, ensure dependency version is bumped in ThirdPartyPrecommitPlugin as well
      api 'de.thetaphi:forbiddenapis:3.1'
      api 'com.avast.gradle:gradle-docker-compose-plugin:0.14.0'
      api 'org.apache.maven:maven-model:3.6.2'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                nonInputProperties.systemProperty("gradle.user.home", gradleUserHome);
                // we use 'temp' relative to CWD since this is per JVM and tests are forbidden from writing to CWD
                nonInputProperties.systemProperty("java.io.tmpdir", test.getWorkingDir().toPath().resolve("temp"));
    
                // TODO: remove setting logging level via system property
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        }
    
      fun test(component: Component) =
        apply {
          for ((codePoint, encoding) in encodings) {
            val codePointString = Encoding.IDENTITY.encode(codePoint)
            if (encoding == Encoding.FORBIDDEN) {
              testForbidden(codePoint, codePointString, component)
              continue
            }
            if (encoding == Encoding.PUNYCODE) {
              testPunycode(codePointString, component)
              continue
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       */
      open fun canceled(call: Call) {
      }
    
      /**
       * Invoked when a call fails due to cache rules.
       * For example, we're forbidden from using the network and the cache is insufficient
       */
      open fun satisfactionFailure(
        call: Call,
        response: Response,
      ) {
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                                }
                            }
                        }
                    } else {
                        // Forbidden
                        logger.warn("Access denied to file: file={}", file.getAbsolutePath());
                        responseData.setHttpStatusCode(Constants.FORBIDDEN_STATUS_CODE);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top