- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,382 for when (0.07 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy
when: lexer.pushText("<P></End>") lexer.visit(visitor) then: 1 * visitor.onStartHtmlElement('p') 1 * visitor.onStartHtmlElementComplete('p') 1 * visitor.onEndHtmlElement('end') 1 * visitor.onEnd() 0 * visitor._ } def parsesHtmlEntities() { when: lexer.pushText("before & after")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy
def resolvesFullyQualifiedClassName() { when: def name = typeNameResolver.resolve('org.gradle.SomeClass', classMetaData) then: name == 'org.gradle.SomeClass' _ * classMetaData.innerClassNames >> [] } def resolvesUnqualifiedNameToClassInSamePackage() { when: def name = typeNameResolver.resolve('SomeClass', classMetaData)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy
when: def p = propertyMetaData.overriddenProperty then: p == null } def hasNoOverriddenPropertyWhenGetterAndSetterDoNotOverrideAnything() { when: def p = propertyMetaData.overriddenProperty then: p == null } def "is deprecated when @Deprecated is attached to property"() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
def hasNoOverriddenMethodWhenNoSuperClass() { when: def m = method.overriddenMethod then: m == null _ * owner.superClass >> null _ * owner.interfaces >> [] } def hasNoOverriddenMethodWhenMethodDoesNotOverrideMethodInSuperClass() { ClassMetaData superClassMetaData = Mock() when: def m = method.overriddenMethod
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy
format(link) == '<classname>boolean</classname>' } def rendersLinkToGroovyClass() { when: def link = renderer.link(type('groovy.lang.Closure'), listener) then: format(link) == '<ulink url="https://docs.groovy-lang.org/groovyVersion/html/gapi/groovy/lang/Closure.html"><classname>Closure</classname></ulink>' } def rendersLinkToGroovyClassArray() { when:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy
expect: type.rawType.signature == 'org.gradle.SomeType[][]' } def rawTypeForVarargsType() { when: type.setVarargs() then: type.rawType.signature == 'org.gradle.SomeType[]' when: type.arrayDimensions = 1 then: type.rawType.signature == 'org.gradle.SomeType[][]' } def rawTypeForParameterizedArrayType() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy
def "latest patch version"() { given: def allVersions = ["2.0.30", "2.0.20", "2.0.10", "2.0.0"] + previousVersions when: def selected = UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions) then: selected == ["1.9.10", "1.9.25", "2.0.0", "2.0.30"] } def "beta of latest patch version"() { given: def allVersions = [
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 23 22:23:07 UTC 2024 - 2.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy
final JavadocLinkConverter converter = new JavadocLinkConverter(document, nameResolver, linkRenderer, repository) def convertsClassNameToLink() { when: def link = converter.resolve('someName', classMetaData, listener) then: format(link) == '<someLinkElement/>' _ * nameResolver.resolve('someName', classMetaData) >> 'org.gradle.SomeClass'
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.7K bytes - Viewed (0) -
tests/associations_has_one_test.go
if err := DB.Model(&user2).Association("Account").Delete(&Account{}); err != nil { t.Fatalf("Error happened when delete account, got %v", err) } AssertAssociationCount(t, user2, "Account", 1, "after delete non-existing data") if err := DB.Model(&user2).Association("Account").Delete(&account2); err != nil { t.Fatalf("Error happened when delete Account, got %v", err) } AssertAssociationCount(t, user2, "Account", 0, "after delete")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/typed-errors.go
// error returned in IAM subsystem when user doesn't exist. var errNoSuchUser = errors.New("Specified user does not exist") // error returned by IAM when a use a builtin IDP command when they could mean // to use a LDAP command. var errNoSuchUserLDAPWarn = errors.New("Specified user does not exist. If you meant a user in LDAP please use command under `mc idp ldap`") // error returned when service account is not found
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 5.8K bytes - Viewed (0)