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
cxfa_measurement_unittest.cpp File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

+ Include dependency graph for cxfa_measurement_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (CXFAMeasurementTest, ToString)
 
 TEST (CXFAMeasurementTest, GetUnitFromString)
 
 TEST (CXFAMeasurementTest, EqualsPrefix)
 
 TEST (CXFAMeasurementTest, NoPrefix)
 
 TEST (CXFAMeasurementTest, InvalidValues)
 

Function Documentation

◆ TEST() [1/5]

TEST ( CXFAMeasurementTest ,
EqualsPrefix  )

Definition at line 48 of file cxfa_measurement_unittest.cpp.

References CXFA_Measurement::GetUnit(), CXFA_Measurement::GetValue(), Mm, and Unknown.

+ Here is the call graph for this function:

◆ TEST() [2/5]

TEST ( CXFAMeasurementTest ,
GetUnitFromString  )

Definition at line 30 of file cxfa_measurement_unittest.cpp.

References Cm, Em, CXFA_Measurement::GetUnitFromString(), In, Mm, Mp, Pc, Percent, Pt, and Unknown.

+ Here is the call graph for this function:

◆ TEST() [3/5]

TEST ( CXFAMeasurementTest ,
InvalidValues  )

Definition at line 68 of file cxfa_measurement_unittest.cpp.

References CXFA_Measurement::GetUnit(), CXFA_Measurement::GetValue(), and Unknown.

+ Here is the call graph for this function:

◆ TEST() [4/5]

TEST ( CXFAMeasurementTest ,
NoPrefix  )

Definition at line 58 of file cxfa_measurement_unittest.cpp.

References CXFA_Measurement::GetUnit(), CXFA_Measurement::GetValue(), Mm, and Unknown.

+ Here is the call graph for this function:

◆ TEST() [5/5]

TEST ( CXFAMeasurementTest ,
ToString  )

Definition at line 9 of file cxfa_measurement_unittest.cpp.

References fxcrt::WideString::c_str(), Cm, Em, In, Mm, Mp, Pc, Percent, Pt, CXFA_Measurement::Set(), and CXFA_Measurement::ToString().

+ Here is the call graph for this function: