@@ -107,10 +107,9 @@ public void testParentIdInheritsPatterns() throws SAXException, IOException
107107 assertEquals (1 , config .getMappingById ("grandchild" ).getPathValidators ().get (1 ).getIndex ());
108108
109109 // actions
110- assertEquals (3 , config .getMappingById ("grandchild" ).getActions ().size ());
110+ assertEquals (2 , config .getMappingById ("grandchild" ).getActions ().size ());
111111 assertEquals ("#{myBean.parentAction}" , config .getMappingById ("grandchild" ).getActions ().get (0 ).getAction ().getELExpression ());
112- assertEquals ("#{myBean.childAction}" , config .getMappingById ("grandchild" ).getActions ().get (1 ).getAction ().getELExpression ());
113- assertEquals ("#{myBean.grandchildAction}" , config .getMappingById ("grandchild" ).getActions ().get (2 ).getAction ().getELExpression ());
112+ assertEquals ("#{myBean.grandchildAction}" , config .getMappingById ("grandchild" ).getActions ().get (1 ).getAction ().getELExpression ());
114113 assertEquals (2 , config .getMappingById ("child" ).getActions ().size ());
115114 assertEquals ("#{myBean.parentAction}" , config .getMappingById ("child" ).getActions ().get (0 ).getAction ().getELExpression ());
116115 assertEquals ("#{myBean.childAction}" , config .getMappingById ("child" ).getActions ().get (1 ).getAction ().getELExpression ());
@@ -121,17 +120,17 @@ public void testParentIdInheritsPatterns() throws SAXException, IOException
121120 assertEquals ("#{myBean.parentAction}" , config .getMappingById ("parent" ).getActions ().get (0 ).getAction ().getELExpression ());
122121
123122 // query parameters
124- assertEquals (3 , config .getMappingById ("grandchild" ).getActions ().size ());
123+ assertEquals (3 , config .getMappingById ("grandchild" ).getQueryParams ().size ());
125124 assertEquals ("parent" , config .getMappingById ("grandchild" ).getQueryParams ().get (0 ).getName ());
126125 assertEquals ("child" , config .getMappingById ("grandchild" ).getQueryParams ().get (1 ).getName ());
127126 assertEquals ("grandchild" , config .getMappingById ("grandchild" ).getQueryParams ().get (2 ).getName ());
128- assertEquals (2 , config .getMappingById ("child" ).getActions ().size ());
127+ assertEquals (2 , config .getMappingById ("child" ).getQueryParams ().size ());
129128 assertEquals ("parent" , config .getMappingById ("child" ).getQueryParams ().get (0 ).getName ());
130129 assertEquals ("child" , config .getMappingById ("child" ).getQueryParams ().get (1 ).getName ());
131- assertEquals (2 , config .getMappingById ("child2" ).getActions ().size ());
130+ assertEquals (2 , config .getMappingById ("child2" ).getQueryParams ().size ());
132131 assertEquals ("parent" , config .getMappingById ("child2" ).getQueryParams ().get (0 ).getName ());
133132 assertEquals ("child2" , config .getMappingById ("child2" ).getQueryParams ().get (1 ).getName ());
134- assertEquals (1 , config .getMappingById ("parent" ).getActions ().size ());
133+ assertEquals (1 , config .getMappingById ("parent" ).getQueryParams ().size ());
135134 assertEquals ("parent" , config .getMappingById ("parent" ).getQueryParams ().get (0 ).getName ());
136135
137136 }
0 commit comments