[gstreamermm] Tests: rename tests regression to integration



commit 0175fa08f4b2df9e9790e18c90cce486665c5978
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Tue Sep 27 21:48:57 2016 +0200

    Tests: rename tests regression to integration

 .gitignore                                         |   14 ++++++------
 tests/Makefile.am                                  |   22 ++++++++++----------
 tests/{regression => integration}/pluginbin.h      |    6 ++--
 .../test-integration-bininpipeline.cc}             |    6 ++--
 .../test-integration-binplugin.cc}                 |    6 ++--
 .../test-integration-rewritefile.cc}               |    4 +-
 .../test-integration-seekonstartup.cc}             |    4 +-
 .../test-integration-videoduration.cc}             |    4 +-
 tests/{regression => integration}/utils.cc         |    0
 tests/{regression => integration}/utils.h          |    6 ++--
 10 files changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fb2388c..301fe55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -571,18 +571,18 @@ tests/test-plugin-derivedfrombasetransform
 tests/test-plugin-pushsrc
 tests/test-plugin-register
 
-tests/test-regression-bininpipeline
-tests/test-regression-binplugin
-tests/test-regression-rewritefile
-test-regression-seekonstartup
-tests/test-regression-videoduration
+tests/test-integration-bininpipeline
+tests/test-integration-binplugin
+tests/test-integration-rewritefile
+tests/test-integration-seekonstartup
+tests/test-integration-videoduration
 
 tests/*.log
 tests/*.trs
 
 #tests/resources/
-tests/resources/test-regression-bininpipeline-output-image.jpg
-tests/resources/test-regression-binplugin-output-image.jpg
+tests/resources/test-integration-bininpipeline-output-image.jpg
+tests/resources/test-integration-binplugin-output-image.jpg
 
 # tools/
 /tools/extra_defs_gen/generate_defs_gst
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6bcdf05..29addf3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -52,17 +52,17 @@ check_PROGRAMS =                                \
         test-plugin-pushsrc                     \
         test-plugin-register                    \
                                                 \
-        test-regression-bininpipeline           \
-        test-regression-binplugin               \
-        test-regression-rewritefile             \
-        test-regression-seekonstartup           \
-        test-regression-videoduration
+        test-integration-bininpipeline          \
+        test-integration-binplugin              \
+        test-integration-rewritefile            \
+        test-integration-seekonstartup          \
+        test-integration-videoduration
 
 
 # Include run of test programs in check:
 TESTS = $(check_PROGRAMS)
 TEST_GTEST_SOURCES = main.cc
-TEST_REGRESSION_UTILS = regression/utils.cc
+TEST_INTEGRATION_UTILS = integration/utils.cc
 
 test_allocator_SOURCES                          = $(TEST_GTEST_SOURCES) test-allocator.cc
 test_atomicqueue_SOURCES                        = $(TEST_GTEST_SOURCES) test-atomicqueue.cc
@@ -95,8 +95,8 @@ test_plugin_derivedfrombasetransform_SOURCES    = $(TEST_GTEST_SOURCES) plugins/
 test_plugin_pushsrc_SOURCES                     = $(TEST_GTEST_SOURCES) plugins/test-plugin-pushsrc.cc
 test_plugin_register_SOURCES                    = $(TEST_GTEST_SOURCES) plugins/test-plugin-register.cc
 
-test_regression_bininpipeline_SOURCES           = $(TEST_GTEST_SOURCES) $(TEST_REGRESSION_UTILS) 
regression/test-regression-bininpipeline.cc
-test_regression_binplugin_SOURCES               = $(TEST_GTEST_SOURCES) 
regression/test-regression-binplugin.cc
-test_regression_rewritefile_SOURCES             = $(TEST_GTEST_SOURCES) $(TEST_REGRESSION_UTILS) 
regression/test-regression-rewritefile.cc
-test_regression_seekonstartup_SOURCES           = $(TEST_GTEST_SOURCES) $(TEST_REGRESSION_UTILS) 
regression/test-regression-seekonstartup.cc
-test_regression_videoduration_SOURCES           = $(TEST_GTEST_SOURCES) $(TEST_REGRESSION_UTILS) 
regression/test-regression-videoduration.cc 
+test_integration_bininpipeline_SOURCES          = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) 
integration/test-integration-bininpipeline.cc
+test_integration_binplugin_SOURCES              = $(TEST_GTEST_SOURCES) 
integration/test-integration-binplugin.cc
+test_integration_rewritefile_SOURCES            = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) 
integration/test-integration-rewritefile.cc
+test_integration_seekonstartup_SOURCES          = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) 
integration/test-integration-seekonstartup.cc
+test_integration_videoduration_SOURCES          = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) 
integration/test-integration-videoduration.cc 
diff --git a/tests/regression/pluginbin.h b/tests/integration/pluginbin.h
similarity index 93%
rename from tests/regression/pluginbin.h
rename to tests/integration/pluginbin.h
index db3fde9..743f5e1 100644
--- a/tests/regression/pluginbin.h
+++ b/tests/integration/pluginbin.h
@@ -5,8 +5,8 @@
  *      Author: loganek
  */
 
