Ejemplo n.º 1
0
void Fixture::getArgsForTable(Parse *table)
{
    QStringList argumentList;
    Parse *parameters = table->parts->parts->more;
    for (; parameters ; parameters = parameters->more)
        argumentList.append(parameters->text());
    args = argumentList;
}
Ejemplo n.º 2
0
Fixture* Fixture::getLinkedFixtureWithArgs(Parse *tables)
{
    Parse *header = tables->at(0, 0, 0);
    Fixture *fixture = loadFixture(header->text());
    fixture->counts = counts;
    fixture->summary = summary;
    fixture->getArgsForTable(tables);
    return fixture;
}