clang-format

This commit is contained in:
Erik Frojdh
2020-11-18 18:01:39 +01:00
parent 8565ac6cf2
commit 06dbf82e93
39 changed files with 57 additions and 59 deletions

View File

@ -1,6 +1,6 @@
#include "catch.hpp"
#include "sls/ClientSocket.h"
#include "sls/ServerSocket.h"
#include "catch.hpp"
#include <chrono>
#include <future>
#include <iostream>

View File

@ -1,6 +1,6 @@
#include "catch.hpp"
#include "sls/StaticVector.h"
#include "sls/TypeTraits.h"
#include "catch.hpp"
#include <array>
#include <sstream>

2
slsSupportLib/tests/test-Timer.cpp Executable file → Normal file
View File

@ -1,5 +1,5 @@
#include "sls/Timer.h"
#include "catch.hpp"
#include "sls/Timer.h"
#include <chrono>
#include <thread>

View File

@ -1,6 +1,6 @@
#include "catch.hpp"
#include "sls/TimeHelper.h"
#include "sls/ToString.h"
#include "catch.hpp"
#include "sls/network_utils.h"
#include "sls/sls_detector_defs.h"
#include <array>

View File

@ -1,5 +1,5 @@
#include "sls/TypeTraits.h"
#include "catch.hpp"
#include "sls/TypeTraits.h"
#include <array>
#include <chrono>
#include <initializer_list>

View File

@ -1,5 +1,5 @@
#include "sls/UdpRxSocket.h"
#include "catch.hpp"
#include "sls/UdpRxSocket.h"
#include "sls/sls_detector_exceptions.h"
#include <cstdint>
#include <errno.h>

View File

@ -1,5 +1,5 @@
#include "sls/ZmqSocket.h"
#include "catch.hpp"
#include "sls/ZmqSocket.h"
TEST_CASE("Throws when cannot create socket") {
REQUIRE_THROWS(ZmqSocket("sdiasodjajpvv", 5076001));

View File

@ -1,5 +1,5 @@
#include "sls/bit_utils.h"
#include "catch.hpp"
#include "sls/bit_utils.h"
#include <vector>
TEST_CASE("Get set bits from 0") {

View File

@ -66,7 +66,7 @@ TEST_CASE("Many characters in a row") {
REQUIRE(std::string(str) == "someeequite::ongstring");
}
TEST_CASE("Check is string is integer"){
TEST_CASE("Check is string is integer") {
REQUIRE(sls::is_int("75"));
REQUIRE(sls::is_int("11675"));