Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Stub (0.04 sec)

  1. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt

                    stub.childrenStubs.forEach(::indexStub)
                }
                is KotlinTypeAliasStubImpl -> indexTypeAlias(stub.psi)
                is KotlinFunctionStubImpl -> addToFunctionMap(stub.psi)
                is KotlinPropertyStubImpl -> addToPropertyMap(stub.psi)
                is KotlinPlaceHolderStubImpl -> {
                    if (stub.stubType == KtStubElementTypes.CLASS_BODY) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/DefaultBuildControllerTest.groovy

            def rootDir = new File("dummy")
            def target = Stub(GradleProjectIdentity)
            def buildState1 = Stub(BuildState)
            def buildState2 = Stub(BuildState)
            def buildState3 = Stub(BuildState)
            def projects3 = Stub(BuildProjectRegistry)
            def projectState = Stub(ProjectState)
            def model = new Object()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientProvidedPhasedActionRunnerTest.groovy

    import spock.lang.Specification
    
    class ClientProvidedPhasedActionRunnerTest extends Specification {
    
        def startParameter = Stub(StartParameterInternal)
        def serializedAction = Stub(SerializedPayload)
        def clientSubscriptions = Stub(BuildEventSubscriptions)
        def clientProvidedPhasedAction = new ClientProvidedPhasedAction(startParameter, serializedAction, true, clientSubscriptions)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:14 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def globalCacheLocations = Stub(GlobalCacheLocations)
        def fileLockManager = Stub(FileLockManager)
        def agentStatus = Stub(AgentStatus) {
            // TODO(mlopatkin) Invent a way to test this with agent-based instrumentation
            isAgentInstrumentationEnabled() >> false
        }
        def gradleCoreInstrumenting = Stub(GradleCoreInstrumentationTypeRegistry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/initialization/buildsrc/BuildSrcBuildListenerFactoryTest.groovy

            def action = Mock(Action)
            def listener = new BuildSrcBuildListenerFactory(action, new DefaultScriptClassPathResolver(
                TestUtil.objectInstantiator(),
                Stub(AgentStatus),
                Stub(Gradle)
            )).create()
    
            when:
            listener.projectsLoaded(gradle)
    
            then:
            1 * action.execute(project)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/SoftwareTypeRegistrationPluginTargetTest.groovy

            and: // returns multiple properties with annotation present
            1 * propertyMetadata.getAnnotation(SoftwareType.class) >> Optional.of(Stub(SoftwareType))
            1 * anotherPropertyMetadata.getAnnotation(SoftwareType.class) >> Optional.of(Stub(SoftwareType))
    
            and:
            def e = thrown(DefaultMultiCauseException)
            e.hasCause(InvalidUserDataException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

    import org.gradle.api.file.ProjectLayout
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    
    class TestNGOptionsTest extends Specification {
    
        def layout = Stub(ProjectLayout) {
            getProjectDirectory() >> Stub(Directory) {
                getAsFile() >> new File("projectDir")
            }
        }
        TestNGOptions testngOptions  = TestUtil.newInstance(TestNGOptions, layout)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy

            edgeState
        }
    
        private NodeState nextNode(int outgoingEndorsing = 0) {
            def state = Stub(VariantGraphResolveState)
            def metadata = Stub(VariantGraphResolveMetadata)
            state.metadata >> metadata
            def resolveState = Stub(ResolveState)
    
            def newState = new NodeState(idIdx++, Stub(ComponentState), resolveState, state, true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

    import org.jetbrains.kotlin.analysis.decompiler.psi.BuiltInsVirtualFileProviderCliImpl
    import org.jetbrains.kotlin.analysis.decompiler.stub.file.ClsKotlinBinaryClassCache
    import org.jetbrains.kotlin.analysis.decompiler.stub.file.DummyFileAttributeService
    import org.jetbrains.kotlin.analysis.decompiler.stub.file.FileAttributeService
    import org.jetbrains.kotlin.analysis.project.structure.*
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getArtifactId()).thenReturn("standalone-pom");
            when(project.getPackaging()).thenReturn("pom");
            when(project.getName()).thenReturn("Maven Stub Project (No POM)");
            when(project.getVersion()).thenReturn("1");
            when(event.getProject()).thenReturn(project);
            when(project.getFile()).thenReturn(null);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top