JSONReporter's listTests only lists class-name if it is non-empty

This commit is contained in:
Martin Hořeňovský committed 2026-08-07 23:07:46 +02:00
1 parent a0eba50e9d
commit 0b4d7a5a16
12 files changed
+33 -44

No files matched your search

@@ -1,5 +1,5 @@
{
"version": 1,
"version": 2,
"metadata": {
"name": "benchmark-template",
"catch2-version": "3.15.2"
@@ -8,7 +8,6 @@
"tests": [
{
"name": "Comparing function pointers",
"class-name": "",
"tags": [
"function pointer",
"Tricky"
@@ -20,7 +19,6 @@
},
{
"name": "Testing checked-if 4",
"class-name": "",
"tags": [
"!shouldfail",
"checked-if"
@@ -32,7 +30,6 @@
},
{
"name": "count_equidistant_floats - double",
"class-name": "",
"tags": [
"approvals",
"distance",
@@ -45,7 +42,6 @@
},
{
"name": "Usage of AllTrue range matcher",
"class-name": "",
"tags": [
"matchers",
"quantifiers",
@@ -58,7 +54,6 @@
},
{
"name": "Exception matchers that succeed",
"class-name": "",
"tags": [
"!throws",
"exceptions",
@@ -83,7 +78,6 @@
},
{
"name": "Approximate PI",
"class-name": "",
"tags": [
"Approx",
"PI"
@@ -95,7 +89,6 @@
},
{
"name": "TextFlow::Column respects width setting",
"class-name": "",
"tags": [
"approvals",
"column",
@@ -108,7 +101,6 @@
},
{
"name": "Generators internals",
"class-name": "",
"tags": [
"generators",
"internals"
@@ -120,7 +112,6 @@
},
{
"name": "Mayfail test case with nested sections",
"class-name": "",
"tags": [
"!mayfail"
],