|
Greenbone Vulnerability Management Libraries 22.8.0
|

Go to the source code of this file.
Macros | |
| #define | TEN "0123456789" |
| #define | SIXTY TEN TEN TEN TEN TEN TEN |
| #define | HUNDRED TEN TEN TEN TEN TEN TEN TEN TEN TEN TEN |
Functions | |
| Describe (hosts) | |
| BeforeEach (hosts) | |
| AfterEach (hosts) | |
| Ensure (hosts, gvm_hosts_new_never_returns_null) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_ipv4) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_ipv6) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_hostname) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_cidr_block) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_cidr6_block) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_range_short) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_range6_short) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_range_long) | |
| Ensure (hosts, gvm_get_host_type_returns_host_type_range6_long) | |
| Ensure (hosts, gvm_get_host_type_returns_error) | |
| Ensure (hosts, gvm_hosts_new_with_max_returns_success) | |
| Ensure (hosts, gvm_hosts_new_with_max_returns_error) | |
| Ensure (hosts, gvm_hosts_move_host_to_end) | |
| Ensure (hosts, gvm_hosts_allowed_only) | |
| int | main (int argc, char **argv) |
Definition at line 48 of file hosts_tests.c.
| #define TEN "0123456789" |
Definition at line 46 of file hosts_tests.c.
| AfterEach | ( | hosts | ) |
Definition at line 16 of file hosts_tests.c.
| BeforeEach | ( | hosts | ) |
Definition at line 13 of file hosts_tests.c.
| Describe | ( | hosts | ) |
| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_error | |||
| ) |
Definition at line 155 of file hosts_tests.c.
References gvm_get_host_type(), and SIXTY.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_cidr6_block | |||
| ) |
Definition at line 84 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_CIDR6_BLOCK.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_cidr_block | |||
| ) |
Definition at line 70 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_CIDR_BLOCK.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_hostname | |||
| ) |
Definition at line 50 of file hosts_tests.c.
References gvm_get_host_type(), HOST_TYPE_NAME, and SIXTY.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_ipv4 | |||
| ) |
Definition at line 29 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_IPV4.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_ipv6 | |||
| ) |
Definition at line 39 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_IPV6.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_range6_long | |||
| ) |
Definition at line 146 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_RANGE6_LONG.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_range6_short | |||
| ) |
Definition at line 116 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_RANGE6_SHORT.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_range_long | |||
| ) |
Definition at line 124 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_RANGE_LONG.

| Ensure | ( | hosts | , |
| gvm_get_host_type_returns_host_type_range_short | |||
| ) |
Definition at line 94 of file hosts_tests.c.
References gvm_get_host_type(), and HOST_TYPE_RANGE_SHORT.

| Ensure | ( | hosts | , |
| gvm_hosts_allowed_only | |||
| ) |
Definition at line 241 of file hosts_tests.c.
References gvm_host_value_str(), gvm_hosts_allowed_only(), gvm_hosts_count(), gvm_hosts_free(), gvm_hosts_new(), and gvm_hosts_next().

| Ensure | ( | hosts | , |
| gvm_hosts_move_host_to_end | |||
| ) |
Definition at line 205 of file hosts_tests.c.
References gvm_hosts::current, gvm_host_value_str(), gvm_hosts_count(), gvm_hosts_free(), gvm_hosts_move_current_host_to_end(), gvm_hosts_new(), gvm_hosts_next(), and gvm_hosts::hosts.

| Ensure | ( | hosts | , |
| gvm_hosts_new_never_returns_null | |||
| ) |
Definition at line 22 of file hosts_tests.c.
References gvm_hosts_new().

| Ensure | ( | hosts | , |
| gvm_hosts_new_with_max_returns_error | |||
| ) |
Definition at line 192 of file hosts_tests.c.
References gvm_hosts_new_with_max().

| Ensure | ( | hosts | , |
| gvm_hosts_new_with_max_returns_success | |||
| ) |
Definition at line 184 of file hosts_tests.c.
References gvm_hosts_new_with_max().

| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 276 of file hosts_tests.c.
References gvm_hosts_allowed_only().
