- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for packageDecl (0.17 sec)
-
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovylibrary/groovy/LibraryTest.groovy.template
${fileComment.multilineComment}${packageDecl.statement} import spock.lang.Specification class LibraryTest extends Specification { def "someLibraryMethod returns true"() { setup: def lib = new Library() when: def result = lib.someLibraryMethod() then: result == true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 329 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/App.kt.template
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 199 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/AppTest.java.template
${fileComment.multilineComment}${packageDecl.javaStatement} import org.junit.Test; import static org.junit.Assert.*; public class AppTest { @Test public void appHasAGreeting() { App classUnderTest = new App(); assertNotNull("app should have a greeting", classUnderTest.getGreeting()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 314 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/multi/app/App.kt.template
${fileComment.multilineComment}${packageDecl.statement} import ${basePackagePrefix.raw}utilities.StringUtils import org.apache.commons.text.WordUtils fun main() { val tokens = StringUtils.split(MessageUtils.getMessage()) val result = StringUtils.join(tokens) println(WordUtils.capitalize(result))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 313 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/AppSuite.scala.template
${fileComment.multilineComment}${packageDecl.statement} import org.scalatest.funsuite.AnyFunSuite import org.junit.runner.RunWith import org.scalatestplus.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class AppSuite extends AnyFunSuite { test("App has a greeting") { assert(App.greeting() != null) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 314 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovylibrary/Library.groovy.template
${fileComment.multilineComment}${packageDecl.statement} class Library { boolean someLibraryMethod() { true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 127 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinlibrary/LibraryTest.kt.template
${fileComment.multilineComment}${packageDecl.statement} import kotlin.test.Test import kotlin.test.assertTrue class LibraryTest { @Test fun someLibraryMethodReturnsTrue() { val classUnderTest = Library() assertTrue(classUnderTest.someLibraryMethod(), "someLibraryMethod should return 'true'") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 322 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/app/junit5/MessageUtilsTest.groovy.template
${fileComment.multilineComment}${packageDecl.statement} import org.junit.jupiter.api.Test import static org.junit.jupiter.api.Assertions.assertEquals class MessageUtilsTest { @Test void testGetMessage() { assertEquals('Hello World!', MessageUtils.message) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 283 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/App.java.template
${fileComment.multilineComment}${packageDecl.javaStatement} public class App { public String getGreeting() { return "Hello World!"; } public static void main(String[] args) { System.out.println(new App().getGreeting()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 257 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/utilities/StringUtils.java.template
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 334 bytes - Viewed (0)