Browse Source

break asserts

master
Dmytro 6 days ago
parent
commit
e7fa7be7bd
  1. 2
      test.cpp
  2. 14
      test_report.xml
  3. BIN
      test_repos/x64/Debug/pch.obj
  4. BIN
      test_repos/x64/Debug/test.obj
  5. 11
      test_repos/x64/Debug/test_repos.exe.recipe
  6. 9
      test_repos/x64/Debug/test_repos.log
  7. BIN
      test_repos/x64/Debug/test_repos.pch
  8. BIN
      test_repos/x64/Debug/test_repos.tlog/CL.command.1.tlog
  9. BIN
      test_repos/x64/Debug/test_repos.tlog/CL.read.1.tlog
  10. BIN
      test_repos/x64/Debug/test_repos.tlog/CL.write.1.tlog
  11. 2
      test_repos/x64/Debug/test_repos.tlog/Cl.items.tlog
  12. BIN
      test_repos/x64/Debug/test_repos.tlog/CopyLocal.read.1u.tlog
  13. BIN
      test_repos/x64/Debug/test_repos.tlog/CopyLocal.write.1u.tlog
  14. BIN
      test_repos/x64/Debug/test_repos.tlog/link.command.1.tlog
  15. BIN
      test_repos/x64/Debug/test_repos.tlog/link.read.1.tlog
  16. 2
      test_repos/x64/Debug/test_repos.tlog/link.secondary.1.tlog
  17. BIN
      test_repos/x64/Debug/test_repos.tlog/link.write.1.tlog
  18. 2
      test_repos/x64/Debug/test_repos.tlog/test_repos.lastbuildstate
  19. 3
      test_repos/x64/Debug/test_repos.vcxproj.FileListAbsolute.txt
  20. BIN
      test_repos/x64/Debug/vc143.pdb
  21. BIN
      x64/Debug/test_repos.exe
  22. BIN
      x64/Debug/test_repos.ilk
  23. BIN
      x64/Debug/test_repos.pdb

2
test.cpp

@ -78,6 +78,6 @@ TEST(StringProcessorTest, InvalidString_ReturnsFalse)
{
char str[] = "Invalid string: apple,; banana; cherry";
bool isValid = is_string_valid(str);
//EXPECT_FALSE(isValid);
EXPECT_TRUE(isValid);
}

14
test_report.xml

@ -1,17 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="8" failures="1" disabled="0" errors="0" timestamp="2024-11-08T17:27:53" time="3.136" name="AllTests">
<testsuite name="StringProcessorTest" tests="3" failures="1" disabled="0" errors="0" time="3.127">
<testcase name="GetString" status="run" time="3.123" classname="StringProcessorTest">
<failure message="C:\Users\dimag\Desktop\repos_test\test.cpp:9&#x0A;Expected equality of these values:&#x0A; get_str(msg, str, limit)&#x0A; Which is: 1&#x0A; 0" type=""><![CDATA[C:\Users\dimag\Desktop\repos_test\test.cpp:9
Expected equality of these values:
get_str(msg, str, limit)
Which is: 1
0]]></failure>
</testcase>
<testsuites tests="8" failures="0" disabled="0" errors="0" timestamp="2024-11-08T19:12:45" time="1.541" name="AllTests">
<testsuite name="StringProcessorTest" tests="3" failures="0" disabled="0" errors="0" time="1.534">
<testcase name="GetString" status="run" time="1.525" classname="StringProcessorTest" />
<testcase name="ValidString_ReturnsTrue" status="run" time="0" classname="StringProcessorTest" />
<testcase name="InvalidString_ReturnsFalse" status="run" time="0" classname="StringProcessorTest" />
</testsuite>
<testsuite name="QuickSortTest" tests="5" failures="0" disabled="0" errors="0" time="0.004">
<testsuite name="QuickSortTest" tests="5" failures="0" disabled="0" errors="0" time="0.003">
<testcase name="SortsArrayInAscendingOrder" status="run" time="0" classname="QuickSortTest" />
<testcase name="SingleElementArray" status="run" time="0" classname="QuickSortTest" />
<testcase name="SortedArray" status="run" time="0" classname="QuickSortTest" />

