Commits

shuerhaaken committed 88f3e69

remove test output

Comments (0)

Files changed (2)

+commit bc3acbd28fbb029d8b97c28cb83360f25fd008cf
+Author: Jörn Magens <shuerhaaken@googlemail.com>
+Date:   Mon Oct 21 20:45:55 2013 +0200
+
+    track count for mp4
+
 commit 8e125b863ed074e7769f2c68ba35c29cc968f5a4
 Author: Jörn Magens <shuerhaaken@googlemail.com>
 Date:   Mon Oct 21 19:36:04 2013 +0200

tests/write_m4a/main.cc

     info = Info::create_tag_info(target);
     if( info ) {
         if( info->load() ) {
-            std::cout << "info->get_track_number() : " << info->get_track_number() << std::endl;
-            std::cout << "info->get_track_count() : " << info->get_track_count() << std::endl;
+            //std::cout << "info->get_track_number() : " << info->get_track_number() << std::endl;
+            //std::cout << "info->get_track_count() : " << info->get_track_count() << std::endl;
             //std::cout << "info->get_homepage() : " << info->get_homepage() << std::endl;
             if(info->get_title() == TESTNAME &&
                info->get_copyright() == "Cöpppyright" &&
                info->get_comments() == "Cömmmééèntß" &&
                info->get_is_compilation()) {
                 delete info;
-//                if(remove(target.c_str()) != 0 )
-//                    return EXIT_FAILURE;
+                if(remove(target.c_str()) != 0 )
+                    return EXIT_FAILURE;
                 return EXIT_SUCCESS;
             }
         }
         delete info;
-//        if(remove(target.c_str()) != 0 )
-//            return EXIT_FAILURE;
+        if(remove(target.c_str()) != 0 )
+            return EXIT_FAILURE;
         return EXIT_FAILURE;
     }
     else {
         delete info;
-//        if(remove(target.c_str()) != 0 )
-//            return EXIT_FAILURE;
+        if(remove(target.c_str()) != 0 )
+            return EXIT_FAILURE;
         return EXIT_FAILURE;
     }
 }