microsoft / oauth2-useragent

Microsoft OAuth 2.0 User Agent library for Java. Provides classes to facilitate the implementation of "4.1. Authorization Code Grant" from RFC 6749.
Other
35 stars 22 forks source link

TDD: version string with only major & minor #35

Closed olivierdagenais closed 8 years ago

olivierdagenais commented 8 years ago

Found through the GCML4ML: sometimes the Mac OS X version is only major.minor, so made patch optional.

Manual testing

  1. Added a few scenarios to a ProgramTest#checkOsRequirements_macOsHappy() for version strings like 10.11 and 10.12. The updated test failed.
  2. Installed SNAPSHOT version in local Maven repository and then temporarily updated GCM4ML's POM to point to it. The updated test now passed.

Mission accomplished!