ardour/libs/pbd/test/convert_test.cc
Carl Hetherington 7f417fb44f Remove unused ustring version of url_decode(). Rework
the other version to be a bit simpler, avoiding #4800.


git-svn-id: svn://localhost/ardour2/branches/3.0@11771 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-01 14:30:06 +00:00

14 lines
317 B
C++

#include "convert_test.h"
#include "pbd/convert.h"
CPPUNIT_TEST_SUITE_REGISTRATION (ConvertTest);
using namespace std;
void
ConvertTest::testUrlDecode ()
{
string const url = "http://foo.bar.baz/A%20B%20C%20+42.html";
CPPUNIT_ASSERT_EQUAL (PBD::url_decode (url), string ("http://foo.bar.baz/A B C 42.html"));
}