ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant git commit: Add magic names for tests, run more tests in Surefire
Date Sun, 28 Oct 2018 16:59:57 GMT
On 2018-10-23, <gintas@apache.org> wrote:

> http://git-wip-us.apache.org/repos/asf/ant/blob/679a9422/src/main/org/apache/tools/ant/MagicNames.java

>+    /**
>+     * Magic property that makes unit tests based on BuildFileTest
>+     * or BuildFileRule ignore externally set basedir
>+     * (typically by Surefire/Failsafe)
>+     *
>+     * Value: {@value}
>+     * @since Ant 1.10.6
>+     */
>+    public static final String TEST_BASEDIR_IGNORE = "ant.test.basedir.ignore";

I wonder whether it wouldn't be a good idea to create a separate class
for constants used during testing that lives in ant-testutil rather than
poluting the "magic names" of Ant.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message