Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TestUtils

This class collects useful methods to interact with test data. During tests, XML and MXL documents are preprocessed by karma, and this is some helper code to retrieve them.

Hierarchy

  • TestUtils

Index

Methods

Static getMXL

  • getMXL(scoreName: string): string

Static getPartWiseElement

  • getPartWiseElement(doc: Document): Element
  • Retrieve from a XML document the first element with name "score-partwise"

    Parameters

    • doc: Document

      is the XML Document

    Returns Element

Static getScore

  • getScore(name: string): Document

Generated using TypeDoc