- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 907 for testUtil (0.12 sec)
-
platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/internal/DefaultReportContainerTest.groovy
import org.gradle.api.reporting.ReportContainer import org.gradle.internal.Describables import org.gradle.util.TestUtil import spock.lang.Specification class DefaultReportContainerTest extends Specification { static class TestReportContainer extends DefaultReportContainer { TestReportContainer(Closure c) { super(Report, TestUtil.instantiatorFactory().decorateLenient(), CollectionCallbackActionDecorator.NOOP)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/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: Sat Mar 09 22:40:22 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/language/base/sources/BaseLanguageSourceSetTest.groovy
import org.gradle.util.TestUtil import spock.lang.Specification class BaseLanguageSourceSetTest extends Specification { def "has useful display names"() { def identifier = new DefaultComponentSpecIdentifier("project", "parent").child("java5").child("test") def sourceSet = BaseLanguageSourceSet.create(TestSourceSet, BaseLanguageSourceSet, identifier, TestUtil.objectFactory()) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy
given: file("src/test/java/util/TestUtil.java") << """ package util; public class TestUtil { static void someUtilsMethod(){} } """ when: launchTests { TestLauncher launcher -> launcher.withJvmTestClasses("util.TestUtil") } then: def e = thrown(TestExecutionException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy
import org.gradle.testfixtures.ProjectBuilder import org.gradle.util.TestUtil import spock.lang.Shared import spock.lang.Specification public class TestNGTestFrameworkTest extends Specification { @Shared ObjectFactory objects = TestUtil.objectFactory() private project = ProjectBuilder.builder().build() Test testTask = TestUtil.createTask(Test, project) void setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/test/utils.go
"k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/informers" coreinformers "k8s.io/client-go/informers/core/v1" "k8s.io/client-go/kubernetes/fake" "k8s.io/kubernetes/pkg/controller" "k8s.io/kubernetes/pkg/controller/testutil" netutils "k8s.io/utils/net" ) const NodePollInterval = 10 * time.Millisecond var AlwaysReady = func() bool { return true } // MustParseCIDR returns the CIDR range parsed from s or panics if the string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 06 00:10:39 UTC 2022 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/metrics/testutil_test.go
limitations under the License. */ package metrics import ( "testing" "k8s.io/component-base/metrics/legacyregistry" "k8s.io/component-base/metrics/testutil" ) // expectFindMetric find a metric with the given name nad labels or reports a fatal test error. func expectFindMetric(t *testing.T, name string, expectedLabels map[string]string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 24 04:26:43 UTC 2020 - 3.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/CompileOptionsTest.groovy
CompileOptions compileOptions def setup() { compileOptions = TestUtil.newInstance(CompileOptions, TestUtil.objectFactory()) } @SuppressWarnings("GrDeprecatedAPIUsage") def "default compile options"() { expect: compileOptions.debug compileOptions.failOnError compileOptions.warnings
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/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy
import org.gradle.internal.hash.ClassLoaderHierarchyHasher import org.gradle.internal.hash.TestHashCodes import org.gradle.internal.state.ManagedFactoryRegistry import org.gradle.util.TestUtil import spock.lang.Specification import static org.gradle.util.TestUtil.instantiatorFactory class DefaultIsolatableFactoryTest extends Specification { def classLoaderHasher = Stub(ClassLoaderHierarchyHasher) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 17K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/tasks/ant/AntTargetTest.java
private final Target antTarget = new Target(); private final File baseDir = testDir.getTestDirectory(); private final ProjectInternal project = TestUtil.create(testDir).rootProject(); private final AntTarget task = TestUtil.createTask(AntTarget.class, project); @Before public void setUp() { antTarget.setProject(new Project()); } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 30 07:54:03 UTC 2020 - 2.6K bytes - Viewed (0)