Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 179 for Stub (0.04 sec)

  1. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        private MavenSession newMavenSession() throws Exception {
            return createMavenSession(null);
        }
    
        @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: Tue Dec 05 08:11:33 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  2. src/debug/buildinfo/buildinfo_test.go

    	)
    	buildInfoMagic := []byte("\xff Go buildinf:")
    
    	// Construct a valid PE header.
    	var buf bytes.Buffer
    
    	buf.Write([]byte{'M', 'Z'})
    	buf.Write(bytes.Repeat([]byte{0}, 0x3c-2))
    	// At location 0x3c, the stub has the file offset to the PE signature.
    	binary.Write(&buf, binary.LittleEndian, int32(0x3c+4))
    
    	buf.Write([]byte{'P', 'E', 0, 0})
    
    	binary.Write(&buf, binary.LittleEndian, pe.FileHeader{NumberOfSections: 1})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            2 * transformer.transform(someValue()) >> Providers.of(someOtherValue())
            0 * _
        }
    
        def "flat mapped provider returns result of transformer when the result has no value"() {
            def transformer = Stub(Transformer)
            transformer.transform(someValue()) >> providerWithNoValue()
    
            given:
            def provider = providerWithValue(someValue())
            def mapped = provider.flatMap(transformer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy

            return Mock(TransformRegistration) {
                getFrom() >> from
                getTo() >> to
                getTransformStep() >> Stub(TransformStep)
            }
        }
    
        private ResolvedVariant variant(Map<String, Object> attributes) {
            return variant(AttributeTestUtil.attributes(attributes))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

            then:
            thrown(IllegalArgumentException)
    
            when:
            adapter.unpack(java.lang.reflect.Proxy.newProxyInstance(getClass().classLoader, [Runnable] as Class[], Stub(InvocationHandler)))
    
            then:
            thrown(IllegalArgumentException)
        }
    }
    
    interface TestModel {
        String getName()
    
        TestProject getProject()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

    @CleanupTestDirectory(fieldName = "tmpDir")
    class RuntimeShadedJarCreatorTest extends Specification {
    
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def progressLoggerFactory = Stub(ProgressLoggerFactory)
        def relocatedJarCreator
        def outputJar = tmpDir.testDirectory.file('gradle-api.jar')
    
        def setup() {
            relocatedJarCreator = new RuntimeShadedJarCreator(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

    class AsmBackedClassGeneratorDecoratedTest extends AbstractClassGeneratorSpec {
        ClassGenerator generator = AsmBackedClassGenerator.decorateAndInject([], Stub(PropertyRoleAnnotationHandler), [], new TestCrossBuildInMemoryCacheFactory(), 0)
    
        def "mixes in toString() implementation for class"() {
            given:
            def bean = create(Bean, Describables.of("<display name>"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  8. src/runtime/HACKING.md

    user Go code executes on. User stacks start small (e.g., 2K) and grow
    or shrink dynamically.
    
    Every M has a *system stack* associated with it (also known as the M's
    "g0" stack because it's implemented as a stub G) and, on Unix
    platforms, a *signal stack* (also known as the M's "gsignal" stack).
    System and signal stacks cannot grow, but are large enough to execute
    runtime and cgo code (8K in a pure Go binary; system-allocated in a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/DefaultAttributeMatcherTest.groovy

    class DefaultAttributeMatcherTest extends Specification {
    
        def schema = new TestSchema()
        def factory = AttributeTestUtil.attributesFactory()
        def explanationBuilder = Stub(AttributeMatchingExplanationBuilder)
    
        def "selects candidate with same set of attributes and whose values match"() {
            given:
            def matcher = new DefaultAttributeMatcher(schema)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            outputEquals """
    In plugin 'com.foo.bar' type 'Foo' property 'bar' with some description.
    
    Reason: Some reason.
    """
        }
    
        private File dummyLocation(String path = '/tmp/foo') {
            Stub(File) {
                getAbsolutePath() >> path
                toString() >> path
            }
        }
    
        private void render(String message) {
            condition = new VerificationFixture(message)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
Back to top