#include "tf_test.h"#include "pp_AttrProp.h"Defines | |
| #define | TFSUITE "core.text.ptbl.attrprop" |
Functions | |
| void | ascii_strdown (char *p, size_t len) |
| Turn the ASCII chars to lower case. | |
| TFTEST_MAIN ("ascii_strdown") | |
| TFTEST_MAIN ("PP_getAttribute") | |
| TFTEST_MAIN ("PP_hasAttribute") | |
| TFTEST_MAIN ("PP_setAttribute") | |
| TFTEST_MAIN ("PP_addOrSetAttribute") | |
| TFTEST_MAIN ("PP_removeAttribute") | |
| TFTEST_MAIN ("PP_cloneAndDecodeAttributes") | |
| TFTEST_MAIN ("PP_std_setPropsToValue") | |
| TFTEST_MAIN ("PP_std_copyProps") | |
| TFTEST_MAIN ("PP_std_setPropsToNothing") | |
| TFTEST_MAIN ("PP_makePropString") | |
| UT_uint32 | hashcodeBytesAP (UT_uint32 init, const char *pv, UT_uint32 cb) |
| TFTEST_MAIN ("PP_AttrProp checksum") | |
| TFTEST_MAIN ("PP_AttrProp - add props/attr") | |
| TFTEST_MAIN ("PP_AttrProp - add attr with props") | |
| TFTEST_MAIN ("PP_AttrProp - add attr with broken props") | |
| TFTEST_MAIN ("PP_AttrProp - add attr with odd") | |
| TFTEST_MAIN ("PP_AttrProp - operator=") | |
Variables | |
| static const PP_PropertyVector | attr1 |
| static const PP_PropertyVector | attr2 |
| static const PP_PropertyVector | true_attr |
| static const PP_PropertyVector | broken_attr |
| #define TFSUITE "core.text.ptbl.attrprop" |
| void ascii_strdown | ( | char * | p, | |
| size_t | len | |||
| ) |
Turn the ASCII chars to lower case.
Modify in place.
| p | the string pointer | |
| len | the length of the string. |
Referenced by PP_AttrProp::_computeCheckSum(), PP_AttrProp::setAttribute(), and TFTEST_MAIN().
(?)TODO: PLEASE DOCUMENT ME!
Referenced by PP_AttrProp::_computeCheckSum(), and TFTEST_MAIN().
| TFTEST_MAIN | ( | "PP_AttrProp - add attr with odd" | ) |
| TFTEST_MAIN | ( | "PP_AttrProp - add attr with broken props" | ) |
| TFTEST_MAIN | ( | "PP_AttrProp - add attr with props" | ) |
| TFTEST_MAIN | ( | "PP_AttrProp - add props/attr" | ) |
| TFTEST_MAIN | ( | "PP_AttrProp checksum" | ) |
| TFTEST_MAIN | ( | "PP_addOrSetAttribute" | ) |
References attr1, PP_addOrSetAttribute(), PP_setAttribute(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_makePropString" | ) |
References PP_makePropString(), and TFPASS.
| TFTEST_MAIN | ( | "PP_std_setPropsToNothing" | ) |
References attr1, PP_getAttribute(), PP_hasAttribute(), PP_std_setPropsToNothing(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_std_copyProps" | ) |
References PP_getAttribute(), PP_hasAttribute(), PP_std_copyProps(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_std_setPropsToValue" | ) |
References attr1, PP_getAttribute(), PP_hasAttribute(), PP_std_setPropsToValue(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_cloneAndDecodeAttributes" | ) |
References PP_cloneAndDecodeAttributes(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_removeAttribute" | ) |
References attr1, PP_removeAttribute(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_getAttribute" | ) |
References attr1, PP_getAttribute(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_setAttribute" | ) |
References attr1, PP_getAttribute(), PP_hasAttribute(), PP_setAttribute(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | "PP_hasAttribute" | ) |
References attr1, PP_hasAttribute(), TFPASS, and TFPASSEQ.
| TFTEST_MAIN | ( | ) |
| TFTEST_MAIN | ( | "ascii_strdown" | ) |
References ascii_strdown(), and TFPASSEQ.
const PP_PropertyVector attr1 [static] |
{
"foo", "bar",
"buzz", "word",
"style", "and a style"
}
Referenced by TFTEST_MAIN().
const PP_PropertyVector attr2 [static] |
{
"font-family", "Comic Sans",
"width", "3in",
"height", "1cm",
"font-size", "42pt"
}
Referenced by TFTEST_MAIN().
const PP_PropertyVector broken_attr [static] |
{
"props", "this is a broken prop",
"xid", "1",
"buzz", "word",
"gin", "tonic"
}
Referenced by TFTEST_MAIN().
const PP_PropertyVector true_attr [static] |
{
"props", "dom-dir:ltr; font-family:Times New Roman; font-size:10pt; lang:en-GB; line-height:1.0; text-align:justify",
"xid", "1",
"buzz", "word",
"gin", "tonic"
}
Referenced by TFTEST_MAIN().
1.7.1