specificjson Ubuntu g++

Built on Ubuntu using g++ at 2022-01-13 20:02
a1d504ee8f9640eff8675a174b419a9136c1c437 2022-01-13T21:58:43+02:00 Rubocop task added. Related changes.
gem install edicta
-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/testbuild
[ 20%] Generating specificjson script
/workspace/pieces/Exception.yaml
/workspace/pieces/Exception.hpp
/workspace/pieces/Exception.cpp
/workspace/LICENSE.txt
/workspace/pieces/ParseArrayContainer.yaml
/workspace/pieces/ParseArrayContainer.hpp
/workspace/pieces/ParseArrayContainer.cpp
/workspace/LICENSE.txt
/workspace/pieces/ParseObject.yaml
/workspace/pieces/ParseObject.hpp
/workspace/pieces/ParseObject.cpp
/workspace/LICENSE.txt
/workspace/pieces/ParserPool.yaml
/workspace/pieces/ParserPool.hpp
/workspace/pieces/ParserPool.cpp
/workspace/LICENSE.txt
/workspace/pieces/ValueParser.yaml
/workspace/pieces/ValueParser.hpp
/workspace/pieces/ValueParser.cpp
/workspace/LICENSE.txt
/workspace/pieces/ParseInteger.yaml
/workspace/pieces/ParseInteger.hpp
/workspace/pieces/ParseInteger.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_ContainerStdVector.yaml
/workspace/pieces/read_ContainerStdVector.hpp
/workspace/LICENSE.txt
/workspace/pieces/read_ContainerStdVectorEqSize.yaml
/workspace/pieces/read_ContainerStdVectorEqSize.hpp
/workspace/LICENSE.txt
/workspace/pieces/read_Bool.yaml
/workspace/pieces/read_Bool.hpp
/workspace/pieces/read_Bool.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_Double.yaml
/workspace/pieces/read_Double.hpp
/workspace/pieces/read_Double.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_Float.yaml
/workspace/pieces/read_Float.hpp
/workspace/pieces/read_Float.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_Int8.yaml
/workspace/pieces/read_Int8.hpp
/workspace/pieces/read_Int8.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_Int16.yaml
/workspace/pieces/read_Int16.hpp
/workspace/pieces/read_Int16.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_Int32.yaml
/workspace/pieces/read_Int32.hpp
/workspace/pieces/read_Int32.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_Int64.yaml
/workspace/pieces/read_Int64.hpp
/workspace/pieces/read_Int64.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_UInt8.yaml
/workspace/pieces/read_UInt8.hpp
/workspace/pieces/read_UInt8.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_UInt16.yaml
/workspace/pieces/read_UInt16.hpp
/workspace/pieces/read_UInt16.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_UInt32.yaml
/workspace/pieces/read_UInt32.hpp
/workspace/pieces/read_UInt32.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_UInt64.yaml
/workspace/pieces/read_UInt64.hpp
/workspace/pieces/read_UInt64.cpp
/workspace/LICENSE.txt
/workspace/pieces/read_StdVector.yaml
/workspace/pieces/read_StdVector.hpp
/workspace/LICENSE.txt
/workspace/pieces/read_String.yaml
/workspace/pieces/read_String.hpp
/workspace/pieces/read_String.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_Bool.yaml
/workspace/pieces/write_Bool.hpp
/workspace/LICENSE.txt
/workspace/pieces/write_Double.yaml
/workspace/pieces/write_Double.hpp
/workspace/pieces/write_Double.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_Float.yaml
/workspace/pieces/write_Float.hpp
/workspace/pieces/write_Float.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_ScalarType.yaml
/workspace/pieces/write_ScalarType.hpp
/workspace/pieces/write_ScalarType.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_ForwardIterator.yaml
/workspace/pieces/write_ForwardIterator.hpp
/workspace/LICENSE.txt
/workspace/pieces/write_Int8.yaml
/workspace/pieces/write_Int8.hpp
/workspace/pieces/write_Int8.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_Int16.yaml
/workspace/pieces/write_Int16.hpp
/workspace/pieces/write_Int16.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_Int32.yaml
/workspace/pieces/write_Int32.hpp
/workspace/pieces/write_Int32.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_Int64.yaml
/workspace/pieces/write_Int64.hpp
/workspace/pieces/write_Int64.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_UInt8.yaml
/workspace/pieces/write_UInt8.hpp
/workspace/pieces/write_UInt8.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_UInt16.yaml
/workspace/pieces/write_UInt16.hpp
/workspace/pieces/write_UInt16.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_UInt32.yaml
/workspace/pieces/write_UInt32.hpp
/workspace/pieces/write_UInt32.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_UInt64.yaml
/workspace/pieces/write_UInt64.hpp
/workspace/pieces/write_UInt64.cpp
/workspace/LICENSE.txt
/workspace/pieces/write_Pointer.yaml
/workspace/pieces/write_Pointer.hpp
/workspace/LICENSE.txt
/workspace/pieces/write_StdVector.yaml
/workspace/pieces/write_StdVector.hpp
/workspace/LICENSE.txt
/workspace/pieces/write_String.yaml
/workspace/pieces/write_String.hpp
/workspace/pieces/write_String.cpp
/workspace/LICENSE.txt
[ 40%] Generating files for unit test
specificjsontest:  Exception ParseInteger ValueParser Bool Double Float String Int16 Int32 Int64 Int8 UInt16 UInt32 UInt64 UInt8 ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: specificjsontest.hpp, source: specificjsontest.cpp
Scanning dependencies of target unittest
[ 80%] Building CXX object CMakeFiles/unittest.dir/specificjsontest.cpp.o
[ 80%] Building CXX object CMakeFiles/unittest.dir/test/unittest.cpp.o
/workspace/testbuild/specificjsontest.cpp: In constructor 'specjson::ContextException::ContextException(const specjson::Exception&, const char*, const char*, const char*)':
/workspace/testbuild/specificjsontest.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/testbuild/specificjsontest.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
In file included from /workspace/testbuild/specificjsontest.cpp:30:
/workspace/testbuild/specificjsontest.hpp: In instantiation of 'T specjson::convert_to_integer(const char*, char**) [with T = short int; long int Minimum = -32768; long unsigned int Maximum = 32767]':
/workspace/testbuild/specificjsontest.hpp:176:52:   required from 'const char* specjson::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = short int; long int Minimum = -32768; long unsigned int Maximum = 32767]'
/workspace/testbuild/specificjsontest.cpp:332:46:   required from here
/workspace/testbuild/specificjsontest.hpp:154:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
  154 |         if (out < Minimum || (0 < out && Maximum < out))
      |                                          ~~~~~~~~^~~~~
