summaryrefslogtreecommitdiff
path: root/hscript/network.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-10-15 13:25:38 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-10-15 13:25:38 -0500
commite9870d0b830deb0b253e5e514fc90ceee201a778 (patch)
tree244344085bdcd5ada2f187fc4579005caa51e409 /hscript/network.cc
parentf9850e766787d46bcae874fd4302cab0f0244e03 (diff)
downloadhorizon-e9870d0b830deb0b253e5e514fc90ceee201a778.tar.gz
horizon-e9870d0b830deb0b253e5e514fc90ceee201a778.tar.bz2
horizon-e9870d0b830deb0b253e5e514fc90ceee201a778.tar.xz
horizon-e9870d0b830deb0b253e5e514fc90ceee201a778.zip
Add many more various test cases
Diffstat (limited to 'hscript/network.cc')
-rw-r--r--hscript/network.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/hscript/network.cc b/hscript/network.cc
index 17fd0ea..e530da7 100644
--- a/hscript/network.cc
+++ b/hscript/network.cc
@@ -70,6 +70,7 @@ Key *NetConfigType::parseFromData(const std::string &data,
return new NetConfigType(script, pos, system);
}
+/* LCOV_EXCL_START */
bool NetConfigType::validate() const {
/* Validation takes place during parsing. */
return true;
@@ -79,6 +80,7 @@ bool NetConfigType::execute() const {
/* This key doesn't perform any action by itself. */
return true;
}
+/* LCOV_EXCL_STOP */
Key *NetAddress::parseFromData(const std::string &data,