Greenbone Vulnerability Management Libraries: util/cpeutils_tests.c File Reference

Greenbone Vulnerability Management Libraries 23.7.0

Functions
cpeutils_tests.c File Reference
`#include "cpeutils.c"`
`#include <cgreen/cgreen.h>`
`#include <cgreen/mocks.h>`

## Functions
| Describe (cpeutils)
| BeforeEach (cpeutils)
| AfterEach (cpeutils)
| Ensure (cpeutils, uri_cpe_to_cpe_struct)
| Ensure (cpeutils, fs_cpe_to_cpe_struct)
| Ensure (cpeutils, cpe_struct_to_uri_cpe)
| Ensure (cpeutils, cpe_struct_to_fs_cpe)
| Ensure (cpeutils, uri_cpe_to_fs_cpe)
| Ensure (cpeutils, fs_cpe_to_uri_cpe)
| Ensure (cpeutils, cpe_struct_match)
| Ensure (cpeutils, uri_cpe_to_uri_product)
| Ensure (cpeutils, fs_cpe_to_uri_cpe_accepts_end_star)
int | main (int argc, char **argv)

## Function Documentation

## ◆ AfterEach()

AfterEach | ( | cpeutils |  | ) |

## ◆ BeforeEach()

BeforeEach | ( | cpeutils |  | ) |

## ◆ Describe()

Describe | ( | cpeutils |  | ) |

## ◆ Ensure() [1/9]

Ensure | ( | cpeutils | ,
|  | cpe_struct_match | )

## ◆ Ensure() [2/9]

Ensure | ( | cpeutils | ,
|  | cpe_struct_to_fs_cpe | )

## ◆ Ensure() [3/9]

Ensure | ( | cpeutils | ,
|  | cpe_struct_to_uri_cpe | )

## ◆ Ensure() [4/9]

Ensure | ( | cpeutils | ,
|  | fs_cpe_to_cpe_struct | )

## ◆ Ensure() [5/9]

Ensure | ( | cpeutils | ,
|  | fs_cpe_to_uri_cpe | )

## ◆ Ensure() [6/9]

Ensure | ( | cpeutils | ,
|  | fs_cpe_to_uri_cpe_accepts_end_star | )

## ◆ Ensure() [7/9]

Ensure | ( | cpeutils | ,
|  | uri_cpe_to_cpe_struct | )

## ◆ Ensure() [8/9]

Ensure | ( | cpeutils | ,
|  | uri_cpe_to_fs_cpe | )

## ◆ Ensure() [9/9]

Ensure | ( | cpeutils | ,
|  | uri_cpe_to_uri_product | )

## ◆ main()

int main | ( | int | argc,
|  | char ** | argv )