PrecompiledScriptPluginTemplatesTest.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Annotate integ tests failing with instant execution in :kotlinDslPlugins

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +18
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 4 more files in changeset.
Annotate integ tests failing with instant execution in :kotlinDslPlugins

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +18
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 4 more files in changeset.
Fail to compile nested `plugins` blocks in Kotlin scripts

    • -5
    • +40
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 2 more files in changeset.
Fail to compile nested `plugins` blocks in Kotlin scripts

    • -5
    • +41
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 2 more files in changeset.
Remove spurious empty line

    • -1
    • +0
    ./PrecompiledScriptPluginTemplatesTest.kt
Let precompiled script templates support the `ObjectConfigurationAction` syntax

    • -69
    • +128
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 1 more file in changeset.
Remove unused import

    • -1
    • +0
    ./PrecompiledScriptPluginTemplatesTest.kt
Let precompiled project script template support `ObjectConfigurationAction` syntax

    • -1
    • +0
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 1 more file in changeset.
Add failing test case for ObjectConfigurationAction syntax in precompiled script plugin

    • -0
    • +42
    ./PrecompiledScriptPluginTemplatesTest.kt
Fix `PrecompiledScriptPluginTemplatesTest`

    • -1
    • +1
    ./PrecompiledScriptPluginTemplatesTest.kt
Prove `PluginAware` extensions can be used against nested receiver

    • -0
    • +38
    ./PrecompiledScriptPluginTemplatesTest.kt
Prove precompiled script plugin receiver is undecorated

    • -0
    • +46
    ./PrecompiledScriptPluginTemplatesTest.kt
Prove precompiled script templates honor `HasImplicitReceiver`

    • -0
    • +46
    ./PrecompiledScriptPluginTemplatesTest.kt
Remove core interfaces from precompiled Kotlin script template type hierarchy

Support for a common script API will come in a subsequent commit.

    • -3
    • +3
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 9 more files in changeset.
Polish `PrecompiledScriptPluginTemplatesTest`

- code style

    • -4
    • +10
    ./PrecompiledScriptPluginTemplatesTest.kt
Polish `PrecompiledScriptPluginTemplatesTest`

- code style

    • -4
    • +10
    ./PrecompiledScriptPluginTemplatesTest.kt
Fix tests in Kotlin DSL subprojects

    • -1
    • +6
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 7 more files in changeset.
Fix tests in Kotlin DSL subprojects

    • -1
    • +6
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 7 more files in changeset.
Fix tests in Kotlin DSL subprojects

    • -1
    • +6
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 7 more files in changeset.
Fix tests in Kotlin DSL subprojects

    • -1
    • +6
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 7 more files in changeset.
Build buildSrc after applying the settings file (#10305)

Fixes #9094 and #5333

    • -9
    • +21
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 54 more files in changeset.
Update kotlin tests (3)

    • -9
    • +21
    ./PrecompiledScriptPluginTemplatesTest.kt
Tweak deprecation message (add plural s)

    • -1
    • +1
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 8 more files in changeset.
Deprecating buildSrc usage in settings (#9898)

* Fix sanityCheck

* Handle deprecated use of resources from buildSrc in settings

* Address some feedback from PR review

* Simplify deprecation warning

* ensure only fired once for performance reasons

* tweak test coverage

* add proper test coverage

* use simplified deprecation warning

* ensure works with kotlin-ds;

* Fix caching of deprecated classloader

* use uniqye identifier and avoid same identifier as non deprecated loader

* fix more tests now expecting deprecation warning

* Make DeprecatedClassloader closeable

* Mention deprecation in upgrade guide

    • -1
    • +3
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 23 more files in changeset.
Fix more tests by expecting deprecation warning

    • -1
    • +3
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 3 more files in changeset.
Adapt Kotlin DSL test expectations to stricter Gradle interface impls

Implementing interfaces explicitly instead of doing it by delegation

as before causes the Kotlin compiler to introduce `null` checks that

enforce the declared interface contract.

The tests were assuming returning `null` from non-nullable functions

was always valid.

    • -4
    • +13
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 2 more files in changeset.
Rename `PrecompiledScriptPlugin` tests as well

In a recent commit, `ScriptPlugin` was renamed to

`PrecompiledScriptPlugin` to avoid a naming conflict with the core

Gradle API.

This commit renames the following test classes to account for the

change:

- `PrecompiledScriptPluginTest` is renamed to

`PrecompiledScriptPluginTemplatesTest` both because that's what it is

actually testing and to make the `PrecompiledScriptPluginTest` name

available;

- `ScriptPluginTest` is renamed `PrecompiledScriptPluginTest` to make

the connection with `PrecompiledScriptPlugin`

    • -0
    • +348
    ./PrecompiledScriptPluginTemplatesTest.kt
  1. … 3 more files in changeset.