summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2020-10-20 18:14:58 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-20 13:15:43 +0300
commite0fd0169adf928d288f2805754c088874daa1b50 (patch)
treea9943e3b121bdf21f527758e87682377c320d67e /test
parent696aefe0c9ac0e07541a7dbd9334cb282743d29a (diff)
test: Omit extra semicolons
TEST_REGISTER macro is main function. The end semicolon with the macro is unnecessary. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r--test/camera/buffer_import.cpp2
-rw-r--r--test/camera/capture.cpp2
-rw-r--r--test/camera/configuration_default.cpp2
-rw-r--r--test/camera/configuration_set.cpp2
-rw-r--r--test/camera/statemachine.cpp2
-rw-r--r--test/mapped-buffer.cpp2
-rw-r--r--test/media_device/media_device_acquire.cpp2
-rw-r--r--test/media_device/media_device_link_test.cpp2
-rw-r--r--test/media_device/media_device_print_test.cpp2
-rw-r--r--test/v4l2_subdevice/list_formats.cpp2
-rw-r--r--test/v4l2_subdevice/test_formats.cpp2
-rw-r--r--test/v4l2_videodevice/buffer_cache.cpp2
-rw-r--r--test/v4l2_videodevice/buffer_sharing.cpp2
-rw-r--r--test/v4l2_videodevice/capture_async.cpp2
-rw-r--r--test/v4l2_videodevice/controls.cpp2
-rw-r--r--test/v4l2_videodevice/double_open.cpp2
-rw-r--r--test/v4l2_videodevice/formats.cpp2
-rw-r--r--test/v4l2_videodevice/request_buffers.cpp2
-rw-r--r--test/v4l2_videodevice/stream_on_off.cpp2
-rw-r--r--test/v4l2_videodevice/v4l2_m2mdevice.cpp4
20 files changed, 21 insertions, 21 deletions
diff --git a/test/camera/buffer_import.cpp b/test/camera/buffer_import.cpp
index 72ce7b79..4b626dff 100644
--- a/test/camera/buffer_import.cpp
+++ b/test/camera/buffer_import.cpp
@@ -168,4 +168,4 @@ private:
} /* namespace */
-TEST_REGISTER(BufferImportTest);
+TEST_REGISTER(BufferImportTest)
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index c0770801..f13ca53b 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -168,4 +168,4 @@ protected:
} /* namespace */
-TEST_REGISTER(Capture);
+TEST_REGISTER(Capture)
diff --git a/test/camera/configuration_default.cpp b/test/camera/configuration_default.cpp
index cdd6cb97..c2b20194 100644
--- a/test/camera/configuration_default.cpp
+++ b/test/camera/configuration_default.cpp
@@ -56,4 +56,4 @@ protected:
} /* namespace */
-TEST_REGISTER(ConfigurationDefault);
+TEST_REGISTER(ConfigurationDefault)
diff --git a/test/camera/configuration_set.cpp b/test/camera/configuration_set.cpp
index 30f19ba9..a1dc446a 100644
--- a/test/camera/configuration_set.cpp
+++ b/test/camera/configuration_set.cpp
@@ -102,4 +102,4 @@ protected:
} /* namespace */
-TEST_REGISTER(ConfigurationSet);
+TEST_REGISTER(ConfigurationSet)
diff --git a/test/camera/statemachine.cpp b/test/camera/statemachine.cpp
index e63ab298..f0c3d776 100644
--- a/test/camera/statemachine.cpp
+++ b/test/camera/statemachine.cpp
@@ -211,4 +211,4 @@ protected:
} /* namespace */
-TEST_REGISTER(Statemachine);
+TEST_REGISTER(Statemachine)
diff --git a/test/mapped-buffer.cpp b/test/mapped-buffer.cpp
index 02792337..5de8201e 100644
--- a/test/mapped-buffer.cpp
+++ b/test/mapped-buffer.cpp
@@ -113,4 +113,4 @@ private:
} /* namespace */
-TEST_REGISTER(MappedBufferTest);
+TEST_REGISTER(MappedBufferTest)
diff --git a/test/media_device/media_device_acquire.cpp b/test/media_device/media_device_acquire.cpp
index d1e3d744..371e30e9 100644
--- a/test/media_device/media_device_acquire.cpp
+++ b/test/media_device/media_device_acquire.cpp
@@ -30,4 +30,4 @@ class MediaDeviceAcquire : public MediaDeviceTest
}
};
-TEST_REGISTER(MediaDeviceAcquire);
+TEST_REGISTER(MediaDeviceAcquire)
diff --git a/test/media_device/media_device_link_test.cpp b/test/media_device/media_device_link_test.cpp
index fe7542bb..5c74905d 100644
--- a/test/media_device/media_device_link_test.cpp
+++ b/test/media_device/media_device_link_test.cpp
@@ -219,4 +219,4 @@ class MediaDeviceLinkTest : public MediaDeviceTest
}
};
-TEST_REGISTER(MediaDeviceLinkTest);
+TEST_REGISTER(MediaDeviceLinkTest)
diff --git a/test/media_device/media_device_print_test.cpp b/test/media_device/media_device_print_test.cpp
index 1f5e3f3e..436d4e8a 100644
--- a/test/media_device/media_device_print_test.cpp
+++ b/test/media_device/media_device_print_test.cpp
@@ -151,4 +151,4 @@ int MediaDevicePrintTest::run()
return ret;
}
-TEST_REGISTER(MediaDevicePrintTest);
+TEST_REGISTER(MediaDevicePrintTest)
diff --git a/test/v4l2_subdevice/list_formats.cpp b/test/v4l2_subdevice/list_formats.cpp
index a6044c04..74ec81a8 100644
--- a/test/v4l2_subdevice/list_formats.cpp
+++ b/test/v4l2_subdevice/list_formats.cpp
@@ -79,4 +79,4 @@ int ListFormatsTest::run()
return TestPass;
}
-TEST_REGISTER(ListFormatsTest);
+TEST_REGISTER(ListFormatsTest)
diff --git a/test/v4l2_subdevice/test_formats.cpp b/test/v4l2_subdevice/test_formats.cpp
index 679f50b6..47f979e2 100644
--- a/test/v4l2_subdevice/test_formats.cpp
+++ b/test/v4l2_subdevice/test_formats.cpp
@@ -75,4 +75,4 @@ int FormatHandlingTest::run()
return TestPass;
}
-TEST_REGISTER(FormatHandlingTest);
+TEST_REGISTER(FormatHandlingTest)
diff --git a/test/v4l2_videodevice/buffer_cache.cpp b/test/v4l2_videodevice/buffer_cache.cpp
index b22de88e..b3f2bec1 100644
--- a/test/v4l2_videodevice/buffer_cache.cpp
+++ b/test/v4l2_videodevice/buffer_cache.cpp
@@ -213,4 +213,4 @@ private:
} /* namespace */
-TEST_REGISTER(BufferCacheTest);
+TEST_REGISTER(BufferCacheTest)
diff --git a/test/v4l2_videodevice/buffer_sharing.cpp b/test/v4l2_videodevice/buffer_sharing.cpp
index ba2cc40d..5e7e2d97 100644
--- a/test/v4l2_videodevice/buffer_sharing.cpp
+++ b/test/v4l2_videodevice/buffer_sharing.cpp
@@ -200,4 +200,4 @@ private:
unsigned int framesOutput_;
};
-TEST_REGISTER(BufferSharingTest);
+TEST_REGISTER(BufferSharingTest)
diff --git a/test/v4l2_videodevice/capture_async.cpp b/test/v4l2_videodevice/capture_async.cpp
index 13cbcc80..2b38102e 100644
--- a/test/v4l2_videodevice/capture_async.cpp
+++ b/test/v4l2_videodevice/capture_async.cpp
@@ -88,4 +88,4 @@ private:
unsigned int frames;
};
-TEST_REGISTER(CaptureAsyncTest);
+TEST_REGISTER(CaptureAsyncTest)
diff --git a/test/v4l2_videodevice/controls.cpp b/test/v4l2_videodevice/controls.cpp
index 9f09d036..8d425081 100644
--- a/test/v4l2_videodevice/controls.cpp
+++ b/test/v4l2_videodevice/controls.cpp
@@ -127,4 +127,4 @@ protected:
}
};
-TEST_REGISTER(V4L2ControlTest);
+TEST_REGISTER(V4L2ControlTest)
diff --git a/test/v4l2_videodevice/double_open.cpp b/test/v4l2_videodevice/double_open.cpp
index 5768d404..7d11f6fe 100644
--- a/test/v4l2_videodevice/double_open.cpp
+++ b/test/v4l2_videodevice/double_open.cpp
@@ -38,4 +38,4 @@ protected:
} /* namespace */
-TEST_REGISTER(DoubleOpen);
+TEST_REGISTER(DoubleOpen)
diff --git a/test/v4l2_videodevice/formats.cpp b/test/v4l2_videodevice/formats.cpp
index 043732dc..b5020d2b 100644
--- a/test/v4l2_videodevice/formats.cpp
+++ b/test/v4l2_videodevice/formats.cpp
@@ -74,4 +74,4 @@ protected:
}
};
-TEST_REGISTER(Format);
+TEST_REGISTER(Format)
diff --git a/test/v4l2_videodevice/request_buffers.cpp b/test/v4l2_videodevice/request_buffers.cpp
index 2f8dfe1c..fb577147 100644
--- a/test/v4l2_videodevice/request_buffers.cpp
+++ b/test/v4l2_videodevice/request_buffers.cpp
@@ -26,4 +26,4 @@ protected:
}
};
-TEST_REGISTER(RequestBuffersTest);
+TEST_REGISTER(RequestBuffersTest)
diff --git a/test/v4l2_videodevice/stream_on_off.cpp b/test/v4l2_videodevice/stream_on_off.cpp
index ce48310a..4ed99e93 100644
--- a/test/v4l2_videodevice/stream_on_off.cpp
+++ b/test/v4l2_videodevice/stream_on_off.cpp
@@ -33,4 +33,4 @@ protected:
}
};
-TEST_REGISTER(StreamOnStreamOffTest);
+TEST_REGISTER(StreamOnStreamOffTest)
diff --git a/test/v4l2_videodevice/v4l2_m2mdevice.cpp b/test/v4l2_videodevice/v4l2_m2mdevice.cpp
index 44a39d4d..616261e1 100644
--- a/test/v4l2_videodevice/v4l2_m2mdevice.cpp
+++ b/test/v4l2_videodevice/v4l2_m2mdevice.cpp
@@ -187,7 +187,7 @@ protected:
void cleanup()
{
delete vim2m_;
- };
+ }
private:
std::unique_ptr<DeviceEnumerator> enumerator_;
@@ -201,4 +201,4 @@ private:
unsigned int captureFrames_;
};
-TEST_REGISTER(V4L2M2MDeviceTest);
+TEST_REGISTER(V4L2M2MDeviceTest)