$darkmode
Elektra 0.11.0
Functions
testtool_backend.cpp File Reference

Tests for the Backend class. More...

#include <backend.hpp>
#include <backends.hpp>
#include <gtest/gtest.h>
#include <iostream>
#include <kdb.hpp>
#include <kdbconfig.h>
#include <string>
Include dependency graph for testtool_backend.cpp:

Functions

void outputGTest (kdb::KeySet tocheck, std::string name)
 Easily allows one to generate regression tests for keysets. More...
 

Detailed Description

Tests for the Backend class.

Function Documentation

◆ outputGTest()

void outputGTest ( kdb::KeySet  tocheck,
std::string  name 
)

Easily allows one to generate regression tests for keysets.

Parameters
tocheckthe keyset to check (name + string)
namethe name of the keyset