butterfly icon indicating copy to clipboard operation
butterfly copied to clipboard

Ensure LocateFile.getDescription() results in correct message in all possible use cases

Open fabiocarvalho777 opened this issue 6 years ago • 0 comments

Make sure LocateFile.getDescription() results in correct description, according to the two possible use cases, as shown below.

Direction Usage Expected description
Forward add(new LocateFile().relative("/src/main/resources"); Locate file "/src/main/resources"
Backward add(new LocateFile(3).absolute(ATT); Locate file 3 parent levels of "/src/main/resources"

In the Backward example above, assume ATT refers to "/src/main/resources". Make sure there are unit tests covering all these use cases.

fabiocarvalho777 avatar Dec 31 '17 00:12 fabiocarvalho777