mardi 6 septembre 2016

R# Plugin test: How to specify context action with bracket in name

I created a composite context action that returns a couple of intentions with the following texts:

  • [Tag] Action
  • Second Action

Now I'm trying to cover this action by tests. I did everything by guidelines, but I'm not able to identify the first action using the caret notation.

I've tried the following options:

  • {caret:[Tag]:Action}
  • {caret:Tag:Action}

Note of them worked :(

If I do the same for the Second Action, everything is fine. Likely, issue is related to brackets.

I don't want to change name of the action. Could you advice how to specify the action with brackets?

Thanks!

Aucun commentaire:

Enregistrer un commentaire