Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move JUnitTestClassExecuterTest to be a Processor-level test instead.

Also include a test for a JUnit 3-style test suite.

    • -69
    • +0
    ./junit/JUnitTestClassExecuterTest.groovy
  1. … 2 more files in changeset.
Start migrating test classes to the most appropriate subproject

Story: gradle/langos#103

Item: refactor-plugins

    • -29
    • +0
    ./DefaultTestClassDescriptorTest.groovy
    • -30
    • +0
    ./DefaultTestSuiteDescriptorTest.groovy
    • -115
    • +0
    ./SuiteTestClassProcessorTest.groovy
    • -58
    • +0
    ./detection/DefaultTestClassScannerTest.groovy
    • -72
    • +0
    ./detection/DefaultTestExecuterTest.groovy
    • -63
    • +0
    ./filter/DefaultTestFilterTest.groovy
    • -129
    • +0
    ./filter/TestSelectionMatcherTest.groovy
    • -293
    • +0
    ./junit/JUnitTestClassProcessorData.groovy
    • -297
    • +0
    ./junit/JUnitTestClassProcessorTest.groovy
    • -131
    • +0
    ./junit/TestClassExecutionEventGeneratorTest.groovy
    • -44
    • +0
    ./junit/report/AllTestResultsTest.groovy
    • -26
    • +0
    ./junit/report/ClassTestResultsTest.groovy
    • -150
    • +0
    ./junit/report/CompositeTestResultsTest.groovy
    • -584
    • +0
    ./junit/report/DefaultTestReportTest.groovy
  1. … 110 more files in changeset.
Moved a bunch of classes from 'core' to 'plugins' project.

    • -0
    • +116
    ./processors/DefaultStandardOutputRedirectorTest.groovy
    • -1
    • +0
    ./processors/TestOutputRedirectorTest.groovy
  1. … 8 more files in changeset.
Make JUnit test suites runnable using the --tests argument.

- The --tests flag takes an argument that is used as a method

name filter. Currently, when used with a test suite name, this

filters out each individual test within the suite because it

doesn't match the test suite name.

- If a test suite is included using a method name filter, let it

run all its tests even if they aren't explicitly named by the

filter.

- This is accomplished by ignoring the method name filter if the

test class we're considering matches the filter by itself.

- The other case that would trigger this is if a normal test

class name matches the filter. In this case, behavior is

unchanged; all its methods would run either way.

    • -0
    • +69
    ./junit/JUnitTestClassExecuterTest.groovy
  1. … 4 more files in changeset.
Improved test filtering for Junit classes that use a Runner that is not also Filterable.

    • -2
    • +2
    ./junit/JUnitTestClassProcessorData.groovy
    • -0
    • +25
    ./junit/JUnitTestClassProcessorTest.groovy
  1. … 2 more files in changeset.
Changed TestEventSerializer so that it provides a Serializer rather than a StatefulSerializer.

    • -17
    • +5
    ./worker/TestEventSerializerTest.groovy
  1. … 12 more files in changeset.
allow setting class and method name explicit in TestFilter

    • -0
    • +10
    ./filter/DefaultTestFilterTest.groovy
  1. … 3 more files in changeset.
Revert "update spec with implementation for test execution via tooling-api"

    • -29
    • +1
    ./filter/DefaultTestFilterTest.groovy
    • -145
    • +5
    ./filter/TestSelectionMatcherTest.groovy
    • -7
    • +7
    ./junit/JUnitTestClassProcessorTest.groovy
  1. … 28 more files in changeset.
Don't make assumptions about the TestDescriptor implementations when forwarding test progress events to the build client.

  1. … 7 more files in changeset.
Mark some more tests as leaking file handles.

+review REVIEW-5504

    • -1
    • +0
    ./junit/result/TestOutputStoreSpec.groovy
  1. … 13 more files in changeset.
Fix test not to leak file handles.

+review REVIEW-5504

    • -10
    • +26
    ./junit/result/TestOutputStoreSpec.groovy
Forcefully clean up test temp directories and mark tests for which it fails on Windows with @LeaksFileHandles so that they still pass.

+review REVIEW-5504

    • -17
    • +11
    ./junit/result/TestOutputStoreSpec.groovy
  1. … 97 more files in changeset.
Slightly adjust the test fix

    • -5
    • +5
    ./processors/TestMainActionTest.groovy
Fixes action events test

    • -4
    • +4
    ./processors/TestMainActionTest.groovy
Fixes broken unit test

    • -0
    • +3
    ./detection/DefaultTestExecuterTest.groovy
Avoid failing execution of tests if not matching tests are found when executed from the TestLauncher

+review REVIEW-5489

  1. … 5 more files in changeset.
Added support for test exclusion in TestFilter

+review REVIEW-5489

    • -1
    • +20
    ./filter/DefaultTestFilterTest.groovy
    • -5
    • +145
    ./filter/TestSelectionMatcherTest.groovy
    • -7
    • +7
    ./junit/JUnitTestClassProcessorTest.groovy
  1. … 12 more files in changeset.
Introduce TestListenerInternal, use this as the canonical way of receiving test events. Adapt TestListener and TestOutputListener to this internal type.

    • -0
    • +347
    ./results/StateTrackingTestResultProcessorTest.groovy
    • -324
    • +0
    ./results/TestListenerAdapterTest.groovy
  1. … 9 more files in changeset.
Some tweaks to the TestDescriptor display names.

    • -1
    • +1
    ./DefaultTestClassDescriptorTest.groovy
    • -1
    • +1
    ./DefaultTestSuiteDescriptorTest.groovy
  1. … 12 more files in changeset.
Revert "Use task path for the id of the root test suite"

This reverts commit 8fa1b9ada49a536f8d12832729b1ab2303d59278.

    • -4
    • +11
    ./processors/TestMainActionTest.groovy
  1. … 2 more files in changeset.
Revert "Fix test fixture since id is now derived from test task path"

This reverts commit 90f7812aed08453ad597e930937343892175bdf3.

    • -1
    • +0
    ./detection/DefaultTestExecuterTest.groovy
Fix test fixture since id is now derived from test task path

    • -0
    • +1
    ./detection/DefaultTestExecuterTest.groovy
Fix test fixture since id is now derived from test task path

    • -0
    • +1
    ./detection/DefaultTestExecuterTest.groovy
Use task path for the id of the root test suite

    • -11
    • +4
    ./processors/TestMainActionTest.groovy
  1. … 2 more files in changeset.
Use task path for the id of the root test suite

    • -11
    • +4
    ./processors/TestMainActionTest.groovy
  1. … 2 more files in changeset.
Beautify name of the RootTestSuiteDescriptor for display on the event-receiving end

    • -1
    • +1
    ./processors/TestMainActionTest.groovy
  1. … 2 more files in changeset.
Ensure the id of each RootTestSuiteDescriptor is unique across different test tasks of the same build execution

    • -16
    • +16
    ./processors/TestMainActionTest.groovy
  1. … 2 more files in changeset.
Make DirectInstantiator a singleton.

    • -1
    • +1
    ./logging/DefaultTestLoggingContainerTest.groovy
    • -1
    • +1
    ./testng/TestNGTestFrameworkTest.groovy
  1. … 88 more files in changeset.
Renamed package o.g.messaging.serialize to o.g.internal.serialize.

    • -2
    • +2
    ./worker/TestEventSerializerTest.groovy
  1. … 171 more files in changeset.
Made SystemProperties class a singleton instead of just having static fields and methods. Doing so is also going to allow us to push synchronization logic into this class e.g. for creating instances through a factory with a provided java home system property.

+review REVIEW-5397

  1. … 53 more files in changeset.