@@ -31,7 +31,7 @@ class RaconPolishingTest: public ::testing::Test {
3131 uint32_t window_length, double quality_threshold, double error_threshold,
3232 int8_t match,int8_t mismatch, int8_t gap) {
3333
34- polisher = createPolisher (sequences_path, overlaps_path, target_path,
34+ polisher = racon:: createPolisher (sequences_path, overlaps_path, target_path,
3535 type, window_length, quality_threshold, error_threshold, match,
3636 mismatch, gap, 4 );
3737 }
@@ -51,33 +51,33 @@ class RaconPolishingTest: public ::testing::Test {
5151 std::unique_ptr<racon::Polisher> polisher;
5252};
5353
54- TEST (RaconTest , PolisherTypeError) {
55- EXPECT_DEATH ((createPolisher (" " , " " , " " , static_cast <racon::PolisherType>(3 ),
54+ TEST (RaconInitializeTest , PolisherTypeError) {
55+ EXPECT_DEATH ((racon:: createPolisher (" " , " " , " " , static_cast <racon::PolisherType>(3 ),
5656 0 , 0 , 0 , 0 , 0 , 0 , 0 )), " .racon::createPolisher. error: invalid polisher"
5757 " type!" );
5858}
5959
60- TEST (RaconTest , WindowLengthError) {
61- EXPECT_DEATH ((createPolisher (" " , " " , " " , racon::PolisherType::kC , 0 , 0 , 0 , 0 ,
62- 0 , 0 , 0 )), " .racon::createPolisher. error: invalid window length!" );
60+ TEST (RaconInitializeTest , WindowLengthError) {
61+ EXPECT_DEATH ((racon:: createPolisher (" " , " " , " " , racon::PolisherType::kC , 0 ,
62+ 0 , 0 , 0 , 0 , 0 , 0 )), " .racon::createPolisher. error: invalid window length!" );
6363}
6464
65- TEST (RaconTest , SequencesPathExtensionError) {
66- EXPECT_DEATH ((createPolisher (" " , " " , " " , racon::PolisherType::kC , 500 , 0 ,
67- 0 , 0 , 0 , 0 , 0 )), " .racon::createPolisher. error: file has unsupported "
65+ TEST (RaconInitializeTest , SequencesPathExtensionError) {
66+ EXPECT_DEATH ((racon:: createPolisher (" " , " " , " " , racon::PolisherType::kC , 500 ,
67+ 0 , 0 , 0 , 0 , 0 , 0 )), " .racon::createPolisher. error: file has unsupported "
6868 " format extension .valid extensions: .fasta, .fasta.gz, .fa, .fa.gz, "
6969 " .fastq, .fastq.gz, .fq, .fq.gz.!" );
7070}
7171
72- TEST (RaconTest , OverlapsPathExtensionError) {
73- EXPECT_DEATH ((createPolisher (racon_test_data_path + " sample_reads.fastq.gz" , " " ,
74- " " , racon::PolisherType::kC , 500 , 0 , 0 , 0 , 0 , 0 , 0 )),
72+ TEST (RaconInitializeTest , OverlapsPathExtensionError) {
73+ EXPECT_DEATH ((racon:: createPolisher (racon_test_data_path + " sample_reads.fastq.gz" ,
74+ " " , " " , racon::PolisherType::kC , 500 , 0 , 0 , 0 , 0 , 0 , 0 )),
7575 " .racon::createPolisher. error: file has unsupported format extension "
7676 " .valid extensions: .mhap, .mhap.gz, .paf, .paf.gz, .sam, .sam.gz.!" );
7777}
7878
79- TEST (RaconTest , TargetPathExtensionError) {
80- EXPECT_DEATH ((createPolisher (racon_test_data_path + " sample_reads.fastq.gz" ,
79+ TEST (RaconInitializeTest , TargetPathExtensionError) {
80+ EXPECT_DEATH ((racon:: createPolisher (racon_test_data_path + " sample_reads.fastq.gz" ,
8181 racon_test_data_path + " sample_overlaps.paf.gz" , " " , racon::PolisherType::kC ,
8282 500 , 0 , 0 , 0 , 0 , 0 , 0 )), " .racon::createPolisher. error: file has "
8383 " unsupported format extension .valid extensions: .fasta, .fasta.gz, .fa,"
0 commit comments