Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for sensible (0.18 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

                configurations { compile }
    
                dependencies {
                    compile 'org.test:projectA:1.0'
                }
            """
            resolve.prepare()
        }
    
        def "produces sensible error when bad code is supplied in component metadata rule" () {
            def lines = buildFile.readLines().size()
            buildFile << """
                class WrongRule implements ComponentMetadataRule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingMapEntry.java

      @Override
      public boolean equals(@CheckForNull Object object) {
        return delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #equals(Object)} in terms of {@link #getKey()} and {@link
       * #getValue()}. If you override either of these methods, you may wish to override {@link
       * #equals(Object)} to forward to this implementation.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

      @Override
      protected abstract SortedMultiset<E> delegate();
    
      @Override
      public SortedSet<E> elementSet() {
        return (SortedSet<E>) super.elementSet();
      }
    
      /**
       * A sensible implementation of {@link SortedMultiset#elementSet} in terms of the following
       * methods: {@link SortedMultiset#clear}, {@link SortedMultiset#comparator}, {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishDescriptorCustomizationIntegTest.groovy

            ivy.expectArtifact(moduleName).hasAttributes("jar", "jar", ["compile", "runtime"])
            module.ivyFile.assertDoesNotExist()
        }
    
        def "produces sensible error when withXML fails"() {
            when:
            buildFile << """
                publishing {
                    publications {
                        ivy {
                            descriptor.withXml {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/MappingSourceDependencyIntegrationTest.groovy

                                url = uri("$gitRepo")
                                ${repoDef}
                            }
                        }
                    }
                }
            """
        }
    
        def 'emits sensible error when bad code is in vcsMappings block'() {
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        all { details ->
                            foo()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

      @Override
      public boolean equals(@CheckForNull Object object) {
        return delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible definition of {@link #equals(Object)} in terms of {@link #getKey()} and {@link
       * #getValue()}. If you override either of these methods, you may wish to override {@link
       * #equals(Object)} to forward to this implementation.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 19 19:28:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ArtifactTypeTest.groovy

     */
    
    package org.gradle.api.internal.artifacts.ivyservice
    
    import org.gradle.api.internal.component.ArtifactType
    import spock.lang.Specification
    
    class ArtifactTypeTest extends Specification {
        def "have sensible toString values"() {
            expect:
            ArtifactType.SOURCES.toString() == "'sources' artifacts"
            ArtifactType.JAVADOC.toString() == "'javadoc' artifacts"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/AbstractSerializer.java

     * limitations under the License.
     */
    
    package org.gradle.internal.serialize;
    
    import com.google.common.base.Objects;
    
    /**
     * This abstract class provide a sensible default implementation for {@code Serializer} equality. This equality
     * implementation is required to enable cache instance reuse within the same Gradle runtime. Serializers are used
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/dsl/org.gradle.plugins.ear.EarPluginConvention.xml

                    <td><literal>'lib'</literal></td>
                </tr>
                <tr>
                    <td>deploymentDescriptor</td>
                    <td>A deployment descriptor initialized with sensible defaults</td>
                </tr>
                <tr>
                    <td>generateDeploymentDescriptor</td>
                    <td><literal>true</literal></td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/toolchain/SwiftToolChainDiscoveryIntegrationTest.groovy

                        ${toolChain.buildScriptConfig}
                    }
                }
            """
        }
    
        def "toolchain is not available when the discovered swift executable does not return sensible output"() {
            def scriptDir = testDirectory.createDir("scriptDir")
            def script = scriptDir.createFile("swiftc")
            script << """
                #!/bin/sh
                echo "foo"
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top