[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/libemailfunctions/tests
From:       Matt Douhan <matt () fruitsalad ! org>
Date:       2004-12-31 23:07:23
Message-ID: 20041231230723.91E171807B () office ! kde ! org
[Download RAW message or body]

CVS commit by mdouhan: 

note to self, enums start with a capital letter


  M +2 -2      testemail.cpp   1.6


--- kdepim/libemailfunctions/tests/testemail.cpp  #1.5:1.6
@@ -53,5 +53,5 @@ static bool checkGetNameAndEmail(const Q
 
 // convert this to a switch instead but hey, nothing speedy in here is needed but \
                still.. it would be nice
-static QString emailTestParseResultToString( emailParseResult errorCode )
+static QString emailTestParseResultToString( EmailParseResult errorCode )
 {
   if( errorCode == TooManyAts ) { 
@@ -81,5 +81,5 @@ static QString emailTestParseResultToStr
 static bool checkIsValidEmailAddress( const QString& input, const QString&  \
expErrorCode )  {
-  emailParseResult errorCode = KPIM::isValidEmailAddress( input );
+  EmailParseResult errorCode = KPIM::isValidEmailAddress( input );
   QString errorC = emailTestParseResultToString( errorCode );
   check( "isValidEmailAddress " + input + " errorCode ", errorC , expErrorCode );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic