summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-04-29 00:28:51 +0100
committerCarl Hetherington <cth@carlh.net>2014-04-29 00:28:51 +0100
commitb1ad58ce47cecdec6ad4bf8233bc073991cc3cbb (patch)
tree23dbecb5fe9b8c27af7b816842e212a09c4521c8 /test
parent7f2e74604a51b984e4c8cbb5d5f4bb642677ec00 (diff)
Some doc fixes.
Diffstat (limited to 'test')
-rw-r--r--test/4k_test.cc6
-rw-r--r--test/audio_analysis_test.cc7
-rw-r--r--test/audio_delay_test.cc7
-rw-r--r--test/audio_mapping_test.cc7
-rw-r--r--test/black_fill_test.cc2
-rw-r--r--test/client_server_test.cc10
6 files changed, 31 insertions, 8 deletions
diff --git a/test/4k_test.cc b/test/4k_test.cc
index f2892c5a3..1e0b42697 100644
--- a/test/4k_test.cc
+++ b/test/4k_test.cc
@@ -17,6 +17,12 @@
*/
+/** @file test/4k_test.cc
+ * @brief Run a 4K encode from a simple input.
+ *
+ * The output is checked against test/data/4k_test.
+ */
+
#include <boost/test/unit_test.hpp>
#include "lib/film.h"
#include "lib/ffmpeg_content.h"
diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc
index b94b12056..13a8dac84 100644
--- a/test/audio_analysis_test.cc
+++ b/test/audio_analysis_test.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -17,6 +17,10 @@
*/
+/** @file test/audio_analysis_test.cc
+ * @brief Check serialisation of audio analyses.
+ */
+
#include <boost/test/unit_test.hpp>
#include "lib/audio_analysis.h"
@@ -26,7 +30,6 @@ random_float ()
return (float (rand ()) / RAND_MAX) * 2 - 1;
}
-/* Check serialisation of audio analyses */
BOOST_AUTO_TEST_CASE (audio_analysis_test)
{
int const channels = 3;
diff --git a/test/audio_delay_test.cc b/test/audio_delay_test.cc
index 2e02fa999..8f4ca836a 100644
--- a/test/audio_delay_test.cc
+++ b/test/audio_delay_test.cc
@@ -17,6 +17,12 @@
*/
+/** @file test/audio_delay_test.cc
+ * @brief Test encode using some SndfileContents which have audio delays.
+ *
+ * The output is checked algorithmically using knowledge of the input.
+ */
+
#include <boost/test/unit_test.hpp>
#include <dcp/sound_frame.h>
#include <dcp/cpl.h>
@@ -87,7 +93,6 @@ void test_audio_delay (int delay_in_ms)
}
}
-
/* Test audio delay when specified in a piece of audio content */
BOOST_AUTO_TEST_CASE (audio_delay_test)
{
diff --git a/test/audio_mapping_test.cc b/test/audio_mapping_test.cc
index 1fc20dcaf..f8467f3de 100644
--- a/test/audio_mapping_test.cc
+++ b/test/audio_mapping_test.cc
@@ -17,13 +17,14 @@
*/
+/** @file test/audio_mapping_test.cc
+ * @brief Basic tests of the AudioMapping class, which itself doesn't really do much.
+ */
+
#include <boost/test/unit_test.hpp>
#include "lib/audio_mapping.h"
#include "lib/util.h"
-/* Basic tests of the AudioMapping class, which itself
- doesn't really do much.
-*/
BOOST_AUTO_TEST_CASE (audio_mapping_test)
{
AudioMapping none;
diff --git a/test/black_fill_test.cc b/test/black_fill_test.cc
index a7e44bdfb..ef768b9a4 100644
--- a/test/black_fill_test.cc
+++ b/test/black_fill_test.cc
@@ -25,7 +25,7 @@
#include "test.h"
/** @file test/black_fill_test.cc
- * @brief Test insertion of black frames between video content.
+ * @brief Test insertion of black frames between separate bits of video content.
*/
using boost::shared_ptr;
diff --git a/test/client_server_test.cc b/test/client_server_test.cc
index 54bbd520f..3faf3e74c 100644
--- a/test/client_server_test.cc
+++ b/test/client_server_test.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -17,6 +17,14 @@
*/
+/** @file test/client_server_test.cc
+ * @brief Test the server class.
+ *
+ * Create a test image and then encode it using the standard mechanism
+ * and also using a Server object running on localhost. Compare the resulting
+ * encoded data to check that they are the same.
+ */
+
#include <boost/test/unit_test.hpp>
#include <boost/thread.hpp>
#include "lib/server.h"