- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 527 for correctly (0.34 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ComponentSelectionRulesTest.kt
import org.gradle.api.artifacts.ResolutionStrategy import org.junit.Test import org.mockito.invocation.InvocationOnMock class ComponentSelectionRulesTest { @Test fun `Action method overloads are correctly selected`() { val componentSelection = mock<ComponentSelection>() val componentSelectionRules = mock<ComponentSelectionRules> { on { all(any<Action<ComponentSelection>>()) }.thenAnswer {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Derived.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** Simple derived class to verify that we handle generics correctly. */ @GwtCompatible class Derived extends Base { public Derived(String s) { super(s); } private static final long serialVersionUID = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Oct 03 22:29:45 UTC 2023 - 908 bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
prepared before that call will be sent or received after the call. Earlier versions of Go used channels with a one-element buffer, making it difficult to use `Reset` and `Stop` correctly. A visible effect of this change is that `len` and `cap` of timer channels now returns 0 instead of 1, which may affect programs that poll the length to decide whether a receive on the timer channel will succeed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 20:49:22 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Base.java
import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import org.checkerframework.checker.nullness.qual.Nullable; /** Simple base class to verify that we handle generics correctly. */ @GwtCompatible class Base implements Comparable<Base>, Serializable { private final String s; public Base(String s) { this.s = s; } @Override public int hashCode() { // delegate to 's'
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Oct 03 22:29:45 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginIntegrationTest.kt
assertThat(output, containsString("my-plugin settings plugin applied")) } } @Test @Requires(IntegTestPreconditions.NotEmbeddedExecutor::class) fun `should compile correctly with Kotlin explicit api mode`() { withBuildScript( """ plugins { `kotlin-dsl` } $repositoriesBlock kotlin {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 07:16:19 UTC 2023 - 11.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriterTest.kt
import org.hamcrest.Matchers.hasEntry import org.junit.Test import java.io.StringWriter class JsonModelWriterTest { @Test fun `encodes model with empty strings correctly`() { assertThat( jsonModelFor { beginModel() writeDiagnostic( DiagnosticKind.INPUT, DecoratedPropertyProblem(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
} /** * Referenced callable symbol, even if it not completely correctly resolved. */ private val FirQualifiedAccessExpression.referencedCallableSymbol: FirCallableSymbol<*>? get() { return toResolvedCallableSymbol() } /** * Referenced [ClassId], even if it is not completely correctly resolved. */ private val FirResolvedTypeRef.resolvedClassId: ClassId? get() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 16:54:07 UTC 2024 - 24.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/HiddenInDslTest.kt
var y: Int = 0 } class HiddenInDslTest { val schema = schemaFromTypes(HasHiddenProperty::class, listOf(HasHiddenProperty::class)) @Test fun `handles the hidden properties correctly`() { val aType = schema.dataClassesByFqName.getValue(DefaultFqName.parse(HasHiddenProperty::class.qualifiedName!!)) assertTrue { aType.properties.single { it.name == "y" }.isHiddenInDsl }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 2K bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Errorf("no error should happen when query with embedded struct, but got %v", err) } else if news.Title != "hn_news" { t.Errorf("embedded struct's value should be scanned correctly") } DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_news"}, Author: &Author{Name: "Edward"}}) DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_article"}, Author: &Author{Name: "George"}})
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/annotations/KaAnnotationImpl.kt
*/ lazyArguments: Lazy<List<KaNamedAnnotationValue>>, index: Int?, /** * The constructor symbol into which this annotation resolves if the annotation is correctly resolved */ constructorSymbol: KaConstructorSymbol?, override val token: KaLifetimeToken ) : KaAnnotation { private val backingClassId: ClassId? = classId override val classId: ClassId?
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.8K bytes - Viewed (0)