- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for withModel (0.37 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/PersistentCompositeDependencySubstitutionCrossVersionSpec.groovy
} @TargetGradleVersion(">=3.3") def "Does not execute tasks for included builds when generating IDE models"() { when: def modelOperation = withModel(modelType) def modelInstance = modelOperation.model then: modelType.isInstance modelInstance modelOperation.result.assertTasksExecuted() where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy
toolingApi.withConnection(cl) } catch (GradleConnectionException e) { caughtGradleConnectionException = e throw e } } ConfigurableOperation withModel(Class modelType, Closure cl = {}) { withConnection { def model = it.model(modelType) cl(model) new ConfigurableOperation(model).buildModel() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ActionNodeCodec.kt
import org.gradle.internal.serialize.graph.readNonNull import org.gradle.internal.serialize.graph.withCodec import org.gradle.execution.plan.ActionNode class ActionNodeCodec( private val userTypesCodec: Codec<Any?>, ) : Codec<ActionNode> { override suspend fun WriteContext.encode(value: ActionNode) { withCodec(userTypesCodec) { write(value.action) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/DelegatingCodec.kt
import org.gradle.internal.serialize.graph.withCodec /** * A codec that delegates to some more general codec, but only for a specific type */ class DelegatingCodec<T>( private val userTypesCodec: Codec<Any?>, ) : Codec<T> { override suspend fun WriteContext.encode(value: T) { // Delegate to the other codec withCodec(userTypesCodec) { write(value) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java
return children.withNode(targetPath, caseSensitivity, new ChildMap.NodeHandler<T, Optional<MetadataSnapshot>>() { @Override public Optional<MetadataSnapshot> handleAsDescendantOfChild(VfsRelativePath pathInChild, T child) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 5.4K bytes - Viewed (0) -
manifests/addons/dashboards/lib/panels.libsonnet
heatmap.new(title) + heatmap.queryOptions.withTargets(targets) + heatmap.queryOptions.withInterval('1m') + options.calculation.xBuckets.withMode('size') + options.calculation.xBuckets.withValue('1min') + options.withCellGap(0) + options.color.withMode('scheme') + options.color.withScheme('Spectral') + options.color.withSteps(128) + options.yAxis.withDecimals(0)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/volumemanager/volume_manager_test.go
} fakeRecorder := &record.FakeRecorder{} plugMgr := &volume.VolumePluginMgr{} // TODO (#51147) inject mock prober fakeVolumeHost := volumetest.NewFakeKubeletVolumeHost(t, tmpDir, kubeClient, nil) fakeVolumeHost.WithNode(node) plugMgr.InitPlugins([]volume.VolumePlugin{attachablePlug, unattachablePlug}, nil /* prober */, fakeVolumeHost) stateProvider := &fakePodStateProvider{} fakePathHandler := volumetest.NewBlockVolumePathHandler()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.1K bytes - Viewed (0) -
pkg/volume/testing/volume_host.go
if err := host.WaitForKubeletErrNil(); err != nil { t.Fatalf("Failed to wait for kubelet err to be nil while creating fake volume host: %v", err) } return host } func (f *fakeKubeletVolumeHost) WithNode(node *v1.Node) *fakeKubeletVolumeHost { f.node = node return f } type CSINodeLister []storagev1.CSINode // Get returns a fake CSINode object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 16.5K bytes - Viewed (0) -
pkg/volume/testing/testing.go
plugins := ProbeVolumePlugins(volume.VolumeConfig{}) v := NewFakeKubeletVolumeHost( t, "", /* rootDir */ nil, /* kubeClient */ plugins, /* plugins */ ) v.WithNode(node) return v.GetPluginMgr(), plugins[0].(*FakeVolumePlugin) } func GetTestKubeletVolumePluginMgrWithNodeAndRoot(t *testing.T, node *v1.Node, rootDir string) (*volume.VolumePluginMgr, *FakeVolumePlugin) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)