~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to libs/pbd/test/convert_test.cc

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-8gsftrku6jnzhd7v
Tags: upstream-3.4~dfsg
ImportĀ upstreamĀ versionĀ 3.4~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "convert_test.h"
 
2
#include "pbd/convert.h"
 
3
 
 
4
CPPUNIT_TEST_SUITE_REGISTRATION (ConvertTest);
 
5
 
 
6
using namespace std;
 
7
 
 
8
void
 
9
ConvertTest::testUrlDecode ()
 
10
{
 
11
        string const url = "http://foo.bar.baz/A%20B%20C%20+42.html";
 
12
        CPPUNIT_ASSERT_EQUAL (PBD::url_decode (url), string ("http://foo.bar.baz/A B C  42.html"));
 
13
}