Author: matthieu
Date: Mon Nov  2 13:50:21 2015
New Revision: 1712001

URL: http://svn.apache.org/viewvc?rev=1712001&view=rev
Log:
JAMES-1595 add mixed mappings test

Modified:
    
james/project/trunk/server/data/data-library/src/test/resources/cucumber/rewrite_tables.feature

Modified: 
james/project/trunk/server/data/data-library/src/test/resources/cucumber/rewrite_tables.feature
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/data/data-library/src/test/resources/cucumber/rewrite_tables.feature?rev=1712001&r1=1712000&r2=1712001&view=diff
==============================================================================
--- 
james/project/trunk/server/data/data-library/src/test/resources/cucumber/rewrite_tables.feature
 (original)
+++ 
james/project/trunk/server/data/data-library/src/test/resources/cucumber/rewrite_tables.feature
 Mon Nov  2 13:50:21 2015
@@ -170,6 +170,14 @@ Feature: Rewrite Tables tests
     When alias domain mapping "aliasdomain" for "localhost" domain is removed
     Then mappings for user "test" at domain "aliasdomain" should be empty
 
+# Mixed mapping
+
+  Scenario: mixed mapping should work
+    Given store "test2@localhost" address mapping for user "test" at domain 
"localhost"
+    And store "(.*)@localhost" regexp mapping for user "test" at domain 
"localhost"
+    And store "aliasdomain" alias domain mapping for domain "localhost"
+    Then mappings for user "test" at domain "localhost" should contains only 
"test2@localhost, regex:(.*)@localhost"
+
 # Recursive mapping
 
   Scenario: direct mapping should be returned when recursive mapping is disable



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to