Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 179 for Stub (0.04 sec)

  1. platforms/jvm/java-platform/src/test/java/org/gradle/internal/component/model/JavaEcosystemAttributeMatcherTest.groovy

     */
    class JavaEcosystemAttributeMatcherTest extends Specification {
    
        def schema = new DefaultAttributesSchema(TestUtil.instantiatorFactory(), new TestIsolatableFactory())
        def explanationBuilder = Stub(AttributeMatchingExplanationBuilder)
    
        def setup() {
            JavaEcosystemSupport.configureSchema(schema, TestUtil.objectFactory())
        }
    
        def "resolve compileClasspath with java plugin"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/scope.go

    				panic("lazy object has unexpected name")
    			}
    
    			if obj.Parent() == nil {
    				obj.setParent(lazy.parent)
    			}
    			lazy.obj = obj
    		})
    
    		obj = lazy.obj
    	}
    	return obj
    }
    
    // stub implementations so *lazyObject implements Object and we can
    // store them directly into Scope.elems.
    func (*lazyObject) Parent() *Scope                     { panic("unreachable") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/go/types/scope.go

    				panic("lazy object has unexpected name")
    			}
    
    			if obj.Parent() == nil {
    				obj.setParent(lazy.parent)
    			}
    			lazy.obj = obj
    		})
    
    		obj = lazy.obj
    	}
    	return obj
    }
    
    // stub implementations so *lazyObject implements Object and we can
    // store them directly into Scope.elems.
    func (*lazyObject) Parent() *Scope                     { panic("unreachable") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/DefaultTypeConverterTest.groovy

    import spock.lang.Specification
    
    class DefaultTypeConverterTest extends Specification {
        public static final BigInteger LARGE = BigInteger.ONE.shiftLeft(64)
        def converter = new DefaultTypeConverter(Stub(FileResolver))
    
        def "converts null to null"() {
            expect:
            converter.convert(null, type, false) == null
    
            where:
            type       | _
            Boolean    | _
            Byte       | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 13.3K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertEquals(mojo.pathString, path.toString());
        }
    
        @Override
        protected String getProjectsDirectory() {
            // TODO Auto-generated method stub
            return null;
        }
    
        public static class Mojo {
            URI uri;
            Path path;
            String uriString;
            String uriAsciiString;
            String pathString;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. build/dependencies.yaml

        - path: test/images/Makefile
          match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+
    
      # Golang pre-releases are denoted as `1.y<pre-release stage>`
      # Example: go1.16rc1
      #
      # This entry is a stub of the major version to allow dependency checks to
      # pass when building Kubernetes using a pre-release of Golang.
      - name: "golang: 1.<major>"
        version: 1.22
        refPaths:
        - path: build/build-image/cross/VERSION
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    import static org.gradle.util.TestUtil.instantiatorFactory
    
    class DefaultIsolatableFactoryTest extends Specification {
    
        def classLoaderHasher = Stub(ClassLoaderHierarchyHasher) {
            getClassLoaderHash(_) >> TestHashCodes.hashCodeFrom(123)
        }
        def managedFactoryRegistry = Mock(ManagedFactoryRegistry)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginManagerTest.groovy

    import org.junit.Rule
    import spock.lang.Specification
    
    class DefaultPluginManagerTest extends Specification {
    
        def classLoader = new GroovyClassLoader(getClass().classLoader)
        def classLoaderScope = Stub(ClassLoaderScope) {
            getLocalClassLoader() >> classLoader
        }
        def registry = new DefaultPluginRegistry(new PluginInspector(new ModelRuleSourceDetector()), classLoaderScope)
        def target = Mock(PluginTarget)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

        ) {
            def installations = locations.collect {
                def location = locationFor(it)
                new JvmToolchainMetadata(detector.getMetadata(location), location)
            }
    
            def registry = Stub(JavaInstallationRegistry)
            registry.toolchains() >> installations
            registry
        }
    
        private static def versionRange(int begin, int end) {
            return (begin..end).collect { it.toString() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/insight/DependencyResultSorterSpec.groovy

        }
    
        private newDependency(ComponentSelector requested, ComponentIdentifier selected, ComponentIdentifier from = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId("org", "a"), "1.0")) {
            return Stub(DependencyEdge) {
                toString() >> "$requested -> $selected"
                getRequested() >> requested
                getActual() >> selected
                getFrom() >> from
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 18.6K bytes
    - Viewed (0)
Back to top