Matias Griese
a8a960d10b
Updated unit tests
2021-02-01 11:14:53 +02:00
Patric Johansson
4bba284bf5
Update Core to follow PSR-2 standard
2019-10-15 13:33:48 +03:00
Flavio Copes
db664b2762
Move common GPM methods from InstallCommand to Common\GPM\GPM. Move tests too
2016-03-06 17:25:56 +01:00
Flavio Copes
ff7d8a4391
Rename dependencies_versions to dependencies in tests
2016-02-29 16:40:21 +01:00
Flavio Copes
797e513395
Make sure version dependencies work with alpha / beta / rc versioning too
2016-02-23 22:07:56 +01:00
Flavio Copes
30640ae821
Test dependencies of dependencies
2016-02-19 19:59:59 +01:00
Flavio Copes
5c887495bf
Fix tests with GpmStub
2016-02-19 19:59:54 +01:00
Flavio Copes
78864ecc03
GpmStub in test
2016-02-19 19:59:36 +01:00
Flavio Copes
17c47889a6
Improve calculateMergedDependenciesOfPackages
...
Raise exceptions if two merged versions in "next significant release"
format are incompatible
Wrote appropriate tests.
2016-02-17 14:33:27 +01:00
Flavio Copes
5cdc10075a
Add versionFormatIsNextSignificantRelease and versionFormatIsEqualOrHigher methods
...
And corresponding tests
2016-02-17 14:22:59 +01:00
Flavio Copes
b331758d9c
Add checkNextSignificantReleasesAreCompatible method
...
Added own tests too.
Returns true if two releases are compatible by the 'next significant
release' meaning.
~1.2 is equivalent to >=1.2 <2.0.0
~1.2.3 is equivalent to >=1.2.3 <1.3.0
In short, allows the last digit specified to go up
2016-02-17 14:19:14 +01:00
Flavio Copes
503ff8d70f
First step towards versions in dependencies
...
Add InstallCommand::calculateMergedDependenciesOfPackages and
InstallCommand::calculateVersionNumberFromDependencyVersion and
corresponding unit tests
2016-02-16 15:24:33 +01:00