Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: seregamorph/JavaHamcrest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: hamcrest/JavaHamcrest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 15 commits
  • 100 files changed
  • 5 contributors

Commits on Aug 28, 2024

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

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    01c776c View commit details
    Browse the repository at this point in the history
  2. Derive version from git (hamcrest#419)

    Instead of hard-coding the version into build.gradle, this change derives the version from git tags.
    
    If the HEAD commit has a tag in the format "`vM.N`", the version number `M.N` is used directly. Otherwise, a snapshot version is assumed, and the version becomes `M.(N+1)-SNAPSHOT`.
    tumbarumba authored Sep 8, 2024
    Configuration menu
    Copy the full SHA
    b943810 View commit details
    Browse the repository at this point in the history
  3. Update CHANGES.md

    tumbarumba committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    d11ad94 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. Allow matching against polymorphic collections (hamcrest#422)

    This fix PECS rule (producer extends, consumer super) to the Hamcrest IsIterableContaining matcher, as well as dependant implementations. In this instance, a collection of items should be treated as a producer according to this rule, while a matcher acts as a consumer.
    
    There is also an extra test for type variance in hasEntry (hamcrest#107)
    
    Closes hamcrest#252
    tumbarumba authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    242604a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    246967c View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Migrate all tests to JUnit Jupiter (hamcrest#424)

    This change migrates all tests to use JUnit Jupiter, so that is all tests are now annotated with `org.junit.jupiter.api.Test`.
    
    In most cases, this is a simple change of imports, with a few exceptions:
    * Uses of `assertTrue` have been adjusted to allow for the description being the last parameter
    * `org.hamcrest.AbstractMatcherTest` has been moved to `org.hamcrest.test.AbstractMatcherTest`
    * Static assertion methods in `AbstractMatcherTest` have been moved to `org.hamcrest.test.MatcherAssertions`
    tumbarumba authored Oct 12, 2024
    Configuration menu
    Copy the full SHA
    581d6ba View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Bump org.junit.jupiter:junit-jupiter from 5.11.2 to 5.11.3 (hamcrest#425

    )
    
    Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.11.2 to 5.11.3.
    - [Release notes](https://github.com/junit-team/junit5/releases)
    - [Commits](junit-team/junit-framework@r5.11.2...r5.11.3)
    
    ---
    updated-dependencies:
    - dependency-name: org.junit.jupiter:junit-jupiter
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    1bed2f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. Configuration menu
    Copy the full SHA
    1e4230f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff2c25b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    544a4cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0545a5 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2024

  1. Restore public constructors for compatibility (hamcrest#428)

    Restore public constructors for compatibility
    
    CoreMatchers, MatcherAssert, and Matchers had private contructors added
    to fix javadoc warnings. Unfortunately, this can break existig users of
    the classes.
    
    Fixes hamcrest#427
    tumbarumba authored Nov 17, 2024
    Configuration menu
    Copy the full SHA
    5dc0112 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f089c7e View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2024

  1. Make hasProperty(), hasPropertyAtPath(), samePropertyValuesAs()

    … work for Java Records (hamcrest#426)
    
    Make hasProperty(), hasPropertyAtPath(), samePropertyValuesAs() work for Java Records
    
    Resolves hamcrest#392
    djkeh authored Nov 30, 2024
    Configuration menu
    Copy the full SHA
    3d58e99 View commit details
    Browse the repository at this point in the history
Loading