-#ifndef TESTS_REGRESSION_PLUGINBIN_H_
-#define TESTS_REGRESSION_PLUGINBIN_H_
+#ifndef TESTS_INTEGRATION_PLUGINBIN_H_
+#define TESTS_INTEGRATION_PLUGINBIN_H_
 
 #include <gstreamermm.h>
 #include <gstreamermm/private/bin_p.h>
@@ -66,4 +66,4 @@ public:
   }
 };
 
-#endif /* TESTS_REGRESSION_PLUGINBIN_H_ */
+#endif /* TESTS_INTEGRATION_PLUGINBIN_H_ */
diff --git a/tests/regression/test-regression-bininpipeline.cc 
b/tests/integration/test-integration-bininpipeline.cc
similarity index 92%
rename from tests/regression/test-regression-bininpipeline.cc
rename to tests/integration/test-integration-bininpipeline.cc
index fab7827..820d436 100644
--- a/tests/regression/test-regression-bininpipeline.cc
+++ b/tests/integration/test-integration-bininpipeline.cc
@@ -1,5 +1,5 @@
 /*
- * test-regression-bininpipeline.cc
+ * test-integration-bininpipeline.cc
  *
  *  Created on: 5 sie 2013
  *      Author: loganek
@@ -67,10 +67,10 @@ bool on_bus_message(const RefPtr<Bus>&, const Glib::RefPtr<Message>& message)
   return true;
 }
 
-TEST(BinInPipelineRegressionTest, CustomBinShouldCorrectPassThroughImage)
+TEST(IntegrationBinInPipelineTest, CustomBinShouldCorrectPassThroughImage)
 {
   Glib::ustring input_png = "resources/input-image.png",
-      output_jpg = "resources/test-regression-bininpipeline-output-image.jpg";
+      output_jpg = "resources/test-integration-bininpipeline-output-image.jpg";
 
   mainloop = Glib::MainLoop::create();
   MM_ASSERT_TRUE(mainloop);
diff --git a/tests/regression/test-regression-binplugin.cc b/tests/integration/test-integration-binplugin.cc
similarity index 91%
rename from tests/regression/test-regression-binplugin.cc
rename to tests/integration/test-integration-binplugin.cc
index c579c48..0e955b5 100644
--- a/tests/regression/test-regression-binplugin.cc
+++ b/tests/integration/test-integration-binplugin.cc
@@ -1,5 +1,5 @@
 /*
- * test-regression-binplugin.cc
+ * test-integration-binplugin.cc
  *
  *  Created on: 8 sie 2013
  *      Author: loganek
@@ -33,14 +33,14 @@ bool on_bus_message(const RefPtr<Bus>&, const Glib::RefPtr<Message>& message)
   return true;
 }
 
-TEST(BinPluginRegressionTest, DISABLED_ShouldDecodeAndEncodeFile)
+TEST(IntegrationBinPluginTest, DISABLED_ShouldDecodeAndEncodeFile)
 {
   Plugin::register_static(GST_VERSION_MAJOR, GST_VERSION_MINOR, "pluginbin",
               "pluginbin is example of C++ element", sigc::ptr_fun(&PluginBin::register_pluginbin), "0.1",
               "LGPL", "source?", "package?", "http://example.com";);
 
   Glib::ustring input_png = "resources/input-image.png",
-          output_jpg = "resources/test-regression-binplugin-output-image.jpg";
+          output_jpg = "resources/test-integration-binplugin-output-image.jpg";
 
   mainloop = Glib::MainLoop::create();
   MM_ASSERT_TRUE(mainloop);
diff --git a/tests/regression/test-regression-rewritefile.cc 
b/tests/integration/test-integration-rewritefile.cc
similarity index 94%
rename from tests/regression/test-regression-rewritefile.cc
rename to tests/integration/test-integration-rewritefile.cc
index 964fcda..e35106b 100644
--- a/tests/regression/test-regression-rewritefile.cc
+++ b/tests/integration/test-integration-rewritefile.cc
@@ -1,5 +1,5 @@
 /*
- * test-rewritefile.cc
+ * test-integration-rewritefile.cc
  *
  *  Created on: Aug 5, 2013
  *      Author: m.kolny
@@ -33,7 +33,7 @@ bool on_bus_message(const RefPtr<Bus>&, const Glib::RefPtr<Message>& message)
   return true;
 }
 
-TEST(RegressionRewriteFileTest, CreateAndRewriteFile)
+TEST(IntegrationRewriteFileTest, CreateAndRewriteFile)
 {
   Glib::ustring input_filename = "rewrite-file-test.ogg",
           output_filename = "rewrite-file-output.ogg";
diff --git a/tests/regression/test-regression-seekonstartup.cc 
b/tests/integration/test-integration-seekonstartup.cc
similarity index 96%
rename from tests/regression/test-regression-seekonstartup.cc
rename to tests/integration/test-integration-seekonstartup.cc
index f44dae7..247ac49 100644
--- a/tests/regression/test-regression-seekonstartup.cc
+++ b/tests/integration/test-integration-seekonstartup.cc
@@ -1,5 +1,5 @@
 /*
- * test-regression-seekonstartup.cc
+ * test-integration-seekonstartup.cc
  *
  *  Created on: 5 sie 2013
  *      Author: loganek
@@ -106,7 +106,7 @@ void no_more_pads()
   dec_counter();
 }
 
-TEST(RegressionSeekOnStartupTest, SeekToPositionWhenPipelineStarts)
+TEST(IntegrationSeekOnStartupTest, SeekToPositionWhenPipelineStarts)
 {
   Glib::ustring input_filename = "seek-on-startup-test.ogg";
 
diff --git a/tests/regression/test-regression-videoduration.cc 
b/tests/integration/test-integration-videoduration.cc
similarity index 95%
rename from tests/regression/test-regression-videoduration.cc
rename to tests/integration/test-integration-videoduration.cc
index d8621b5..2971be9 100644
--- a/tests/regression/test-regression-videoduration.cc
+++ b/tests/integration/test-integration-videoduration.cc
@@ -1,5 +1,5 @@
 /*
- * test-regression-videoduration.cc
+ * test-integration-videoduration.cc
  *
  *  Created on: Aug 5, 2013
  *      Author: m.kolny
@@ -57,7 +57,7 @@ bool on_timeout()
   return TRUE;
 }
 
-TEST(RegressionVideodurationTest, CreateVideoAndCheckDuration)
+TEST(IntegrationVideodurationTest, CreateVideoAndCheckDuration)
 {
   Glib::ustring input_filename = "videoduration-test.ogg";
 
diff --git a/tests/regression/utils.cc b/tests/integration/utils.cc
similarity index 100%
rename from tests/regression/utils.cc
rename to tests/integration/utils.cc
diff --git a/tests/regression/utils.h b/tests/integration/utils.h
similarity index 71%
rename from tests/regression/utils.h
rename to tests/integration/utils.h
index f3cc0f4..a5ed3fc 100644
--- a/tests/regression/utils.h
+++ b/tests/integration/utils.h
@@ -5,12 +5,12 @@
  *      Author: m.kolny
  */
 
-#ifndef TESTS_REGRESSION_UTILS_H_
-#define TESTS_REGRESSION_UTILS_H_
+#ifndef TESTS_INTEGRATION_UTILS_H_
+#define TESTS_INTEGRATION_UTILS_H_
 
 #include <gstreamermm.h>
 #include <fstream>
 
 void GenerateSampleOggFile(int num_buffers, const Glib::ustring& filename);
 bool FilesEqual(const std::string& filename1, const std::string& filename2);
-#endif /* TESTS_REGRESSION_UTILS_H_ */
+#endif /* TESTS_INTEGRATION_UTILS_H_ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]