- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for testTemplate (0.16 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy
import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.TestTemplate; import org.junit.jupiter.api.extension.ExtendWith; import java.util.Locale; @ExtendWith(Locales.class) public class SomeLocaleTests { @TestTemplate public void ok1(Locale locale) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JvmGradlePluginProjectInitDescriptor.java
TemplateOperation testTemplate = testTemplate(settings, templateFactory, pluginId, testClassName); TemplateOperation functionalTestTemplate = functionalTestTemplate(settings, templateFactory, pluginId, functionalTestClassName); templateFactory.whenNoSourcesAvailable(sourceTemplate, testTemplate, functionalTestTemplate).generate(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy
import java.util.*; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.extension.*; public class TestTemplateTest { @TestTemplate @ExtendWith(MyTestTemplateInvocationContextProvider.class) void testTemplate(String parameter) { assertEquals(3, parameter.length()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 12.7K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/GroovyGradlePluginProjectInitDescriptor.java
t.sourceSet("main"); t.className(pluginClassName); t.binding("pluginId", pluginId); }); } @Override protected TemplateOperation testTemplate(InitSettings settings, TemplateFactory templateFactory, String pluginId, String testClassName) { return templateFactory.fromSourceTemplate("plugin/groovy/spock/PluginTest.groovy.template", t -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 19:14:24 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JavaGradlePluginProjectInitDescriptor.java
t.sourceSet("main"); t.className(pluginClassName); t.binding("pluginId", pluginId); }); } @Override protected TemplateOperation testTemplate(InitSettings settings, TemplateFactory templateFactory, String pluginId, String testClassName) { return templateFactory.fromSourceTemplate("plugin/java/junit/PluginTest.java.template", t -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 19:14:24 UTC 2024 - 4K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/KotlinGradlePluginProjectInitDescriptor.java
t.sourceSet("main"); t.className(pluginClassName); t.binding("pluginId", pluginId); }); } @Override protected TemplateOperation testTemplate(InitSettings settings, TemplateFactory templateFactory, String pluginId, String testClassName) { return templateFactory.fromSourceTemplate("plugin/kotlin/kotlintest/PluginTest.kt.template", t -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 19:14:24 UTC 2024 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go
*/ package printers import ( "bytes" "strings" "testing" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" ) func TestTemplate(t *testing.T) { testCase := []struct { name string template string obj runtime.Object expectOut string expectErr func(error) (string, bool) }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 23:10:00 UTC 2019 - 7.1K bytes - Viewed (0) -
src/html/template/clone_test.go
t.Fatal(err) } if got, want := b.String(), ` <style> ZgotmplZ </style> `; got != want { t.Errorf("t3: got %q want %q", got, want) } } func TestTemplates(t *testing.T) { names := []string{"t0", "a", "lhs", "rhs"} // Some template definitions borrowed from TestClone. const tmpl = ` {{define "a"}}{{template "lhs"}}{{.}}{{template "rhs"}}{{end}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:48:16 UTC 2022 - 8K bytes - Viewed (0) -
src/html/template/exec_test.go
// new(Template).ExecuteTemplate(nil, "XXX", nil) // TODO: crashes; returns an error (but does not crash) } const testTemplates = `{{define "one"}}one{{end}}{{define "two"}}two{{end}}` func TestMessageForExecuteEmpty(t *testing.T) { // Test a truly empty template. tmpl := New("empty") var b bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
src/text/template/exec_test.go
new(Template).Execute(nil, nil) // returns an error (but does not crash) new(Template).ExecuteTemplate(nil, "XXX", nil) // returns an error (but does not crash) } const testTemplates = `{{define "one"}}one{{end}}{{define "two"}}two{{end}}` func TestMessageForExecuteEmpty(t *testing.T) { // Test a truly empty template. tmpl := New("empty") var b bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0)