sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sseif...@apache.org
Subject svn commit: r1773506 - /sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext
Date Sat, 10 Dec 2016 08:35:40 GMT
Author: sseifert
Date: Sat Dec 10 08:35:40 2016
New Revision: 1773506

URL: http://svn.apache.org/viewvc?rev=1773506&view=rev
Log:
add documentation for slighty bindings values provider and unit test context mock plugin

Modified:
    sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext

Modified: sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext?rev=1773506&r1=1773505&r2=1773506&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext
(original)
+++ sling/site/trunk/content/documentation/bundles/context-aware-configuration/context-aware-configuration.mdtext
Sat Dec 10 08:35:40 2016
@@ -194,6 +194,15 @@ Example for setting up the unit test con
 		}
 	...
 
+In you project define a test dependency (additionally the sling-mock dependency is required):
+
+	#!xml
+	<dependency>
+		<groupId>org.apache.sling</groupId>
+		<artifactId>org.apache.sling.testing.caconfig-mock-plugin</artifactId>
+		<scope>test</scope>
+	</dependency>
+
 Full example: [Apache Sling Context-Aware Configuration Mock Plugin Test](https://github.com/apache/sling/blob/trunk/contrib/extensions/contextaware-config/testing/mocks/caconfig-mock-plugin/src/test/java/org/apache/sling/testing/mock/caconfig/ContextPluginsTest.java)
 
 



Mime
View raw message