Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toPlatformLineSeparators (0.47 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            e2.message == TextUtil.toPlatformLineSeparators("""Cannot query the value of <a> because it has no value available.
    The value of this property is derived from: <c>""")
    
            when:
            b.attachOwner(owner(), displayName("<b>"))
            a.get()
    
            then:
            def e3 = thrown(MissingValueException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            when:
            registry.get("foo")
    
            then:
            ConfigurationCycleException e = thrown()
            e.message == TextUtil.toPlatformLineSeparators("""A cycle has been detected in model rule dependencies. References forming the cycle:
    foo
    \\- foo mutator
       \\- bar
          \\- bar mutator
             \\- foo""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

            expect:
            registry.get(String)
    
            when:
            registry.get(Comparable)
    
            then:
            ServiceLookupException e = thrown()
            e.message == TextUtil.toPlatformLineSeparators("""Multiple services of type Comparable available in DefaultServiceRegistry:
       - Service Integer at DefaultServiceRegistryTest\$TestProvider.createInt()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            property.add(elementProvider)
    
            when:
            property.get()
    
            then:
            def e = thrown(IllegalStateException)
            e.message == TextUtil.toPlatformLineSeparators("""Cannot query the value of ${displayName} because it has no value available.
    The value of this property is derived from: <source>""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            property.put('k3', provider)
    
            when:
            property.get()
    
            then:
            def e = thrown(IllegalStateException)
            e.message == TextUtil.toPlatformLineSeparators("""Cannot query the value of ${displayName} because it has no value available.
    The value of this property is derived from: <source>""")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
Back to top