Ignore:
Timestamp:
04/14/14 17:42:13 (5 years ago)
Author:
jls17
Message:
  • replaced the CWebUtil::Link call in LetterFilterControl?.cpp with a call to the DirectURLLink class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_311/output/URLLinkTest.cpp

    r536 r537  
    175175        ASSERT_STREQ("<img src=\"../img/up.gif\" width=\"14\" height=\"10\" alt=\"up.gif\" /><a href=\"#top\">Top</a>", result.c_str()); 
    176176} 
     177 
     178TEST_F(URLLinkTests, LinkToJavascriptVoid) 
     179{ 
     180        stringstream strm; 
     181        strm << DirectURLLink(DirectURLLink::JavascriptVoid, "JSLink", rootLevel); 
     182        string result = strm.str(); 
     183 
     184        ASSERT_STREQ("<a href=\"javascript:void(0)\">JSLink</a>", result.c_str()); 
     185} 
Note: See TracChangeset for help on using the changeset viewer.