]> xenbits.xensource.com Git - people/royger/osstest.git/commit
ResourceCondition: Break out PropCompareBase
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 11 Jun 2018 16:45:08 +0000 (17:45 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 12 Jun 2018 11:17:42 +0000 (12:17 +0100)
commite419eff1d7eb2dddead0c3346a613c33061b4ba7
tree74e09843e5f6c3d00b6346c1282f34cb6c0b457b
parent0235ff77d4fe0a3b1b554d063d6b3a3e703275f3
ResourceCondition: Break out PropCompareBase

Make a base class so we can easily invent other kinds of resource
property condition.  The child is responsible only for stringification
and the actual comparison.

These classes does not need Exporter, so drop all that.  Use `use
parent' to import the base class.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Osstest/ResourceCondition/PropCompareBase.pm [new file with mode: 0644]
Osstest/ResourceCondition/PropMinVer.pm