- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,904 for Assert1 (0.16 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy
assertManifestPresentAndFirstEntry() } } /** * Asserts that the given service is defined in this jar file. */ def hasService(String serviceName, String serviceImpl) { assertFilePresent("META-INF/services/$serviceName", serviceImpl) } /** * Asserts that the manifest file is present and first entry in this jar file. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 14:13:17 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy
assert modes.size() == 1 assertThat(modes.get(0), equalTo(fileMode)) this } def assertContainsFile(String relativePath) { assert filesByRelativePath.keySet().contains(relativePath) this } def assertNotContainsFile(String relativePath) { assert !filesByRelativePath.keySet().contains(relativePath) this
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
*/ package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkNotNull; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertNull; import static junit.framework.Assert.assertSame; import com.google.common.testing.TearDown; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/AssertjMultipleAssertionsErrorMapperTest.groovy
then: assert mappedFailure.causes.size() == 3 assert mappedFailure.rawFailure instanceof MultipleAssertionsError } def "maps inner assertion failures correctly"() { when: def innerErrors = mapper.mapInnerFailures(error, rootMapper) then: innerErrors.eachWithIndex { tf, i -> assert tf.causes.size() == 0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java
/** * Asserts that exactly the given set of tasks have been executed in any order. */ ExecutionResult assertTasksExecuted(Object... taskPaths); /** * Asserts that the given task has been executed. */ ExecutionResult assertTaskExecuted(String taskPath); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
*/ package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkNotNull; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertNull; import static junit.framework.Assert.assertSame; import com.google.common.testing.TearDown; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonFeedbackIntegrationSpec.groovy
def daemonDir = new File(baseDir, GradleVersion.current().version) assert daemonDir.exists() daemonDir.listFiles().findAll { it.name.endsWith('.log') } } String readLog(File baseDir) { def logs = getLogs(baseDir) //assert single log assert logs.size() == 1 logs[0].text } void printAllLogs(File baseDir) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 8.3K bytes - Viewed (0) -
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
* limitations under the License. */ package mockwebserver3.junit4 import assertk.assertThat import assertk.assertions.isTrue import java.net.ConnectException import java.util.concurrent.atomic.AtomicBoolean import org.junit.Assert.fail import org.junit.Test import org.junit.runner.Description import org.junit.runners.model.Statement class MockWebServerRuleTest {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy
assert startEvent instanceof FileDownloadStartEvent assert finishEvent instanceof FileDownloadFinishEvent assert descriptor instanceof FileDownloadOperationDescriptor assert descriptor.uri == uri assert descriptor.displayName == "Download " + uri assert finishEvent.result instanceof FileDownloadResult assert finishEvent.result.bytesDownloaded == size
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 23 13:50:05 UTC 2024 - 21.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionFailure.java
interface Failure { /** * Asserts that this failure has the given number of direct causes. */ void assertHasCauses(int count); /** * Asserts that this failure has the given cause */ void assertHasCause(String message); /** * Asserts that this failure has the given first cause */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:25 UTC 2024 - 4.4K bytes - Viewed (0)