diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
| commit | e60bb3e51bd1508b149e6b8f6608f09b5196ae26 (patch) | |
| tree | a7a5b937c9ae138d4eebca8d5130d308bf9ae420 /test/client_server_test.cc | |
| parent | f07d5125a7b609320682689abe40781f096ca25e (diff) | |
No-op: remove all trailing whitespace.
Diffstat (limited to 'test/client_server_test.cc')
| -rw-r--r-- | test/client_server_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/client_server_test.cc b/test/client_server_test.cc index 511e913d9..e97abcec5 100644 --- a/test/client_server_test.cc +++ b/test/client_server_test.cc @@ -45,7 +45,7 @@ do_remote_encode (shared_ptr<DCPVideo> frame, ServerDescription description, Dat { Data remotely_encoded; BOOST_CHECK_NO_THROW (remotely_encoded = frame->encode_remotely (description)); - + BOOST_CHECK_EQUAL (locally_encoded.size(), remotely_encoded.size()); BOOST_CHECK_EQUAL (memcmp (locally_encoded.data().get(), remotely_encoded.data().get(), locally_encoded.size()), 0); } @@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_rgb) { shared_ptr<Image> image (new Image (PIX_FMT_RGB24, dcp::Size (1998, 1080), true)); uint8_t* p = image->data()[0]; - + for (int y = 0; y < 1080; ++y) { uint8_t* q = p; for (int x = 0; x < 1998; ++x) { @@ -109,7 +109,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_rgb) ); Data locally_encoded = frame->encode_locally (boost::bind (&Log::dcp_log, log.get(), _1, _2)); - + Server* server = new Server (log, true); new thread (boost::bind (&Server::run, server, 2)); @@ -191,7 +191,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_yuv) ); Data locally_encoded = frame->encode_locally (boost::bind (&Log::dcp_log, log.get(), _1, _2)); - + Server* server = new Server (log, true); new thread (boost::bind (&Server::run, server, 2)); |
