- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 5,440 for cunit (0.05 sec)
-
platforms/documentation/docs/src/samples/templates/java-android-application/app/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) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
* This won't do any good under JUnit 3, but I'll leave it around in * case we ever switch to JUnit 4: */ fail(); } } }); } // TODO(cpovirk): promote to Uninterruptibles, and add untimed version private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) { boolean interrupted = false; try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
* This won't do any good under JUnit 3, but I'll leave it around in * case we ever switch to JUnit 4: */ fail(); } } }); } // TODO(cpovirk): promote to Uninterruptibles, and add untimed version private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) { boolean interrupted = false; try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsTest.kt
// given: val buildOperationRunner = mock<BuildOperationRunner> { on { call<Unit>(any()) } doReturn Unit } val stateFile = testDirectoryProvider.file("stateFile") // when: buildOperationRunner.withLoadOperation { LoadResult(stateFile, UUID.randomUUID().toString()) to Unit } // then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.1K bytes - Viewed (0) -
mockwebserver-junit5/src/main/resources/META-INF/services/org.junit.jupiter.api.extension.Extension
Yuri Schimke <******@****.***> 1603512197 +0100
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Oct 24 04:03:17 UTC 2020 - 54 bytes - Viewed (0) -
maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java
package org.apache.maven.lifecycle.test; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 03 09:12:28 UTC 2017 - 657 bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JvmProjectInitDescriptor.java
buildScriptBuilder.testRuntimeOnlyDependency(null, BuildInitDependency.of("org.junit.platform:junit-platform-launcher")); buildScriptBuilder.taskMethodInvocation( "Use JUnit Platform for unit tests.", "test", "Test", "useJUnitPlatform"); break; default:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 19:14:24 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc
* `gradle init --type java-application --test-framework junit-jupiter`: Uses https://junit.org[JUnit Jupiter] for testing instead of JUnit 4 * `gradle init --type java-application --test-framework spock`: Uses https://spockframework.org[Spock] for testing instead of JUnit 4 * `gradle init --type java-application --test-framework testng`: Uses https://testng.org/doc/index.html[TestNG] for testing instead of JUnit 4 [[sec:java_version_option]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:43 UTC 2024 - 19.4K bytes - Viewed (0) -
maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java
package org.apache.maven.embedder; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String testName ) { super( testName ); } /**
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Nov 22 13:26:01 UTC 2022 - 651 bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
internal fun checkBinaryCompatible(v1: File.() -> Unit = {}, v2: File.() -> Unit = {}, block: CheckResult.() -> Unit = {}): CheckResult = runBinaryCompatibilityCheck(v1, v2) { assertBinaryCompatible() block() } internal fun checkNotBinaryCompatible(v1: File.() -> Unit = {}, v2: File.() -> Unit = {}, block: CheckResult.() -> Unit = {}): CheckResult = runBinaryCompatibilityCheck(v1, v2) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0)