Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for expectedNames (0.5 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy

        void recompiledFiles(Collection<File> files) {
            def expectedNames = files.collect({ removeExtension(it.name) }) as Set
            assert changedFileNames == expectedNames
        }
    
        //asserts has the exact set of output files
        void hasFiles(File... files) {
            def expectedNames = files.collect({ removeExtension(it.name) }) as Set
            assert getFiles { true } == expectedNames
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/event/name_test.go

    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(name, testCase.expectedName) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedName, name)
    			}
    		}
    	}
    }
    
    func TestParseName(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		s            string
    		expectedName Name
    		expectErr    bool
    	}{
    		{"s3:ObjectAccessed:*", ObjectAccessedAll, false},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyTest.kt

        fun `if multiple property extractors have properties with the same name, first wins`() {
            val expectedName = "test"
            val schema = schemaFromTypes(
                MyReceiver::class,
                listOf(MyReceiver::class),
                propertyExtractor = testPropertyContributor(expectedName, typeOf<Int>()) + testPropertyContributor(expectedName, typeOf<String>())
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertEquals(expectedName, domain.toString());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. pkg/kubeapiserver/authorizer/config.go

    		if string(authorizer.Type) == modes.ModeWebhook {
    			continue
    		}
    		seenModes.Insert(authorizer.Type)
    
    		expectedName := GetNameForAuthorizerMode(string(authorizer.Type))
    		if expectedName != authorizer.Name {
    			allErrors = append(allErrors, fmt.Errorf("expected name %s for authorizer %s instead of %s", expectedName, authorizer.Type, authorizer.Name))
    		}
    
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/flag/flag_test.go

    	}
    }
    
    func TestGetters(t *testing.T) {
    	expectedName := "flag set"
    	expectedErrorHandling := ContinueOnError
    	expectedOutput := io.Writer(os.Stderr)
    	fs := NewFlagSet(expectedName, expectedErrorHandling)
    
    	if fs.Name() != expectedName {
    		t.Errorf("unexpected name: got %s, expected %s", fs.Name(), expectedName)
    	}
    	if fs.ErrorHandling() != expectedErrorHandling {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            }
    
            boolean result = actualArch.equals(test);
    
            return reverse != result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName.toLowerCase(Locale.ENGLISH);
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 05 14:16:41 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            }
    
            boolean result = actualArch.equals(test);
    
            return reverse != result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/match/matchers.go

    func AnyServiceName(expected echo.NamespacedNames) Matcher {
    	return func(instance echo.Instance) bool {
    		serviceName := instance.NamespacedName()
    		for _, expectedName := range expected {
    			if serviceName == expectedName {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    // Namespace matches instances within the given namespace name.
    func Namespace(n namespace.Instance) Matcher {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. pkg/kubelet/server/server_test.go

    	fw := newServerTest()
    	defer fw.testHTTPServer.Close()
    
    	// method:path -> has coverage
    	expectedCases := map[string]bool{}
    
    	// Test all the non-web-service handlers
    	for _, path := range fw.serverUnderTest.restfulCont.RegisteredHandlePaths() {
    		expectedCases["GET:"+path] = false
    		expectedCases["POST:"+path] = false
    	}
    
    	// Test all the generated web-service paths
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top