- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 179 for Stub (0.05 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy
execHandleFactory, new DefaultJvmVersionDetector(new CachingJvmMetadataDetector(defaultJvmMetadataDetector)), outputEventListener, Stub(MemoryManager) ) and: execute(worker(loggingProcess)) then: !outputEventListener.toString().contains(TextUtil.toPlatformLineSeparators(expectedLogStatement))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy
import spock.lang.Specification class DefaultConfigurationContainerTest extends Specification { private ConfigurationResolver resolver = Mock(ConfigurationResolver) private ListenerManager listenerManager = Stub(ListenerManager.class) private DependencyMetaDataProvider metaDataProvider = Mock(DependencyMetaDataProvider.class) private ComponentIdentifierFactory componentIdentifierFactory = Mock(ComponentIdentifierFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:29:40 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy
@Rule final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def metaDataProvider = Mock(ProcessMetaDataProvider) def generator = Stub(LongSupplier) def contentionHandler = Stub(FileLockContentionHandler) FileLockManager manager = new DefaultFileLockManager(metaDataProvider, 5000, contentionHandler, generator) TestFile testFile TestFile testFileLock
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 13.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultIvyArtifactRepositoryTest.groovy
final ExternalResourceRepository resourceRepository = Mock() final DefaultArtifactIdentifierFileStore artifactIdentifierFileStore = Stub() final DefaultExternalResourceFileStore externalResourceFileStore = Stub() final AuthenticationContainer authenticationContainer = Stub() final ivyContextManager = Mock(IvyContextManager) final ImmutableModuleIdentifierFactory moduleIdentifierFactory = Mock()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 24K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/SingleIncludePatternFileTreeSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy
final ManagedFactoryRegistry managedFactoryRegistry = new DefaultManagedFactoryRegistry().withFactories(generatorFactory) ClassGenerator generator = AsmBackedClassGenerator.injectOnly([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(), generatorFactory.id) def canConstructInstanceOfAbstractClassWithAbstractPropertyGetterAndSetter() { def bean = create(BeanWithAbstractProperty)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 16.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
} }) } type cacheSyncWaiterStub struct { startedByInformerType map[reflect.Type]bool } // WaitForCacheSync is a stub implementation of the corresponding func // that simply returns the value passed during stub initialization. func (s cacheSyncWaiterStub) WaitForCacheSync(_ <-chan struct{}) map[reflect.Type]bool { return s.startedByInformerType }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 20:43:16 UTC 2023 - 11.4K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy
1 * listener3.dispatch(invocation) 0 * _ } def "can remove listener implemented using Proxy that does not implement equals()"() { TestListener other1 = Stub(TestListener) TestListener other2 = Stub(TestListener) TestListener listener = Proxy.newProxyInstance(getClass().classLoader, [TestListener] as Class[], new InvocationHandler() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 14.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy
import java.nio.file.Paths import java.util.function.Supplier class TomlCatalogFileParserTest extends Specification implements VersionCatalogErrorMessages { def supplier = Stub(Supplier) def problems = new DefaultProblems( Stub(ProblemEmitter) ) def createVersionCatalogBuilder() { new DefaultVersionCatalogBuilder( "libs", Interners.newStrongInterner(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 05:41:21 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy
def details = Mock(CompatibilityCheckDetails) when: rules.execute(details) then: 1 * details.getConsumerValue() >> Stub(Usage) { getName() >> consumer } 1 * details.getProducerValue() >> Stub(Usage) { getName() >> producer } if (producer == consumer) { // implementations are NOT required to say "compatible" because
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 16.4K bytes - Viewed (0)