- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for customConvention (0.2 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ProjectExtensionsTest.kt
.thenReturn(null) whenever(convention.findPlugin(eq(CustomConvention::class.java))) .thenReturn(javaConvention) project.configure<CustomConvention> {} inOrder(convention) { verify(convention).findByType(any<TypeOf<CustomConvention>>()) verify(convention, times(2)).findPlugin(eq(CustomConvention::class.java)) verifyNoMoreInteractions() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt
on { named(any<String>(), eq(Delete::class.java)) } doReturn clean } val customConvention = mock<CustomConvention>() @Suppress("deprecation") val convention = mock<org.gradle.api.plugins.Convention> { on { plugins } doReturn mapOf("customConvention" to customConvention) } val project = mock<ProjectInternal> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 18.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessorsTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/resources/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors-expected-output.txt
/** * Configures the [customConvention][org.gradle.kotlin.dsl.accessors.tasks.PrintAccessorsTest.CustomConvention] convention. * * @deprecated The concept of conventions is deprecated. Use extensions instead. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 15.1K bytes - Viewed (0)