/workspace/testbuild/specificjsontest.hpp: In instantiation of 'T specjson::convert_to_integer(const char*, char**) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]':
/workspace/testbuild/specificjsontest.hpp:176:52:   required from 'const char* specjson::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]'
/workspace/testbuild/specificjsontest.cpp:343:46:   required from here
/workspace/testbuild/specificjsontest.hpp:154:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
/workspace/testbuild/specificjsontest.hpp: In instantiation of 'T specjson::convert_to_integer(const char*, char**) [with T = long int; long int Minimum = -9223372036854775808; long unsigned int Maximum = 9223372036854775807]':
/workspace/testbuild/specificjsontest.hpp:176:52:   required from 'const char* specjson::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = long int; long int Minimum = -9223372036854775808; long unsigned int Maximum = 9223372036854775807]'
/workspace/testbuild/specificjsontest.cpp:354:46:   required from here
/workspace/testbuild/specificjsontest.hpp:154:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
/workspace/testbuild/specificjsontest.hpp: In instantiation of 'T specjson::convert_to_integer(const char*, char**) [with T = signed char; long int Minimum = -128; long unsigned int Maximum = 127]':
/workspace/testbuild/specificjsontest.hpp:176:52:   required from 'const char* specjson::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = signed char; long int Minimum = -128; long unsigned int Maximum = 127]'
/workspace/testbuild/specificjsontest.cpp:365:46:   required from here
/workspace/testbuild/specificjsontest.hpp:154:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
[100%] Linking CXX executable unittest
[100%] Built target unittest
Running tests...
Test project /workspace/testbuild
      Start  1: UnitTest
 1/10 Test  #1: UnitTest .........................   Passed    0.01 sec
      Start  2: clean
 2/10 Test  #2: clean ............................   Passed    0.31 sec
      Start  3: missing_requirement_yaml
 3/10 Test  #3: missing_requirement_yaml .........   Passed    0.31 sec
      Start  4: missing_requirement_json
 4/10 Test  #4: missing_requirement_json .........   Passed    0.32 sec
      Start  5: missing_referred_file
 5/10 Test  #5: missing_referred_file ............   Passed    0.11 sec
      Start  6: missing_spec_file
 6/10 Test  #6: missing_spec_file ................   Passed    0.12 sec
      Start  7: list
 7/10 Test  #7: list .............................   Passed    0.12 sec
      Start  8: standalone
 8/10 Test  #8: standalone .......................   Passed    0.25 sec
      Start  9: export
 9/10 Test  #9: export ...........................   Passed    0.53 sec
      Start 10: samename
10/10 Test #10: samename .........................   Passed    0.22 sec

100% tests passed, 0 tests failed out of 10

Total Test time (real) =   2.29 sec
Build and test exit code: 0