2012-04-01 10:29:26 -04:00
|
|
|
#include "convert_test.h"
|
|
|
|
#include "pbd/convert.h"
|
|
|
|
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION (ConvertTest);
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
void
|
|
|
|
ConvertTest::testUrlDecode ()
|
|
|
|
{
|
2012-04-01 10:30:06 -04:00
|
|
|
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"));
|
2012-04-01 10:29:26 -04:00
|
|
|
}
|