summaryrefslogtreecommitdiffstats
path: root/juk/tagguessertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juk/tagguessertest.cpp')
-rw-r--r--juk/tagguessertest.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/juk/tagguessertest.cpp b/juk/tagguessertest.cpp
index b94f9639..adba59db 100644
--- a/juk/tagguessertest.cpp
+++ b/juk/tagguessertest.cpp
@@ -35,7 +35,7 @@ using std::endl;
void check( const TQString &filename, const TQString &title,
const TQString &artist, const TQString &track,
- const TQString &comment, const TQString &album = TQString::null )
+ const TQString &comment, const TQString &album = TQString() )
{
cout << "Checking " << filename.latin1() << "...";
TagGuesser guesser( filename );
@@ -72,57 +72,57 @@ int main( int argc, char **argv )
check( "/home/frerich/Chemical Brothers - (01) - Block rockin' beats (Live).mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/Chemical Brothers - (01) - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
check( "/home/frerich/Chemical Brothers - [01] - Block rockin' beats [Live].mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/Chemical Brothers - [01] - Block rockin' beats (Live).mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/Chemical Brothers - [01] - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
check( "/home/frerich/Chemical Brothers - 01 - Block rockin' beats [Live].mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/Chemical Brothers - 01 - Block rockin' beats (Live).mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/Chemical Brothers - 01 - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
check( "/home/frerich/(01) Chemical Brothers - Block rockin' beats [Live].mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/(01) Chemical Brothers - Block rockin' beats (Live).mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/(01) Chemical Brothers - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
check( "/home/frerich/[01] Chemical Brothers - Block rockin' beats [Live].mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/[01] Chemical Brothers - Block rockin' beats (Live).mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/[01] Chemical Brothers - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
check( "/home/frerich/01 Chemical Brothers - Block rockin' beats [Live].mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/01 Chemical Brothers - Block rockin' beats (Live).mp3",
"Block Rockin' Beats", "Chemical Brothers", "01", "Live" );
check( "/home/frerich/01 Chemical Brothers - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
check( "/home/frerich/(Chemical Brothers) Block rockin' beats [Live].mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/(Chemical Brothers) Block rockin' beats (Live).mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/(Chemical Brothers) Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), TQString() );
check( "/home/frerich/Chemical Brothers - Block rockin' beats [Live].mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/Chemical Brothers - Block rockin' beats (Live).mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/Chemical Brothers - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), TQString() );
check( "/home/frerich/mp3/Chemical Brothers/Dig your own hole/[01] Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null, "Dig Your Own Hole");
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString(), "Dig Your Own Hole");
check( TQDir::homeDirPath() + "/[01] Randy - Religion, religion.mp3",
- "Religion, Religion", "Randy", "01", TQString::null, TQString::null );
+ "Religion, Religion", "Randy", "01", TQString(), TQString() );
check( TQDir::homeDirPath() + "/(3) Mr. Doe - Punk.mp3",
- "Punk", "Mr. Doe", "3", TQString::null, TQString::null );
+ "Punk", "Mr. Doe", "3", TQString(), TQString() );
check( "c:\\music\\mp3s\\(3) Mr. Doe - Punk.mp3",
- "Punk", "Mr. Doe", "3", TQString::null, TQString::null );
+ "Punk", "Mr. Doe", "3", TQString(), TQString() );
cout << "All OK" << endl;
return 0;
}