mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
Fix libpbd tests and add test for url_decode().
git-svn-id: svn://localhost/ardour2/branches/3.0@11770 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c886f761eb
commit
3240a93aad
4 changed files with 17 additions and 2 deletions
14
libs/pbd/test/convert_test.cc
Normal file
14
libs/pbd/test/convert_test.cc
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "convert_test.h"
|
||||
#include "pbd/convert.h"
|
||||
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION (ConvertTest);
|
||||
|
||||
using namespace std;
|
||||
|
||||
void
|
||||
ConvertTest::testUrlDecode ()
|
||||
{
|
||||
string url = "http://foo.bar.baz/A%20B%20C%20.html";
|
||||
PBD::url_decode (url);
|
||||
CPPUNIT_ASSERT_EQUAL (url, string ("http://foo.bar.baz/A B C .html"));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue