Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Consolidate all the testing related classes under o.g.api.internal.tasks.testing - Merged AbstractTestTask and Test - Moved some classes from o.g.api.tasks.testing to o.g.api.internal.tasks.testing

    • -180
    • +0
    ./detection/AbstractTestFrameworkDetector.java
    • -146
    • +0
    ./detection/ClassFileExtractionManager.java
    • -107
    • +0
    ./detection/DefaultTestClassScanner.java
    • -52
    • +0
    ./detection/DefaultTestClassScannerFactory.java
    • -28
    • +0
    ./detection/TestClassScannerFactory.java
    • -68
    • +0
    ./execution/MaxNParallelTestClassProcessor.java
    • -63
    • +0
    ./execution/RestartEveryNTestClassProcessor.java
    • -80
    • +0
    ./execution/fork/ForkingTestClassProcessor.java
    • -24
    • +0
    ./execution/fork/WorkerTestClassProcessorFactory.java
    • -39
    • +0
    ./fabric/AbstractTestFrameworkInstance.java
  1. … 99 more files in changeset.
- Removed a bunch of files which have been merged into the test execution infrastructure

    • -64
    • +0
    ./detection/DefaultTestDetectionOrchestrator.java
    • -25
    • +0
    ./detection/TestDetectionOrchestrator.java
    • -215
    • +0
    ./execution/PipelineDispatcher.java
    • -60
    • +0
    ./execution/PipelineDispatcherForkInfoListener.java
    • -148
    • +0
    ./execution/PipelinesManager.java
    • -120
    • +0
    ./execution/QueueingPipeline.java
    • -72
    • +0
    ./execution/control/client/ForkConfigWriter.java
    • -259
    • +0
    ./execution/control/client/ForkLaunchMain.java
  1. … 166 more files in changeset.
GRADLE-926 - Added Test.maxParallelForks to enable parallel test execution

    • -0
    • +68
    ./execution/MaxNParallelTestClassProcessor.java
  1. … 4 more files in changeset.
GRADLE-907 - Fix to include output of java util logging used by classes under test in the test report.

    • -2
    • +2
    ./execution/fork/WorkerTestClassProcessorFactory.java
  1. … 24 more files in changeset.
- Some javadocs

  1. … 5 more files in changeset.
- Roll back handling for when test installs a SecurityManager

  1. … 5 more files in changeset.
- Set java.class.path system property in worker process when loading application classes from system ClassLoader - Renamed some classes

  1. … 9 more files in changeset.
- better handle the case where a test installs a SecurityManager

    • -0
    • +54
    ./execution/fork/TestPolicy.java
  1. … 4 more files in changeset.
Renamed FileSet to DefaultConfigurableFileTree

    • -12
    • +12
    ./detection/DefaultTestClassScanner.java
  1. … 17 more files in changeset.
GRADLE-893 Make ConfigurableFileTree buildable.

    • -1
    • +1
    ./detection/DefaultTestClassScanner.java
  1. … 11 more files in changeset.
- Removed BootstrapUtil, it is no longer used - Renamed some worker process classes

    • -4
    • +3
    ./execution/control/client/ForkConfigWriter.java
  1. … 25 more files in changeset.
GRADLE-800 - Changed test execution to load classes under test using test process' system classloader, rather than an isolated classloader

    • -15
    • +3
    ./execution/control/client/ForkConfigWriter.java
    • -0
    • +1
    ./execution/fork/ForkingTestClassProcessor.java
  1. … 33 more files in changeset.
GRADLE-800 - Report only failed test classes, not each failed test (ie the behaviour we used to have when using the Ant task) - Fail the build if any test suite fails (eg a failure in a JUnit Runner implementation) - Be a bit more forgiving of badly behaved test processors

  1. … 11 more files in changeset.
GRADLE-800 - wired up TestNGOptions.includedGroups, excludedGroups and listeners - renamed AbstractTestFrameworkOptions to TestFrameworkOptions and converted to java - converted JUnitOptions to java

  1. … 27 more files in changeset.
GRADLE-800 - Provide correct resultType for test suite result - Collect failures in the test suite itself to provide in the result. - Send less stuff across the wire for test results - Added JUnitTestResult fixture to use in int tests

    • -1
    • +1
    ./detection/DefaultTestClassScanner.java
    • -3
    • +9
    ./detection/DefaultTestClassScannerFactory.java
    • -2
    • +3
    ./detection/DefaultTestDetectionOrchestrator.java
    • -1
    • +3
    ./detection/TestClassScannerFactory.java
  1. … 37 more files in changeset.
GRADLE-800 - Inject IdGenerator into DefaultWorkerProcessFactory. - Fixed generics for IdGenerator usages

    • -1
    • +1
    ./execution/fork/WorkerTestClassProcessorFactory.java
  1. … 13 more files in changeset.
GRADLE-800 - Added a TestResult parameter to TestListener.afterSuite(), currently always has success status. - Added JavaForkOptions.enableAssertions, defaults to true for AntTest. - Ensure every Test instance has a unique id. - Synthesise a test suite for each worker process.

    • -4
    • +3
    ./execution/fork/ForkingTestClassProcessor.java
    • -14
    • +17
    ./execution/fork/TestWorker.java
    • -0
    • +24
    ./execution/fork/WorkerTestClassProcessorFactory.java
    • -1
    • +2
    ./fabric/AbstractTestFrameworkInstance.java
  1. … 43 more files in changeset.
GRADLE-800, GRADLE-824 - More test coverage for more types of failures in JUnit/TestNG tests - Handle failures in TestNG config methods (@BeforeMethod, etc)

    • -9
    • +2
    ./detection/AbstractTestFrameworkDetector.java
  1. … 18 more files in changeset.
GRADLE-800 - Set context classloader when executing tests - Merged TestSuite into Test - Changed TestListenerFormatter and TestNGListenerAdapter to handle parallel test execution - Use internal interface TestResultProcessor, rather than public TestListener, to ship test events around

    • -5
    • +6
    ./execution/RestartEveryNTestClassProcessor.java
    • -54
    • +0
    ./execution/ant/AbstractBatchTestClassProcessor.java
    • -5
    • +6
    ./execution/fork/ForkingTestClassProcessor.java
    • -3
    • +4
    ./pipelinesplit/SplittingTestClassProcessor.java
  1. … 36 more files in changeset.
GRADLE-800 Fleshed out TestListener events: - Use a consistent cross-framework naming scheme for tests - Can get class name and method name for a test, if applicable - TestSuite is-a composite Test - Fire a global suite start and end event that encloses all tests and suites - Added start and end times to TestResult.

    • -2
    • +0
    ./detection/DefaultTestClassScanner.java
  1. … 23 more files in changeset.
GRADLE-800 - Use the build's logging level in test process.

  1. … 17 more files in changeset.
GRADLE-800 - Fix test execution problem when test classpath contains a version of Ant < 1.7.0 - Use the working directory specified by the test options for test processes. - Better handling of internal exceptions in test process.

    • -6
    • +7
    ./execution/fork/ForkingTestClassProcessor.java
  1. … 19 more files in changeset.
GRADLE-800 - Changed test execution so that Gradle has responsibility for forking test processes. - Temporarily ignore test options. - Switched on TestListeners for TestNG tests. - Gradle classes and classes under test are now isolated from each other in the forked test process. - Fixed a deadlock when worker process fails before it connects to the server, and after the server has started sending messages to the worker process.

    • -1
    • +3
    ./detection/AbstractTestFrameworkDetector.java
    • -0
    • +7
    ./execution/RestartEveryNTestClassProcessor.java
    • -1
    • +12
    ./execution/ant/AbstractBatchTestClassProcessor.java
    • -0
    • +78
    ./execution/fork/ForkingTestClassProcessor.java
    • -0
    • +75
    ./execution/fork/TestWorker.java
    • -0
    • +7
    ./pipelinesplit/SplittingTestClassProcessor.java
  1. … 74 more files in changeset.
- Switched on some more checkstyle and codenarc checks.

  1. … 88 more files in changeset.
GRADLE-800 - Changed AntJUnitExecute and AntTestNGExecute to implements TestClassProcessor - Replaced TestFrameworkInstance.execute() with getProcessorFactory()

    • -0
    • +43
    ./execution/ant/AbstractBatchTestClassProcessor.java
    • -44
    • +0
    ./execution/ant/AntTaskBackedTestClassProcessor.java
  1. … 13 more files in changeset.
GRADLE-800 - Extracted (public) ProcessForkOptions and JavaForkOptions interfaces out of (internal) ExecHandleBuilder and JavaExecHandlerBuilder.

  1. … 26 more files in changeset.
GRADLE-800 - Changed AntTest task to always use a forked test process - Removed JUnitOptions.forkMode, fork and reloading properties - Added AbstractTestTask.forkEvery property to replace ForkMode.PER_TEST. Specifies the number of test classes to execute per test process.

    • -0
    • +20
    ./TestClassProcessorFactory.java
    • -2
    • +0
    ./detection/DefaultTestClassScanner.java
    • -0
    • +55
    ./execution/RestartEveryNTestClassProcessor.java
    • -7
    • +2
    ./execution/ant/AntTaskBackedTestClassProcessor.java
    • -4
    • +4
    ./fabric/AbstractTestFrameworkInstance.java
    • -6
    • +0
    ./pipelinesplit/SplittingTestClassProcessor.java
  1. … 18 more files in changeset.
GRADLE-800 - Extracted test execution from AntTest into a TestClassProcessor implementation. - Some testing infrastructure wiring simplifications

    • -0
    • +29
    ./TestClassProcessor.java
    • -0
    • +1
    ./detection/AbstractTestFrameworkDetector.java
    • -0
    • +5
    ./detection/DefaultTestClassScanner.java
    • -1
    • +2
    ./detection/DefaultTestClassScannerFactory.java
    • -37
    • +0
    ./detection/QueueItemProducingTestClassProcessor.java
    • -46
    • +0
    ./detection/SetBuildingTestClassProcessor.java
    • -27
    • +0
    ./detection/TestClassProcessor.java
    • -1
    • +2
    ./detection/TestClassScannerFactory.java
    • -0
    • +49
    ./execution/ant/AntTaskBackedTestClassProcessor.java
  1. … 20 more files in changeset.
GRADLE-800 - Some infrastructure for forking worker processes and messaging between the build and worker processes. Builds on remote listener and exec handle code. - Extracted JavaExecHandleBuilder from various places.

    • -0
    • +85
    ./execution/control/client/ForkConfigWriter.java
    • -0
    • +100
    ./execution/control/client/ForkProcessConfig.java
    • -101
    • +0
    ./execution/fork/ForkConfigWriter.java
    • -10
    • +1
    ./fabric/AbstractTestFrameworkInstance.java
  1. … 44 more files in changeset.
GRADLE-800 - Fixed potential deadlock in remote eventing - Merged fork-launcher project into gradle-plugins - Changed ForkLauncherMain to read config from standard input

    • -0
    • +259
    ./execution/control/client/ForkLaunchMain.java
    • -16
    • +3
    ./execution/fork/ForkConfigWriter.java
  1. … 21 more files in changeset.