- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 5,440 for cunit (0.14 sec)
-
platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc
==== [[using_junit5]] == Using JUnit 5 http://junit.org/junit5[JUnit 5] is the latest version of the well-known JUnit test framework. Unlike its predecessor, JUnit 5 is modularized and composed of several modules: JUnit 5 = JUnit Platform + JUnit Jupiter + JUnit Vintage
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 16:24:12 UTC 2024 - 53.1K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/app/junit5/MessageUtilsTest.scala.template
${fileComment.multilineComment}${packageDecl.statement} import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.assertEquals class MessageUtilsTest { @Test def testGetMessage(): Unit = { assertEquals("Hello World!", MessageUtils.getMessage()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 288 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/scala/mixedJavaAndScala/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala
package org.gradle.sample import org.junit.Test class PersonSpec { @Test def createPersonShouldSucceedForScala(): Unit = { def person: Named = new Person("bob smith") } @Test def createPersonShouldSucceedForJava(): Unit = { def person: Named = new JavaPerson("alice smith") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 301 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/java-android-application/src/test/java/org/gradle/samples/ExampleUnitTest.java
package org.gradle.samples; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addition_isCorrect() { assertEquals(4, 2 + 2); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 380 bytes - Viewed (0) -
platforms/native/testing-native/src/main/resources/META-INF/gradle-plugins/org.gradle.cpp-unit-test.properties
Sterling Greene <******@****.***> 1700166003 -0500
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 683 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt
fun assertStandardOutputOf(expected: String, action: () -> Unit): Unit = assertThat( standardOutputOf(action), equalTo(expected.normaliseLineSeparators()) ) fun standardOutputOf(action: () -> Unit): String = ByteArrayOutputStream().also { val out = System.out try { System.setOut(PrintStream(it, true)) action() } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/scala/quickstart/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala
package org.gradle.sample import org.junit.Test class PersonSpec { @Test def personCreationShouldSuccessfullyCreatePerson(): Unit = { def person: Named = new Person(List("bob", "smith")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 203 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/scala/zinc/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala
package org.gradle.sample import org.junit.Test class PersonSpec { @Test def personCreationShouldSuccessfullyCreatePerson(): Unit = { def person: Named = new Person(List("bob", "smith")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 203 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/UnitCodecTest.kt
import org.hamcrest.MatcherAssert.assertThat import org.junit.Test import spock.lang.Issue class UnitCodecTest : AbstractUserTypeCodecTest() { @Test @Issue("https://github.com/gradle/gradle/issues/25560") fun `same Unit instance is used upon restore`() { configurationCacheRoundtripOf(Unit).run { assertThat(this, sameInstance(Unit)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java
import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import java.util.Set; import junit.framework.Test; import junit.framework.TestCase; /** * Unit test for {@link MinimalSet}. * * @author Regina O'Dell */ public class MinimalSetTest extends TestCase { public static Test suite() { return SetTestSuiteBuilder.using(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.4K bytes - Viewed (0)