Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for specification (0.2 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs
    
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    
    class UserGuideTransformTaskTest extends Specification {
    
        def replacesTabsWith4Spaces() {
            given:
            String content = "test\ttest\ttest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Tue Jul 27 19:28:51 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class TypeMetaDataTest extends Specification {
        final TypeMetaData type = new TypeMetaData('org.gradle.SomeType')
    
        def rawTypeForSimpleType() {
            expect:
            type.rawType.signature == 'org.gradle.SomeType'
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

     */
    package gradlebuild.docs.model
    
    import java.nio.file.Files
    import org.gradle.api.Action
    import org.gradle.api.UnknownDomainObjectException
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class SimpleClassMetaDataRepositoryTest extends Specification {
        @TempDir File tmpDir
        final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>()
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

    import japicmp.model.JApiClass
    import javassist.ClassPool
    import me.champeau.gradle.japicmp.report.ViolationCheckContext
    import spock.lang.Specification
    import spock.lang.TempDir
    
    abstract class AbstractContextAwareRuleSpecification extends Specification {
        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook
    
    import spock.lang.Specification
    
    class HtmlToXmlJavadocLexerTest extends Specification {
        def "discards whitespace around block elements"() {
            expect:
            parse(source) == transformed
    
            where:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaDataTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class ParameterMetaDataTest extends Specification {
        def "formats signature"() {
            MethodMetaData method = Mock()
            def parameter = new ParameterMetaData('param')
            def type = new TypeMetaData('org.gradle.SomeType')
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import spock.lang.Specification
    import spock.lang.Subject
    import spock.lang.TempDir
    
    class AcceptedApiChangesJsonFileManagerTest extends Specification {
    
        @TempDir
        File temporaryFolder
    
        @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager()
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.docs
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class FindBrokenInternalLinksTest extends Specification {
        @TempDir
        private File projectDir
    
        private File docsRoot
        private File sampleDoc
        private File linkErrors
    
        private setup() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class MethodMetaDataTest extends Specification {
        final ClassMetaData owner = Mock()
        final MethodMetaData method = new MethodMetaData('method', owner)
    
        def formatsSignature() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

    import me.champeau.gradle.japicmp.report.Severity
    import me.champeau.gradle.japicmp.report.ViolationCheckContext
    import org.gradle.api.Incubating
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import javax.inject.Inject
    
    class PublicAPIRulesTest extends Specification {
        private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest'
        private final static String TEST_INTERFACE_SIMPLE_NAME = 'ApiTest'
    
        @TempDir
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
Back to top