Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for testFlags (0.09 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/GradleDistroTestTask.java

        }
    
        @Option(option = "tests", description = "Sets test class or method name to be included, '*' is supported.")
        public void setTestClass(String testClass) {
            this.testClass = testClass;
        }
    
        @Input
        public List<String> getExtraArgs() {
            return extraArgs;
        }
    
        public void extraArg(String arg) {
            this.extraArgs.add(arg);
        }
    
        @Override
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  2. internal/bucket/replication/filter.go

    		}
    	}
    	if !f.Tag.IsEmpty() {
    		if err := f.Tag.Validate(); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // TestTags tests if the object tags satisfy the Filter tags requirement,
    // it returns true if there is no tags in the underlying Filter.
    func (f *Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cached := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. internal/bucket/lifecycle/filter.go

    		}
    	case sizeGtPred:
    		if f.ObjectSizeGreaterThan < 0 {
    			err = errXMLNotWellFormed
    		}
    	}
    	return err
    }
    
    // TestTags tests if the object tags satisfy the Filter tags requirement,
    // it returns true if there is no tags in the underlying Filter.
    func (f Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cache := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 04 17:01:26 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/filter_test.go

    		},
    		{
    			filter:   twoTags,
    			userTags: "BAR=2&FOO=1",
    			want:     true,
    		},
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			if got := test.filter.TestTags(test.userTags); got != test.want {
    				t.Errorf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  6. internal/bucket/replication/replication.go

    			continue
    		}
    		if obj.ExistingObject && rule.ExistingObjectReplication.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.Prefix()) {
    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    		return rules[i].Priority > rules[j].Priority && rules[i].Destination.String() == rules[j].Destination.String()
    	})
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top