Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ordering, Orderable and @OrderWith #1130

Merged
merged 29 commits into from
Jul 30, 2018
Merged

Commits on Apr 25, 2015

  1. Add Ordering, Orderable and @OrderWith.

    These APIs allow arbitrary ordernig of tests, including randomization.
    kcooney committed Apr 25, 2015
    Configuration menu
    Copy the full SHA
    44b64df View commit details
    Browse the repository at this point in the history
  2. Remove unreachable code

    kcooney committed Apr 25, 2015
    Configuration menu
    Copy the full SHA
    e68c015 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2015

  1. Handle @RunWith in RunnerBuilder

    kcooney committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    4770fff View commit details
    Browse the repository at this point in the history
  2. Change Sorter to no longer extend Ordering.

    Change Orderable to no longer extend Sortable.
    kcooney committed Apr 30, 2015
    Configuration menu
    Copy the full SHA
    a19a3ab View commit details
    Browse the repository at this point in the history

Commits on May 1, 2015

  1. Revert "Change Sorter to no longer extend Ordering."

    This reverts commit a19a3ab.
    kcooney committed May 1, 2015
    Configuration menu
    Copy the full SHA
    82e019f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f19f035 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2017

  1. Configuration menu
    Copy the full SHA
    8390bc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e38776 View commit details
    Browse the repository at this point in the history
  3. Add Ordering.Context so Orderings can use the Description to get

    metadata. This can be used, for example, to allow an ordering to
    save the final ordering to a file specified in an annotation on
    the class annotated with @OrderWith.
    kcooney committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    1ba37d2 View commit details
    Browse the repository at this point in the history
  4. Rename parameters in applyOrdering() and Sorter.apply() from "runner"…

    … to "target"
    
    for clarity.
    kcooney committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    62ca6a0 View commit details
    Browse the repository at this point in the history
  5. Check ordering correctness in Ordering.

    This allows us to optimize Ordering.shuffledBy, and makes it easier
    for custom runners to be orderable.
    kcooney committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    753842d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea71fa4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    121744f View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2017

  1. Remove use of ReflectiveOperationException

    ReflectiveOperationException was added in JDK 1.7
    kcooney committed Jan 8, 2017
    Configuration menu
    Copy the full SHA
    9d71b2f View commit details
    Browse the repository at this point in the history

Commits on May 15, 2017

  1. Configuration menu
    Copy the full SHA
    5a7186b View commit details
    Browse the repository at this point in the history
  2. Fix javadoc for orderWith()

    kcooney committed May 15, 2017
    Configuration menu
    Copy the full SHA
    2f9d21a View commit details
    Browse the repository at this point in the history
  3. Minor formatting fixes

    kcooney committed May 15, 2017
    Configuration menu
    Copy the full SHA
    c6de86d View commit details
    Browse the repository at this point in the history

Commits on May 18, 2017

  1. Add Ordering.Factory.

    Also add a public Alphanumeric Ordering.Factory so users can do
    @RunWith(Alphanumeric.class)
    kcooney committed May 18, 2017
    Configuration menu
    Copy the full SHA
    5a3f954 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2f6131 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ce52c1 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2017

  1. Configuration menu
    Copy the full SHA
    d8a1ee6 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2017

  1. Minor formatting fix.

    kcooney committed Jun 27, 2017
    Configuration menu
    Copy the full SHA
    bfbad94 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2017

  1. Configuration menu
    Copy the full SHA
    9fb4772 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2018

  1. Configuration menu
    Copy the full SHA
    78ee8c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d1e2aa View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2018

  1. Configuration menu
    Copy the full SHA
    550654a View commit details
    Browse the repository at this point in the history
  2. Introduce MemoizingRequest

    kcooney committed Jun 2, 2018
    Configuration menu
    Copy the full SHA
    b2ce86a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca3e040 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3e6d464 View commit details
    Browse the repository at this point in the history