Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
415
Issues
415
List
Boards
Labels
Service Desk
Milestones
Merge Requests
67
Merge Requests
67
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
Kea
Commits
c25985bf
Verified
Commit
c25985bf
authored
Oct 19, 2020
by
Andrei Pavel
🐧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#1298
] missing spaces in error messages in tests
parent
9abbf8e9
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
17 deletions
+17
-17
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
+1
-1
src/bin/d2/tests/d2_process_unittests.cc
src/bin/d2/tests/d2_process_unittests.cc
+1
-1
src/bin/d2/tests/testdata/d2_cfg_tests.json
src/bin/d2/tests/testdata/d2_cfg_tests.json
+7
-7
src/lib/cql/testutils/cql_schema.cc
src/lib/cql/testutils/cql_schema.cc
+2
-2
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
+1
-1
src/lib/mysql/testutils/mysql_schema.cc
src/lib/mysql/testutils/mysql_schema.cc
+2
-2
src/lib/pgsql/testutils/pgsql_schema.cc
src/lib/pgsql/testutils/pgsql_schema.cc
+2
-2
src/lib/process/testutils/d_test_stubs.cc
src/lib/process/testutils/d_test_stubs.cc
+1
-1
No files found.
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
View file @
c25985bf
src/bin/d2/tests/d2_process_unittests.cc
View file @
c25985bf
...
...
@@ -101,7 +101,7 @@ public:
if
(
rcode
)
{
return
(
::
testing
::
AssertionFailure
(
::
testing
::
Message
()
<<
"configure() failed:"
"configure() failed:
"
<<
comment
));
}
...
...
src/bin/d2/tests/testdata/d2_cfg_tests.json
View file @
c25985bf
src/lib/cql/testutils/cql_schema.cc
View file @
c25985bf
...
...
@@ -68,8 +68,8 @@ runCqlScript(const std::string& path,
int32_t
retval
=
::
system
(
cmd
.
str
().
c_str
());
if
(
retval
)
{
std
::
cerr
<<
"runCqlSchema failed:"
<<
cmd
.
str
()
<<
std
::
endl
;
isc_throw
(
Unexpected
,
"runCqlSchema failed:"
<<
cmd
.
str
());
std
::
cerr
<<
"runCqlSchema failed:
"
<<
cmd
.
str
()
<<
std
::
endl
;
isc_throw
(
Unexpected
,
"runCqlSchema failed:
"
<<
cmd
.
str
());
}
}
...
...
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
View file @
c25985bf
...
...
@@ -128,7 +128,7 @@ public:
PgSqlResult
r
(
PQexec
(
conn
,
query
.
c_str
()));
if
(
PQresultStatus
(
r
)
!=
PGRES_TUPLES_OK
)
{
isc_throw
(
DbOperationError
,
"Query failed:"
<<
PQerrorMessage
(
conn
));
isc_throw
(
DbOperationError
,
"Query failed:
"
<<
PQerrorMessage
(
conn
));
}
int
numrows
=
PQntuples
(
r
);
...
...
src/lib/mysql/testutils/mysql_schema.cc
View file @
c25985bf
...
...
@@ -82,8 +82,8 @@ void runMySQLScript(const std::string& path, const std::string& script_name,
int
retval
=
::
system
(
cmd
.
str
().
c_str
());
if
(
retval
)
{
std
::
cerr
<<
"runMySQLSchema failed:"
<<
cmd
.
str
()
<<
std
::
endl
;
isc_throw
(
Unexpected
,
"runMySQLSchema failed:"
<<
cmd
.
str
());
std
::
cerr
<<
"runMySQLSchema failed:
"
<<
cmd
.
str
()
<<
std
::
endl
;
isc_throw
(
Unexpected
,
"runMySQLSchema failed:
"
<<
cmd
.
str
());
}
}
...
...
src/lib/pgsql/testutils/pgsql_schema.cc
View file @
c25985bf
...
...
@@ -93,8 +93,8 @@ void runPgSQLScript(const std::string& path, const std::string& script_name,
int
retval
=
::
system
(
cmd
.
str
().
c_str
());
if
(
retval
)
{
std
::
cerr
<<
"runPgSQLSchema failed:"
<<
cmd
.
str
()
<<
std
::
endl
;
isc_throw
(
Unexpected
,
"runPgSQLSchema failed:"
<<
cmd
.
str
());
std
::
cerr
<<
"runPgSQLSchema failed:
"
<<
cmd
.
str
()
<<
std
::
endl
;
isc_throw
(
Unexpected
,
"runPgSQLSchema failed:
"
<<
cmd
.
str
());
}
}
...
...
src/lib/process/testutils/d_test_stubs.cc
View file @
c25985bf
...
...
@@ -47,7 +47,7 @@ DStubProcess::run() {
io_service
->
run_one
();
}
catch
(
const
std
::
exception
&
ex
)
{
isc_throw
(
DProcessBaseError
,
std
::
string
(
"Process run method failed:"
)
+
ex
.
what
());
std
::
string
(
"Process run method failed:
"
)
+
ex
.
what
());
}
}
};
...
...
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