Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Look for SwiftApplication, not CppApplication

Fix checkstyle

Make Swift plugins use new lazy APIs

    • -53
    • +103
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 2 more files in changeset.
Avoid creating test and check tasks in native testing plugins

    • -9
    • +22
    ./plugins/NativeTestingBasePlugin.java
Use new task API in native plugins

    • -20
    • +38
    ./cpp/plugins/CppUnitTestPlugin.java
  1. … 3 more files in changeset.
Update Guava to 26.0

- Replace `Files.readLines()` with `Files.asCharSource().readLines()`

- Replace `Files.write()` with `Files.asCharSink().write()`

- Change `Objects.toStringHelper()` to `MoreObjects.toStringHelper()`

- Change `Iterators.emptyIterator()` to `Collections.emptyIterator()`

- Use `MoreExecutors.directExecutor()` with `Futures.addCallback`

- Replace `CharMatcher.JAVA_UPPER_CASE`/`JAVA_ISO_CONTROL` with

`CharMatcher.javaUpperCase()`/`CharMatcher.javaIsoControl()`

- Replace `new SimpleTimeLimiter()` with `SimpleTimeLimiter.create()`

- Update `DistributionIntegrationSpec` because Guava requires 4

additional downstream dependencies:

* org.checkerframework:checker-compat-qual

* com.google.errorprone:error_prone_annotations

* com.google.j2objc:j2objc-annotations

* org.codehaus.mojo:animal-sniffer-annotations

    • -2
    • +2
    ./xctest/tasks/InstallXCTestBundle.java
  1. … 25 more files in changeset.
Replace all usages of the property factory methods on `ProjectLayout` and `DefaultTask` with the factory methods on `ObjectFactory`.

    • -2
    • +11
    ./xctest/tasks/InstallXCTestBundle.java
  1. … 39 more files in changeset.
Separate `ITaskFactory` from `NamedEntityInstantiator<Task>` so that the instantiator is applied as a decoration over the factory.

    • -3
    • +1
    ./googletest/plugins/GoogleTestPlugin.java
  1. … 36 more files in changeset.
Expose the variant name and header directories for each C++ binary in the C++ tooling model.

Rework construction of the native binary models so that the binary names are not formatted and parsed a bunch of times during construction and so do not lose information.

    • -3
    • +3
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 29 more files in changeset.
Use immutable file collections whenever possible (#5797)

- Stop DefaultProject implementing FileOperations/ProcessOperations

- Stop BasicScript implementing FileOperations/ProcessOperations

- FileResovler.resolveUri() is not nullable

  1. … 37 more files in changeset.
Handle execution problems that prevent the test process from starting at all

  1. … 1 more file in changeset.
Make xctest fatal errors only fail the test and change execution failure test name

  1. … 6 more files in changeset.
Move failure diagnostics to test report

  1. … 8 more files in changeset.
Make xctest task fail when execution of the test suite fails

  1. … 3 more files in changeset.
Make xctest plugin lazy

except for a compile task

    • -16
    • +16
    ./cpp/plugins/CppUnitTestPlugin.java
    • -62
    • +102
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 4 more files in changeset.
Make most of C++ plugin tasks lazily created

    • -21
    • +36
    ./cpp/plugins/CppUnitTestPlugin.java
    • -9
    • +21
    ./plugins/NativeTestingBasePlugin.java
  1. … 5 more files in changeset.
Add support for C++ applications to the `cpp-unit-test` plugin, by relocating the `main` symbol from the object files of the application under test. Change the `UnexportMainSymbol` to be more idiomatic and the `runTest` task to be incremental.

Move some test coverage so that it is applied to both the XCtest and C++ unit test plugins.

    • -2
    • +15
    ./cpp/plugins/CppUnitTestPlugin.java
  1. … 15 more files in changeset.
Fix the `cpp-unit-test` plugin so that it makes implementation dependencies of the main component visible to the test suite. Reworked the dependency between the test binary and the binary under test for the `cpp-unit-test` and the `xctest` plugins, so that it is implemented consistently (for later extraction into a base plugin) and is wired in via the various configurations.

    • -5
    • +15
    ./cpp/plugins/CppUnitTestPlugin.java
    • -12
    • +20
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 9 more files in changeset.
Use new OperatingSystemFamily query method

  1. … 6 more files in changeset.
Rename OperatingSystemFamily.MAC_OS to MACOS

  1. … 4 more files in changeset.
Add missing operatingSystems to SwiftComponent

    • -45
    • +74
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 4 more files in changeset.
Fix test failure due to missing API export from application

  1. … 1 more file in changeset.
Fix tests and share code between C++ and Swift

    • -14
    • +54
    ./xctest/plugins/XCTestConventionPlugin.java
  1. … 11 more files in changeset.
Wire operatingSystem into Swift binary types

  1. … 6 more files in changeset.
A minor simplification.

Use camel case consistently for variant names

  1. … 7 more files in changeset.
Add `@Nullable` to `@Optional` task inputs

where applicable.

    • -1
    • +3
    ./xctest/tasks/InstallXCTestBundle.java
  1. … 45 more files in changeset.
Changed the XCTest plugin so that it does not add `-g` to the compiler args. This is already taken care of by the plugin adding a debuggable binary.

Moved a couple of services from `testingNative` down to `platformNative`

    • -36
    • +0
    ./xctest/internal/MacOSSdkPlatformPathLocator.java
    • -1
    • +1
    ./xctest/tasks/InstallXCTestBundle.java
  1. … 8 more files in changeset.
Use native variant identity for name suffix

    • -1
    • +1
    ./cpp/internal/DefaultCppTestSuite.java
  1. … 7 more files in changeset.