- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 3,750 for Assert1 (0.3 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy
assert configuredProjects.collect { fullPath(it) }.toSet() == details.projects // Scripts - one or more for settings, and one for each project build script def scripts = buildOperations.all(ApplyScriptPluginBuildOperationType) assert !scripts.empty def sortedScripts = scripts.toSorted { it -> it.startTime } assert sortedScripts.first().details.targetType == "settings"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 17.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
// Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { future.get(); Assert.fail("This call was supposed to throw an ExecutionException"); } catch (ExecutionException expected) { Assert.assertSame(expectedCause, expected.getCause()); } } public void assertTimeout() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
// Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { future.get(); Assert.fail("This call was supposed to throw an ExecutionException"); } catch (ExecutionException expected) { Assert.assertSame(expectedCause, expected.getCause()); } } public void assertTimeout() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy
} /** * Asserts that the configuration cache was not enabled. */ void assertNotEnabled() { spec.outputDoesNotContain(ISOLATED_PROJECTS_MESSAGE) spec.outputDoesNotContain(CONFIGURE_ON_DEMAND_MESSAGE) configurationCacheBuildOperations.assertNoConfigurationCache() assertHasNoProblems() } /** * Asserts that the cache entry was written with no problems.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit.h
*/ /* * ASSERT Macro definitions and general CUnit configuration definitions. * * 09/Aug/2001 ASSERT definitions. (AK) * * 12/Mar/2003 New Assert definitions. (AK) * * 27/Jul/2003 Modified ASSERT_XXX Macro definitions. (AK) * * 15-Jul-2004 New interface, changed action on assert failure to not
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 18.6K bytes - Viewed (0) -
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)