Changeset 601


Ignore:
Timestamp:
08/13/14 18:05:25 (4 years ago)
Author:
jls17
Message:
Location:
branches/work_311/doc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/work_311/doc/DocActionOpenWindowHelper.cpp

    r598 r601  
    284284} 
    285285 
     286bool CDocActionOpenWindowHelper::IsValid() 
     287{ 
     288        CheckAlreadyParsed(); 
     289        return isValid; 
     290} 
     291 
    286292string CDocActionOpenWindowHelper::getReportType() 
    287293{ 
  • branches/work_311/doc/DocActionOpenWindowHelper.h

    r598 r601  
    2424        ~CDocActionOpenWindowHelper(void); 
    2525 
    26 public: 
    2726        static bool GetSampleData(CARActiveLink& actLink, IfElseState ifElse, int nAction, string& server, string& schema); 
    2827        static bool GetReportData(char* reportStr, string &reportType, string &reportLocation, string &reportName, string &reportDestination, string &entryIDs, string &queryOverride, string &reportOperation, string &charEncoding, std::string &inlineForm); 
    2928 
     29        bool IsValid(); // returns true if the report string passed to the constructor could be parsed without errors 
    3030        string getReportType(); 
    3131        string getReportLocation(); 
  • branches/work_311/doc/DocActionOpenWindowHelperTest.cpp

    r598 r601  
    1515        CDocActionOpenWindowHelper reportData; 
    1616}; 
     17 
     18// verify the testReportString above is valid for the parser 
     19TEST_F(DocActionOpenWindowHelperTests, ValidInput) 
     20{ 
     21        ASSERT_TRUE(reportData.IsValid()); 
     22} 
    1723 
    1824// now just verify a few values we've in the report string 
Note: See TracChangeset for help on using the changeset viewer.