Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for newContexts (0.08 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("1.3.1_09-b03")));
    
            assertActivation(true, profile, newContext(null, newProperties("1.5")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0_09")));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "1", "aarch64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "99", "amd64")));
            assertActivation(true, profile, newContext(null, newProperties("windows", "99", "aarch64")));
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(false, profile, newContext(newProperties("other", "value"), null));
        }
    
        @Test
        void testWithNameOnlySystemProperty() throws Exception {
            Profile profile = newProfile("prop", null);
    
            assertActivation(true, profile, newContext(null, newProperties("prop", "value")));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        private SpnegoContext newContext() {
            return new SpnegoContext(this.config, this.mechContext, this.mechs);
        }
    
        @Test
        @DisplayName("getSupportedMechs returns SPNEGO OID")
        void testGetSupportedMechs() {
            SpnegoContext ctx = newContext();
            ASN1ObjectIdentifier[] supported = ctx.getSupportedMechs();
            assertNotNull(supported);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. cmd/dummy-handlers.go

    // They are only defined to be used in this file alone.
    
    // GetBucketWebsite  - GET bucket website, a dummy api
    func (api objectAPIHandlers) GetBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketWebsite")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 13 15:25:16 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/CIFSContextTest.java

        void testWithDefaultCredentials() {
            // Given
            CIFSContext newContext = mock(CIFSContext.class);
            when(mockContext.withDefaultCredentials()).thenReturn(newContext);
    
            // When
            CIFSContext context = mockContext.withDefaultCredentials();
    
            // Then
            assertEquals(newContext, context);
            verify(mockContext).withDefaultCredentials();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      @Override
      @CanIgnoreReturnValue
      protected M resetContainer(M newContents) {
        multimap = super.resetContainer(newContents);
        return multimap;
      }
    
      @CanIgnoreReturnValue
      protected Multimap<K, V> resetContainer(Entry<K, V>... newContents) {
        multimap = super.resetContainer(getSubjectGenerator().create((Object[]) newContents));
        return multimap;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      @Override
      @CanIgnoreReturnValue
      protected M resetContainer(M newContents) {
        multimap = super.resetContainer(newContents);
        return multimap;
      }
    
      @CanIgnoreReturnValue
      protected Multimap<K, V> resetContainer(Entry<K, V>... newContents) {
        multimap = super.resetContainer(getSubjectGenerator().create((Object[]) newContents));
        return multimap;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  9. cmd/acl-handlers.go

    // to set ACL for a bucket, this is a dummy call
    // only responds success if the ACL is private.
    func (api objectAPIHandlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketACL")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  10. cmd/bucket-policy-handlers.go

    // https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html
    func (api objectAPIHandlers) PutBucketPolicyHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketPolicy")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 6.1K bytes
    - Click Count (0)
Back to Top