|
Gamp v0.0.7-67-g7798ac4
Gamp: Graphics, Audio, Multimedia and Processing
|
#include <sys/types.h>#include <cassert>#include <cinttypes>#include <cstdint>#include <cstdio>#include <cstring>#include <iostream>#include <string_view>#include <jau/basic_types.hpp>#include <jau/cpp_lang_util.hpp>#include <jau/cpp_pragma.hpp>#include <jau/float_types.hpp>#include <jau/int_types.hpp>#include <jau/string_cfmt.hpp>#include <jau/string_literal.hpp>#include <jau/string_util.hpp>#include <jau/test/catch2_ext.hpp>#include <jau/type_concepts.hpp>#include <jau/type_traits_queries.hpp>Go to the source code of this file.
Functions | |
| template<typename... Args> | |
| static void | checkFormat (int line, const char *fmt, const Args &...args) |
| TEST_CASE ("binary", "[jau][std::string][jau::cfmt][flags]") | |
| TEST_CASE ("float padding_neg_numbers", "[jau][std::string][jau::cfmt][float]") | |
| TEST_CASE ("float", "[jau][std::string][jau::cfmt][float]") | |
| TEST_CASE ("hash_flag", "[jau][std::string][jau::cfmt][flags]") | |
| TEST_CASE ("hash_width_20", "[jau][std::string][jau::cfmt][padding]") | |
| TEST_CASE ("hash_zero_width_20", "[jau][std::string][jau::cfmt][padding]") | |
| TEST_CASE ("integral_conversion", "[jau][std::string][jau::cfmt]") | |
| TEST_CASE ("left_flag", "[jau][std::string][jau::cfmt][flags]") | |
| TEST_CASE ("length", "[jau][std::string][jau::cfmt][length]") | |
| TEST_CASE ("misc", "[jau][std::string][jau::cfmt][misc]") | |
| TEST_CASE ("padding neg_numbers", "[jau][std::string][jau::cfmt][padding]") | |
| TEST_CASE ("parse: width precision from arg", "[jau][std::string][jau::cfmt]") | |
| TEST_CASE ("parse: width precision from format", "[jau][std::string][jau::cfmt]") | |
| TEST_CASE ("plus_flag", "[jau][std::string][jau::cfmt][flags]") | |
| TEST_CASE ("pointer", "[jau][std::string][jau::cfmt][pointer]") | |
| TEST_CASE ("precision_20", "[jau][std::string][jau::cfmt][padding]") | |
| TEST_CASE ("single_conversion", "[jau][std::string][jau::cfmt]") | |
| TEST_CASE ("space_flag", "[jau][std::string][jau::cfmt][flags]") | |
| TEST_CASE ("specifier", "[jau][std::string][jau::cfmt][specifier]") | |
| TEST_CASE ("string length", "[jau][std::string][jau::cfmt][stringlen]") | |
| TEST_CASE ("thousands_flag", "[jau][std::string][jau::cfmt][flags]") | |
| TEST_CASE ("types", "[jau][std::string][jau::cfmt][types]") | |
| TEST_CASE ("unknown flag", "[jau][std::string][jau::cfmt][error]") | |
| TEST_CASE ("width", "[jau][std::string][jau::cfmt][width]") | |
| TEST_CASE ("width_20", "[jau][std::string][jau::cfmt][padding]") | |
| TEST_CASE ("width_20", "[jau][std::string][jau::cfmt][width]") | |
| TEST_CASE ("width_20_precision_5", "[jau][std::string][jau::cfmt][padding]") | |
| TEST_CASE ("width_left_20", "[jau][std::string][jau::cfmt][width]") | |
| TEST_CASE ("width_star_20", "[jau][std::string][jau::cfmt][width]") | |
| TEST_CASE ("zero_flag", "[jau][std::string][jau::cfmt][flags]") | |
| TEST_CASE ("zero_width_left_20", "[jau][std::string][jau::cfmt][width]") | |
| TEST_CASE | ( | "parse: width precision from format" | , |
| "" | [jau][std::string][jau::cfmt] ) |
Definition at line 45 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "parse: width precision from arg" | , |
| "" | [jau][std::string][jau::cfmt] ) |
Definition at line 118 of file test_stringfmt_format.cpp.
|
static |
Definition at line 192 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "single_conversion" | , |
| "" | [jau][std::string][jau::cfmt] ) |
Definition at line 204 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "integral_conversion" | , |
| "" | [jau][std::string][jau::cfmt] ) |
Definition at line 387 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "thousands_flag" | , |
| "" | [jau][std::string][jau::cfmt][flags] ) |
Definition at line 412 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "binary" | , |
| "" | [jau][std::string][jau::cfmt][flags] ) |
Definition at line 466 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "space_flag" | , |
| "" | [jau][std::string][jau::cfmt][flags] ) |
Definition at line 474 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "plus_flag" | , |
| "" | [jau][std::string][jau::cfmt][flags] ) |
Definition at line 547 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "zero_flag" | , |
| "" | [jau][std::string][jau::cfmt][flags] ) |
Definition at line 615 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "left_flag" | , |
| "" | [jau][std::string][jau::cfmt][flags] ) |
Definition at line 650 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "hash_flag" | , |
| "" | [jau][std::string][jau::cfmt][flags] ) |
Definition at line 715 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "specifier" | , |
| "" | [jau][std::string][jau::cfmt][specifier] ) |
Definition at line 731 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "width" | , |
| "" | [jau][std::string][jau::cfmt][width] ) |
Definition at line 781 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "width_20" | , |
| "" | [jau][std::string][jau::cfmt][width] ) |
Definition at line 828 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "width_star_20" | , |
| "" | [jau][std::string][jau::cfmt][width] ) |
Definition at line 875 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "width_left_20" | , |
| "" | [jau][std::string][jau::cfmt][width] ) |
Definition at line 922 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "zero_width_left_20" | , |
| "" | [jau][std::string][jau::cfmt][width] ) |
Definition at line 984 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "width_20" | , |
| "" | [jau][std::string][jau::cfmt][padding] ) |
Definition at line 1031 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "precision_20" | , |
| "" | [jau][std::string][jau::cfmt][padding] ) |
Definition at line 1072 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "hash_zero_width_20" | , |
| "" | [jau][std::string][jau::cfmt][padding] ) |
Definition at line 1113 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "hash_width_20" | , |
| "" | [jau][std::string][jau::cfmt][padding] ) |
Definition at line 1154 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "width_20_precision_5" | , |
| "" | [jau][std::string][jau::cfmt][padding] ) |
Definition at line 1195 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "padding neg_numbers" | , |
| "" | [jau][std::string][jau::cfmt][padding] ) |
Definition at line 1236 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "float padding_neg_numbers" | , |
| "" | [jau][std::string][jau::cfmt][float] ) |
Definition at line 1267 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "length" | , |
| "" | [jau][std::string][jau::cfmt][length] ) |
Definition at line 1319 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "float" | , |
| "" | [jau][std::string][jau::cfmt][float] ) |
Definition at line 1402 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "types" | , |
| "" | [jau][std::string][jau::cfmt][types] ) |
Definition at line 1577 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "pointer" | , |
| "" | [jau][std::string][jau::cfmt][pointer] ) |
Definition at line 1710 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "unknown flag" | , |
| "" | [jau][std::string][jau::cfmt][error] ) |
Definition at line 1763 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "string length" | , |
| "" | [jau][std::string][jau::cfmt][stringlen] ) |
Definition at line 1773 of file test_stringfmt_format.cpp.
| TEST_CASE | ( | "misc" | , |
| "" | [jau][std::string][jau::cfmt][misc] ) |
Definition at line 1800 of file test_stringfmt_format.cpp.