Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for matchers (0.22 sec)

  1. maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.arrayWithSize;
    import static org.hamcrest.Matchers.hasSize;
    import static org.hamcrest.Matchers.is;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     */
    @PlexusTest
    class DefaultLifecyclesTest {
        @Inject
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    class ProjectDependenciesResolverTest extends AbstractCoreMavenComponentTestCase {
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.containsString;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

    import org.apache.maven.internal.impl.standalone.ApiRunner;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.containsString;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.hamcrest.Matchers.lessThan;
    import static org.hamcrest.Matchers.startsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/testdata/configdump.json

                      },
                      "custom_match": {
                        "name": "ip",
                        "typed_config": {
                          "@type": "type.googleapis.com/xds.type.matcher.v3.IPMatcher",
                          "range_matchers": [
                            {
                              "ranges": [
                                {
                                  "address_prefix": "10.111.182.109",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 52K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                      },
                      "custom_match": {
                        "name": "ip",
                        "typed_config": {
                          "@type": "type.googleapis.com/xds.type.matcher.v3.IPMatcher",
                          "range_matchers": [
                            {
                              "ranges": [
                                {
                                  "address_prefix": "10.111.182.109",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (1)
  8. tensorflow/c/c_api_test.cc

     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    // (https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#writing-new-parameterized-matchers-quickly)
    // That will require setting up the tensorflow build with gmock.
    #define EXPECT_TF_META(attr_name, expected_list_size, expected_type, \
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          var month = -1
          var year = -1
          val matcher = TIME_PATTERN.matcher(s)
    
          while (pos < limit) {
            val end = dateCharacterOffset(s, pos + 1, limit, true)
            matcher.region(pos, end)
    
            when {
              hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
                hour = matcher.group(1).toInt()
                minute = matcher.group(2).toInt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. istioctl/pkg/checkinject/checkinject.go

    }
    
    func extractMatchedSelectorInfo(ls *metav1.LabelSelector, objLabels map[string]string) (matched bool, injLabel string) {
    	if ls == nil {
    		return true, ""
    	}
    	selector, err := metav1.LabelSelectorAsSelector(ls)
    	if err != nil {
    		return false, ""
    	}
    	matched = selector.Matches(labels.Set(objLabels))
    	if !matched {
    		return matched, ""
    	}
    	for _, me := range ls.MatchExpressions {
    		switch me.Operator {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top