ftsrg / BME-MODES3

Model-based Demonstrator for Smart and Safe Systems
https://inf.mit.bme.hu/research/projects/modes3
16 stars 8 forks source link

Refactored GPIO to be testable and gradle upgrade #116

Open ecsedigergo opened 6 years ago

zsoltmazlo commented 6 years ago

If I may interrupt, I think version upgrades are not that big a deal

benedekh commented 6 years ago

A general question in the end: did you test the changes together with the modules (components) which use the GpioManager? Do these components work correctly after introducing the separate classes for CommandWriter and CommandReader in GpioManager?

ecsedigergo commented 6 years ago

General answer: First of all I did not have yet opportunity and the knowledge to test it, but its true, its necessary before the merge.

benedekh commented 6 years ago

If I may interrupt, I think version upgrades are not that big a deal

@zsoltmazlo There are two issues which might arise:

  1. some internal code might broke within the modules if they heavily rely on some specific features of the dependencies.
  2. every gradle project ought to use the same version of the dependency to avoid incompatibility / inconsistency issues. ('Everyone should be on the same page.' as the saying goes.)
ecsedigergo commented 6 years ago

I wanted to use JUnit 5 and for that I had to upgrade the versions.

benedekh commented 6 years ago

@ecsedigergo Argument is accepted. If it does not cause any compilation (/ runtime) problems, then the version upgrade is good to go.