testString property

String get testString

The node test as JavaRosa prints it.

Implementation

String get testString => switch (test) {
  StepTest.name => name.toString(),
  StepTest.nameWildcard => '*',
  StepTest.namespaceWildcard => '$namespace:*',
  StepTest.node => 'node()',
  StepTest.text => 'text()',
  StepTest.comment => 'comment()',
  StepTest.processingInstruction =>
    "proc-instr(${literal == null ? '' : "'$literal'"})",
};