- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 179 for Stub (0.6 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy
_ * artifact.extension >> extension return artifact } def add(DefaultResolvedDependency dependency, ResolvedArtifact artifact) { dependency.addParentSpecificArtifacts(Stub(DefaultResolvedDependency), TestArtifactSet.create(ImmutableAttributes.EMPTY, [artifact])) } private DefaultResolvedDependency createResolvedDependency() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy
} def canGetAndSetTaskDependencies() { def context = Mock(TaskDependencyResolveContext) def dep = new DefaultTaskDependency() def taskDependencyFactory = Stub(TaskDependencyFactory) _ * taskDependencyFactory.configurableDependency() >> dep
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy
deps.includeRoots >> fileCollection fileCollection.files >> (files as Set) return deps } private DomainObjectSet<Task> domainObjectSet(Task... tasks) { def set = Stub(DomainObjectSet) set.iterator() >> tasks.iterator() return set } interface TestExecutableBinary extends NativeExecutableBinarySpecInternal, ExtensionAware {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.3K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt
* component comparison (see [LLFirElementByPsiElementChooser]). * * TODO: We might be able to remove this service if KT-65836 is viable (using stub-based deserialized symbol providers in Standalone mode). */ class LLStandaloneFirElementByPsiElementChooser : LLFirElementByPsiElementChooser() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 15 11:34:07 UTC 2024 - 14.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy
class DefaultPluginRegistryTest extends Specification { @Rule final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def classLoader = Mock(ClassLoader) def classLoaderScope = Stub(ClassLoaderScope) { getLocalClassLoader() >> classLoader } def pluginInspector = new PluginInspector(new ModelRuleSourceDetector())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:06 UTC 2021 - 13K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderTest.groovy
} private def createEclipseModelBuilder() { def gradleProjectBuilder = new GradleProjectBuilder() def uniqueProjectNameProvider = Stub(EclipseModelAwareUniqueProjectNameProvider) { getUniqueName(_ as Project) >> { Project p -> p.getName() } } new EclipseModelBuilder(gradleProjectBuilder, uniqueProjectNameProvider) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForBuildOperationsTest.groovy
when: def buildDesc = buildDescriptor(666, 'some build') def startEvent = buildStartEvent(999, 'start build', buildDesc) def buildResult = buildFailure(1, 2, Stub(InternalFailure)) def failedEvent = buildFinishEvent(999, 'build failed', buildDesc, buildResult) adapter.onEvent(startEvent) // failedEvent always assumes a previous startEvent
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.3K bytes - Viewed (0) -
src/runtime/stubs.go
// // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname procyield func procyield(cycles uint32) type neverCallThisFunction struct{} // goexit is the return stub at the top of every goroutine call stack. // Each goroutine stack is constructed as if goexit called the // goroutine's entry point function, so that when the entry point
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultClassLoaderScopeTest.groovy
def rootClassLoader = new URLClassLoader(classPath("root").asURLArray, getClass().classLoader.parent) root = new RootClassLoaderScope("root", rootClassLoader, rootClassLoader, classLoaderCache, Stub(ClassLoaderScopeRegistryListener)) scope = root.createChild("child", null) } TestFile file(String path) { testDirectoryProvider.testDirectory.file(path) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 13.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
def task = expectTaskCreated(DefaultTask) expect: task.getActions().isEmpty() } def propagatesExceptionThrownByTaskActionMethod() { given: def action = Stub(Runnable, { run() >> { throw new RuntimeException() } }) def task = expectTaskCreated(TestTask, action) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0)