Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_cssdata_unittest.cpp File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

+ Include dependency graph for cfx_cssdata_unittest.cpp:

Go to the source code of this file.

Macros

#define CSS_PROP____(a, b, c, d)
 
#define CSS_PROP_VALUE____(a, b, c)
 

Functions

 TEST (CSSDataTest, PropertyHashes)
 
 TEST (CSSDataTest, PropertyValueHashes)
 

Macro Definition Documentation

◆ CSS_PROP____

#define CSS_PROP____ ( a,
b,
c,
d )
Value:
{ \
EXPECT_EQ(FX_HashCode_GetAsIfW(b), static_cast<uint32_t>(c)) << b; \
EXPECT_GT(static_cast<uint32_t>(c), max_hash) << b; \
max_hash = c; \
}
uint32_t FX_HashCode_GetAsIfW(ByteStringView str)
GLboolean GLboolean GLboolean b
const GLubyte * c

◆ CSS_PROP_VALUE____

#define CSS_PROP_VALUE____ ( a,
b,
c )
Value:
{ \
EXPECT_EQ(FX_HashCode_GetAsIfW(b), static_cast<uint32_t>(c)) << b; \
EXPECT_GT(static_cast<uint32_t>(c), max_hash) << b; \
max_hash = c; \
}

Function Documentation

◆ TEST() [1/2]

TEST ( CSSDataTest ,
PropertyHashes  )

Definition at line 10 of file cfx_cssdata_unittest.cpp.

◆ TEST() [2/2]

TEST ( CSSDataTest ,
PropertyValueHashes  )

Definition at line 23 of file cfx_cssdata_unittest.cpp.