- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for FeatureName (0.2 sec)
-
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishJavaWithDocsAndFeaturesIntegTest.groovy
features().each { featureName -> def sourceSetName = featureName == MavenJavaModule.MAIN_FEATURE ? MavenJavaModule.MAIN_FEATURE : "${featureName}SourceSet" def className = classNameForFeature(featureName) file("src/${sourceSetName}/java/${className}.java").text = """ /** * This is my awesome implementation of the ${featureName} feature */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ProjectDerivedCapability.java
private final Project project; private final String featureName; public ProjectDerivedCapability(Project project) { this(project, null); } public ProjectDerivedCapability(Project project, @Nullable String featureName) { this.project = project; this.featureName = featureName; } @Override public String getGroup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/features/kube_features_test.go
func TestKubeFeaturesRegistered(t *testing.T) { registeredFeatures := utilfeature.DefaultFeatureGate.DeepCopy().GetAll() for featureName := range defaultKubernetesFeatureGates { if _, ok := registeredFeatures[featureName]; !ok { t.Errorf("The feature gate %q is not registered in the DefaultFeatureGate", featureName) } } } // TestClientFeaturesRegistered tests that all client features are registered.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jan 16 17:51:00 UTC 2024 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker_test.go
tests := []struct { testName string featureName string expectedResult bool }{ { testName: "Disabled - with unknown feature", featureName: "some unknown feature", }, { testName: "Disabled - with empty feature", featureName: "", }, { testName: "Disabled - default", featureName: storage.RequestWatchProgress, expectedResult: false, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/kubeadm/app/features/features_test.go
func TestEnabledDefaults(t *testing.T) { for featureName, feature := range InitFeatureGates { featureList := make(map[string]bool) enabled := Enabled(featureList, featureName) if enabled != feature.Default { t.Errorf("Enabled returned %v instead of default value %v for feature %s", enabled, feature.Default, featureName) } } } func TestCheckDeprecatedFlags(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 04:57:22 UTC 2023 - 7.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactVariantReselectionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 18 19:46:19 UTC 2023 - 7.7K bytes - Viewed (0) -
cmd/kubeadm/app/features/features.go
func Enabled(featureList map[string]bool, featureName string) bool { if enabled, ok := featureList[featureName]; ok { return enabled } return InitFeatureGates[featureName].Default } // Supports indicates whether a feature name is supported on the given // feature set func Supports(featureList FeatureList, featureName string) bool { for k := range featureList { if featureName == k { return true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 13:55:11 UTC 2024 - 6.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenJavaModule.groovy
} @Override void assertPublished() { assertPublished(null, "jar") } static String variantName(String featureName, String baseName) { if (featureName == MAIN_FEATURE) { baseName } else { featureName + 'SourceSet' + baseName.capitalize() } } private static String featurePrefix(String feature) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/feature/feature_gate.go
// Tests that need to modify feature gates for the duration of their test should use: // featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.<FeatureName>, <value>) DefaultMutableFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate() // DefaultFeatureGate is a shared global FeatureGate.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 1.3K bytes - Viewed (0) -
hack/verify-test-featuregates.sh
echo "${direct_sets}" >&2 echo >&2 echo "Use this invocation instead:" >&2 echo " featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.<FeatureName>, <value>)" >&2 echo >&2 rc=1 fi # ensure all generic features are added in alphabetic order lines=$(git grep 'genericfeatures[.].*:' -- pkg/features/kube_features.go)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 1.8K bytes - Viewed (0)