- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for setGreeting (0.22 sec)
-
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/junitjupiter/AppTest.java.template
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class AppTest { @Test void appHasAGreeting() { App classUnderTest = new App(); assertNotNull(classUnderTest.getGreeting(), "app should have a greeting"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 328 bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/gretty-example/src/main/java/org/gradle/sample/Greeter.java
package org.gradle.sample; import java.io.InputStream; import org.apache.log4j.LogManager; public class Greeter { public String getGreeting() throws Exception { LogManager.getRootLogger().info("Just checking if we can use external dependencies...."); return "hello Gradle"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 304 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/webApplication/quickstart/kotlin/src/main/java/org/gradle/sample/Greeter.java
package org.gradle.sample; import java.io.InputStream; import org.apache.log4j.LogManager; import org.apache.commons.io.IOUtils; public class Greeter { public String getGreeting() throws Exception { LogManager.getRootLogger().info("generating greeting."); InputStream greetingStr = getClass().getResourceAsStream("/greeting.txt"); try { return IOUtils.toString(greetingStr).trim(); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 503 bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 13 20:36:32 UTC 2023 - 35.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/initialization/CalculateTaskGraphBuildOperationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr1_gradle_init.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 22:50:45 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part2_gradle_tasks.adoc
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 02 14:26:07 UTC 2024 - 7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr3_multi_project_builds.adoc
[source,java] ---- package authoring.tutorial; import com.gradle.CustomLib; public class App { public String getGreeting() { return "CustomLib identifier is: " + CustomLib.identifier; } public static void main(String[] args) { System.out.println(new App().getGreeting()); } } ---- Finally, let's run the `app` with the command `./gradlew run`: [source] ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 17:16:27 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 14:30:05 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.6K bytes - Viewed (0)