- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 907 for testUtil (0.33 sec)
-
platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultGroovyJavaJointCompileSpecFactoryTest.groovy
import org.gradle.util.TestUtil import org.junit.Rule import spock.lang.Specification class DefaultGroovyJavaJointCompileSpecFactoryTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def "produces correct spec type" () { CompileOptions options = TestUtil.newInstance(CompileOptions.class, TestUtil.objectFactory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltLibraryTest.groovy
*/ package org.gradle.nativeplatform.internal.prebuilt import org.gradle.util.TestUtil import spock.lang.Specification class DefaultPrebuiltLibraryTest extends Specification { def "has useful display name"() { def lib = new DefaultPrebuiltLibrary("someLib", TestUtil.objectFactory(), TestUtil.domainObjectCollectionFactory()) expect: lib.toString() == "prebuilt library 'someLib'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.1K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskTest.groovy
project.description = 'this is the root project' Project child1 = TestUtil.createChildProject(project, "child1") child1.description = 'this is a subproject' TestUtil.createChildProject(child1, "child1") TestUtil.createChildProject(project, "child2") when: def model = task.calculateReportModelFor(project) task.generateReportFor(model.project, model)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 29 22:32:34 UTC 2022 - 2.9K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyCompileOptionsTest.groovy
GroovyCompileOptions compileOptions @Before void setUp() { ServiceLookup services = new DefaultServiceRegistry().add(ObjectFactory, TestUtil.objectFactory()).add(InstantiatorFactory, TestUtil.instantiatorFactory()) compileOptions = TestUtil.instantiatorFactory().decorateLenient(services).newInstance(GroovyCompileOptions.class) } @Test void testCompileOptions() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/GenerateEclipseClasspathTest.groovy
import org.gradle.util.TestUtil class GenerateEclipseClasspathTest extends AbstractSpockTaskTest { private GenerateEclipseClasspath eclipseClasspath ConventionTask getTask() { return eclipseClasspath } def setup() { def project = Mock(Project) project.getObjects() >> TestUtil.objectFactory()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/IdeaModelTest.groovy
import org.gradle.plugins.ide.api.XmlFileContentMerger import org.gradle.plugins.ide.internal.IdeArtifactRegistry import org.gradle.util.TestUtil import spock.lang.Specification class IdeaModelTest extends Specification { IdeaModel model = TestUtil.newInstance(IdeaModel) def "can configure workspace with Actions"() { given: def xmlTransformer = Mock(XmlTransformer)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/metrics/metrics_test.go
limitations under the License. */ package metrics import ( "strings" "testing" "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/testutil" ) const ( testAPIServerID = "testAPIServerID" testAPIServerIDHash = "sha256:14f9d63e669337ac6bfda2e2162915ee6a6067743eddd4e5c374b572f951ff37" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 13 05:47:46 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authorizationconfig/metrics/metrics_test.go
limitations under the License. */ package metrics import ( "strings" "testing" "k8s.io/component-base/metrics/legacyregistry" "k8s.io/component-base/metrics/testutil" ) const ( testAPIServerID = "testAPIServerID" testAPIServerIDHash = "sha256:14f9d63e669337ac6bfda2e2162915ee6a6067743eddd4e5c374b572f951ff37" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/DefaultNativeExecutableBinarySpecTest.groovy
import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.gradle.util.TestUtil import org.junit.Rule import spock.lang.Specification class DefaultNativeExecutableBinarySpecTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) final testUtil = TestUtil.create(tmpDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics_test.go
conversionWebhookLatency: tt.fields.conversionWebhookLatency, } m.ObserveConversionWebhookSuccess(context.TODO(), tt.args.elapsed) testutil.AssertVectorCount(t, fmt.Sprintf("%s_conversion_webhook_request_total", namespace), tt.wantLabels, tt.expectedRequestValue) testutil.AssertHistogramTotalCount(t, fmt.Sprintf("%s_conversion_webhook_duration_seconds", namespace), tt.wantLabels, tt.expectedRequestValue) }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 19:34:33 UTC 2023 - 6K bytes - Viewed (0)