C:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_IncorrectQueryError_gtests/AddPersonToDatabase_IncorrectQueryError_gtests.pro
C++ (Qt) INCLUDEPATH += "C:/GTEST/gtest-1.7.0/include"LIBS += "C:/GTEST/lib/libGoogleTest.a" INCLUDEPATH += "../../" HEADERS += \ ../../EmptyArgumentError.h SOURCES += \ main.cpp
C:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proC:/Qt/Qt5.3.0/5.3/mingw482_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug -o Makefile ../AddPersonToDatabase_EmptyArgumentError_gtests/AddPersonToDatabase_EmptyArgumentError_gtests.proMakefile:176: recipe for target 'Makefile' failedmingw32-make: *** [Makefile] Interrupt22:27:22: The process "C:\Qt\Qt5.3.0\Tools\mingw482_32\bin\mingw32-make.exe" exited with code -1.22:27:22: Canceled build/deployment.22:27:22: Elapsed time: 00:16.
C++ (Qt)#include "gtest/gtest.h"#include "EmptyArgumentError.h" TEST( EmptyArgumentError001, messageTest ){ std::string functionName = "readData()"; EmptyArgumentError error( functionName ); std::string actual = error.getMessage(); std::string expected = "Error: empty argument in the " "function \"" + functionName + "\""; ASSERT_EQ( expected, actual );} int main( int argc, char *argv[] ){ ::testing::InitGoogleTest( &argc, argv ); return RUN_ALL_TESTS();}
D:\Qt\QtDatabasesExamples\0004_AddPersonToDatabase\AddPersonToDatabase\Tests\AddPersonToDatabase_EmptyArgumentError_123456\AddPersonToDatabase_EmptyArgumentError12345.pro
D:\Qt\QtDatabasesExamples\0004_AddPersonToDatabase\AddPersonToDatabase\Tests\AddPersonToDatabase_EmptyArgumentError_123456\AddPersonToDatabase_EmptyArgumentError123456.pro