File: testrenameseqscommand.cpp

package info (click to toggle)
mothur 1.48.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,684 kB
  • sloc: cpp: 161,854; makefile: 122; sh: 31
file content (41 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
//  testrenameseqscommand.cpp
//  Mothur
//
//  Created by Sarah Westcott on 9/29/15.
//  Copyright (c) 2015 Schloss Lab. All rights reserved.
//


#include "testrenameseqscommand.h"
/*
TEST_CASE("Testing Rename.seqs Command") {
    TestRenameSeqsCommand tRename;
    MothurOut* m = MothurOut::getInstance();
    
    //setup environment
    tRename.fastaFile = m->testDirectory + "final.fasta";
    tRename.nameFile = m->testDirectory + "final.names";
    tRename.groupfile = m->testDirectory + "final.groups";
    //tRename.countfile = m->testDirectory + "final.count_table";
    //tRename.qualfile = m->testDirectory + "final.qual";
    //tRename.contigsfile = m->testDirectory + "final.contigs";
    //tRename.fileFile = m->testDirectory + "final.file";
    //tRename.mapFile = m->testDirectory + "final.map";
    
    
    SECTION("Test execute") {
        INFO("Using fasta, name and group files") // Only appears on a FAIL
        tRename.fastaFile = m->testDirectory + "final.fasta";
        tRename.nameFile = m->testDirectory + "final.names";
        tRename.groupfile = m->testDirectory + "final.groups";
        CAPTURE(tRename.execute()); // Displays this variable on a FAIL
        
        CHECK(m->getNumErrors() == 0);
    }
    
    //add more tests...
    
}
*/