﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16700	[PATCH] tests: add new tests exercising handling of plugins that advertise multiple versions for compatibility	ris	team	"https://github.com/openstreetmap/josm/pull/34

Spurred by #16622, this ""multi-version"" functionality was not exercised by any tests. As ever when writing tests of the plugin handling code, I found an amount of probably-not-ideal behaviour which this now at least documents.

To make this easier, in these patches I introduced a basic mechanism for being able to override `JOSMTestRules` settings on a per-test-method basis using annotations. I only ''used'' the annotation `@JOSMTestRules.OverrideAssumeRevision` in these tests, but I also added `@JOSMTestRules.OverrideTimeout` as I saw it as something that could be immediately useful and was a good example of how this pattern could be continued to useful ends.

From that changeset's comment:

> JOSMTestRules: give JOSMTestRules a mechanism to allow per-method overrides of rule options
> 
> The caveats here are that it will only ever be possible to ""add"" additional options to the rule in the same way options can be appended to a call chain already (because they're processed using the same mechanism). Annotations can also only ever take primitive types as arguments (so no specifying new .fakeImagery(TileSourceRule ...) arguments)

Which I think says enough. Appveyor and (headless) travis passing. Attaching patches..."	enhancement	closed	minor	18.09	Unit tests		fixed	plugin tests version	
