- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 143 for AssertJ (0.14 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy
} private static void assertModelIsPolymorphic(Object model) { assert model != null assert model instanceof BaseModel assert model instanceof ShallowChildModel assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'" assert model instanceof DeepChildModel assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 11:03:18 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy
BigDecimal createBigDecimal() { return 123 } }) expect: 10.times { start { assert registry.get(String) == "12" assert registry.get(Long) == 123 } } } def "multiple threads can locate factories"() { def registry = new DefaultServiceRegistry()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 4K bytes - Viewed (0) -
pkg/kubelet/util/util_unix_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/ParameterizedToolingModelCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/RunBuildActionTest.groovy
assert action.startParameter == startParameter assert context.cancellationToken instanceof DefaultBuildCancellationToken assert context.client == clientMetaData assert context.startTime == startTime assert build == parameters return BuildActionResult.of(null) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/AbstractConfigurationCacheOptInFeatureIntegrationTest.groovy
protected ConfigurationCacheProblemsFixture problems def setup() { // Verify that the previous test cleaned up state correctly assert System.getProperty(StartParameterBuildOptions.ConfigurationCacheOption.PROPERTY_NAME) == null assert System.getProperty(StartParameterBuildOptions.IsolatedProjectsOption.PROPERTY_NAME) == null problems = new ConfigurationCacheProblemsFixture(testDirectory) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEnablementIntegrationTest.groovy
given: buildFile """ task check { assert gradle.startParameter.configurationCache.get() == ${ccOn} assert ${maxProblems == _ } || gradle.startParameter.configurationCacheMaxProblems == ${maxProblems} assert ${problemsAs == _ } || gradle.startParameter.configurationCacheProblems.name() == "${problemsAs}" assert ${quiet == _ } || gradle.startParameter.configurationCacheQuiet == ${quiet}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.8K bytes - Viewed (0) -
pilot/pkg/networking/core/listenertest/match.go
return fmt.Sprintf("%v/%v: %v", have.Name, haveType, s) } if want.Name != "" { assert.Equal(t, want.Name, have.Name, context("name should be equal")) } if want.Type != "" { assert.Equal(t, want.Type, haveType, context(fmt.Sprintf("type should be equal (%+v)", have.FilterChainMatch))) } if want.Port != 0 { assert.Equal(t, want.Port, have.GetFilterChainMatch().GetDestinationPort().GetValue(), context("port should be equal"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy
} assert configurations.apiElements.attributes.getAttribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE) == ${javaVersion} assert configurations.runtimeElements.attributes.getAttribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE) == ${javaVersion}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:39 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.cc.impl import org.junit.Assert import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Test import java.lang.IllegalStateException import java.util.concurrent.Executors class InputTrackingStateTest { @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0)