Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4e15c9c8
Commit
4e15c9c8
authored
Jan 25, 2023
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: fix clar declarations
parent
6bf0459a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
tests/clar/clar/summary.h
+6
-6
No files found.
tests/clar/clar/summary.h
View file @
4e15c9c8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdio.h>
#include <time.h>
#include <time.h>
int
clar_summary_close_tag
(
static
int
clar_summary_close_tag
(
struct
clar_summary
*
summary
,
const
char
*
tag
,
int
indent
)
struct
clar_summary
*
summary
,
const
char
*
tag
,
int
indent
)
{
{
const
char
*
indt
;
const
char
*
indt
;
...
@@ -14,12 +14,12 @@ int clar_summary_close_tag(
...
@@ -14,12 +14,12 @@ int clar_summary_close_tag(
return
fprintf
(
summary
->
fp
,
"%s</%s>
\n
"
,
indt
,
tag
);
return
fprintf
(
summary
->
fp
,
"%s</%s>
\n
"
,
indt
,
tag
);
}
}
int
clar_summary_testsuites
(
struct
clar_summary
*
summary
)
static
int
clar_summary_testsuites
(
struct
clar_summary
*
summary
)
{
{
return
fprintf
(
summary
->
fp
,
"<testsuites>
\n
"
);
return
fprintf
(
summary
->
fp
,
"<testsuites>
\n
"
);
}
}
int
clar_summary_testsuite
(
struct
clar_summary
*
summary
,
static
int
clar_summary_testsuite
(
struct
clar_summary
*
summary
,
int
idn
,
const
char
*
name
,
time_t
timestamp
,
int
idn
,
const
char
*
name
,
time_t
timestamp
,
int
test_count
,
int
fail_count
,
int
error_count
)
int
test_count
,
int
fail_count
,
int
error_count
)
{
{
...
@@ -40,7 +40,7 @@ int clar_summary_testsuite(struct clar_summary *summary,
...
@@ -40,7 +40,7 @@ int clar_summary_testsuite(struct clar_summary *summary,
idn
,
name
,
iso_dt
,
test_count
,
fail_count
,
error_count
);
idn
,
name
,
iso_dt
,
test_count
,
fail_count
,
error_count
);
}
}
int
clar_summary_testcase
(
struct
clar_summary
*
summary
,
static
int
clar_summary_testcase
(
struct
clar_summary
*
summary
,
const
char
*
name
,
const
char
*
classname
,
double
elapsed
)
const
char
*
name
,
const
char
*
classname
,
double
elapsed
)
{
{
return
fprintf
(
summary
->
fp
,
return
fprintf
(
summary
->
fp
,
...
@@ -48,7 +48,7 @@ int clar_summary_testcase(struct clar_summary *summary,
...
@@ -48,7 +48,7 @@ int clar_summary_testcase(struct clar_summary *summary,
name
,
classname
,
elapsed
);
name
,
classname
,
elapsed
);
}
}
int
clar_summary_failure
(
struct
clar_summary
*
summary
,
static
int
clar_summary_failure
(
struct
clar_summary
*
summary
,
const
char
*
type
,
const
char
*
message
,
const
char
*
desc
)
const
char
*
type
,
const
char
*
message
,
const
char
*
desc
)
{
{
return
fprintf
(
summary
->
fp
,
return
fprintf
(
summary
->
fp
,
...
@@ -56,7 +56,7 @@ int clar_summary_failure(struct clar_summary *summary,
...
@@ -56,7 +56,7 @@ int clar_summary_failure(struct clar_summary *summary,
type
,
message
,
desc
);
type
,
message
,
desc
);
}
}
int
clar_summary_skipped
(
struct
clar_summary
*
summary
)
static
int
clar_summary_skipped
(
struct
clar_summary
*
summary
)
{
{
return
fprintf
(
summary
->
fp
,
"
\t\t\t
<skipped />
\n
"
);
return
fprintf
(
summary
->
fp
,
"
\t\t\t
<skipped />
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment