[ http://jira.codehaus.org/browse/JBEHAVE-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mauro Talevi updated JBEHAVE-432: --------------------------------- Description: Currently, only the resolved regex pattern is reported to the StepMonitor, e.g. stepMatchesPattern(String step, boolean matches, String pattern, Method method, Object stepsInstance) where is step is: matching steps were coded in English to make it easier for people to understand the resolved regex pattern is: matching\s+steps\s+were\s+coded\s+in\s+(.*)\s+to\s+make\s+it\s+easier\s+for\s+people\s+to\s+understand It's also useful to report the annotated pattern: matching steps were coded in $language to make it easier for people to understand A new StepPattern model class should encapsultate both annotated and resolved patterns, and the method should thus read: stepMatchesPattern(String step, boolean matches, StepPattern pattern, Method method, Object stepsInstance) was: stepMatchesPattern(String step, boolean matches, String pattern, Method method, Object stepsInstance) Of the two strings passed in, one is: matching steps were coded in English to make it easier for people to understand the other is: matching\s+steps\s+were\s+coded\s+in\s+(.*)\s+to\s+make\s+it\s+easier\s+for\s+people\s+to\s+understand I need this one too: matching steps were coded in $language to make it easier for people to understand - Paul Fix Version/s: 3.2 Assignee: Mauro Talevi Summary: StepPattern to encapsulate both annotated and resolved patterns and report to the StepMonitor (was: StepMonitor.stepMatchesPattern signature change) > StepPattern to encapsulate both annotated and resolved patterns and report to > the StepMonitor > --------------------------------------------------------------------------------------------- > > Key: JBEHAVE-432 > URL: http://jira.codehaus.org/browse/JBEHAVE-432 > Project: JBehave > Issue Type: Improvement > Components: Core > Reporter: Paul Hammant > Assignee: Mauro Talevi > Priority: Minor > Fix For: 3.2 > > > Currently, only the resolved regex pattern is reported to the StepMonitor, > e.g. > stepMatchesPattern(String step, boolean matches, String pattern, Method > method, Object stepsInstance) > where is step is: > matching steps were coded in English to make it easier for people to > understand > the resolved regex pattern is: > > matching\s+steps\s+were\s+coded\s+in\s+(.*)\s+to\s+make\s+it\s+easier\s+for\s+people\s+to\s+understand > It's also useful to report the annotated pattern: > matching steps were coded in $language to make it easier for people to > understand > A new StepPattern model class should encapsultate both annotated and resolved > patterns, and the method should thus read: > stepMatchesPattern(String step, boolean matches, StepPattern pattern, Method > method, Object stepsInstance) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email