BIN
test_repos/x64/Debug/pch.obj

Binary file not shown.

BIN
test_repos/x64/Debug/test.obj

Binary file not shown.

11
test_repos/x64/Debug/test_repos.exe.recipe

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\dimag\Desktop\repos_test\x64\Debug\test_repos.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>

9
test_repos/x64/Debug/test_repos.log

@ -0,0 +1,9 @@
 pch.cpp
test.cpp
C:\Users\dimag\Desktop\repos_test\stringProcessor.h(10,34): warning C4114: same type qualifier used more than once
(compiling source file '/test.cpp')
C:\Users\dimag\Desktop\repos_test\stringProcessor.h(20,12): warning C4267: 'return': conversion from 'size_t' to 'const int32_t', possible loss of data
(compiling source file '/test.cpp')
test_repos.vcxproj -> C:\Users\dimag\Desktop\repos_test\x64\Debug\test_repos.exe

BIN
test_repos/x64/Debug/test_repos.pch

Binary file not shown.

BIN
test_repos/x64/Debug/test_repos.tlog/CL.command.1.tlog

Binary file not shown.

BIN
test_repos/x64/Debug/test_repos.tlog/CL.read.1.tlog

Binary file not shown.

BIN
test_repos/x64/Debug/test_repos.tlog/CL.write.1.tlog

Binary file not shown.

2
test_repos/x64/Debug/test_repos.tlog/Cl.items.tlog

@ -0,0 +1,2 @@
C:\Users\dimag\Desktop\repos_test\test.cpp;C:\Users\dimag\Desktop\repos_test\test_repos\x64\Debug\test.obj
C:\Users\dimag\Desktop\repos_test\pch.cpp;C:\Users\dimag\Desktop\repos_test\test_repos\x64\Debug\pch.obj

BIN
test_repos/x64/Debug/test_repos.tlog/CopyLocal.read.1u.tlog

Binary file not shown.

BIN
test_repos/x64/Debug/test_repos.tlog/CopyLocal.write.1u.tlog

Binary file not shown.

BIN
test_repos/x64/Debug/test_repos.tlog/link.command.1.tlog

Binary file not shown.

BIN
test_repos/x64/Debug/test_repos.tlog/link.read.1.tlog

Binary file not shown.

2
test_repos/x64/Debug/test_repos.tlog/link.secondary.1.tlog

@ -0,0 +1,2 @@
^C:\USERS\DIMAG\DESKTOP\REPOS_TEST\TEST_REPOS\X64\DEBUG\PCH.OBJ|C:\USERS\DIMAG\DESKTOP\REPOS_TEST\TEST_REPOS\X64\DEBUG\TEST.OBJ
C:\Users\dimag\Desktop\repos_test\x64\Debug\test_repos.ILK

BIN
test_repos/x64/Debug/test_repos.tlog/link.write.1.tlog

Binary file not shown.

2
test_repos/x64/Debug/test_repos.tlog/test_repos.lastbuildstate

@ -0,0 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22000.0:
Debug|x64|C:\Users\dimag\Desktop\repos_test\|

3
test_repos/x64/Debug/test_repos.vcxproj.FileListAbsolute.txt

@ -0,0 +1,3 @@
C:\Users\dimag\Desktop\repos_test\x64\Debug\gtest.pdb
C:\Users\dimag\Desktop\repos_test\x64\Debug\gtest_main.pdb
C:\Users\dimag\Desktop\repos_test\test_repos\x64\Debug\test_rep.A9F5781E.Up2Date

BIN
test_repos/x64/Debug/vc143.pdb

Binary file not shown.

BIN
x64/Debug/test_repos.exe

Binary file not shown.

BIN
x64/Debug/test_repos.ilk

Binary file not shown.

BIN
x64/Debug/test_repos.pdb

Binary file not shown.
Loading…
Cancel
Save