From e995854f1126457c2a25ce37d6ba95694f1dd53d Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 27 Sep 2017 20:05:42 +0200 Subject: [PATCH] Cross reference SpEL and Environment from JUnit Jupiter documentation Issue: SPR-14524 --- src/docs/asciidoc/testing.adoc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/docs/asciidoc/testing.adoc b/src/docs/asciidoc/testing.adoc index 437d274984..279bdc8de5 100644 --- a/src/docs/asciidoc/testing.adoc +++ b/src/docs/asciidoc/testing.adoc @@ -1054,9 +1054,10 @@ all test methods within that class are automatically enabled by default as well. Expressions can be any of the following. -* Spring Expression Language (SpEL) expression – for example: +* <> (SpEL) expression – for example: - `@EnabledIf("#{systemProperties['os.name'].toLowerCase().contains('mac')}")` -* Placeholder for a property available in the Spring `Environment` – for example: +* Placeholder for a property available in the Spring + <> – for example: - `@EnabledIf("${smoke.tests.enabled}")` * Text literal – for example: - `@EnabledIf("true")` @@ -1090,9 +1091,10 @@ level, all test methods within that class are automatically disabled as well. Expressions can be any of the following. -* Spring Expression Language (SpEL) expression – for example: +* <> (SpEL) expression – for example: - `@DisabledIf("#{systemProperties['os.name'].toLowerCase().contains('mac')}")` -* Placeholder for a property available in the Spring `Environment` – for example: +* Placeholder for a property available in the Spring + <> – for example: - `@DisabledIf("${smoke.tests.disabled}")` * Text literal – for example: - `@DisabledIf("true")`