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

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

+ Include dependency graph for cstretchengine_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (CStretchEngine, OverflowInCtor)
 
 TEST (CStretchEngine, WeightRounding)
 
 TEST (CStretchEngine, WeightRoundingNoSmoothing)
 
 TEST (CStretchEngine, WeightRoundingBilinear)
 
 TEST (CStretchEngine, WeightRoundingNoSmoothingBilinear)
 
 TEST (CStretchEngine, ZeroLengthSrc)
 
 TEST (CStretchEngine, ZeroLengthSrcNoSmoothing)
 
 TEST (CStretchEngine, ZeroLengthSrcBilinear)
 
 TEST (CStretchEngine, ZeroLengthSrcNoSmoothingBilinear)
 
 TEST (CStretchEngine, ZeroLengthDest)
 
 TEST (CStretchEngine, TooManyWeights)
 

Function Documentation

◆ TEST() [1/11]

TEST ( CStretchEngine ,
OverflowInCtor  )

Definition at line 71 of file cstretchengine_unittest.cpp.

References FXDIB_ResampleOptions::FXDIB_ResampleOptions(), FXDIB_ResampleOptions::bHalftone, FXDIB_ResampleOptions::bInterpolateBilinear, FXDIB_ResampleOptions::bLossy, FXDIB_ResampleOptions::bNoSmoothing, CStretchEngine::GetResampleOptionsForTest(), and k8bppRgb.

+ Here is the call graph for this function:

◆ TEST() [2/11]

TEST ( CStretchEngine ,
TooManyWeights  )

Definition at line 146 of file cstretchengine_unittest.cpp.

References CStretchEngine::WeightTable::CalculateWeights().

+ Here is the call graph for this function:

◆ TEST() [3/11]

TEST ( CStretchEngine ,
WeightRounding  )

Definition at line 88 of file cstretchengine_unittest.cpp.

◆ TEST() [4/11]

TEST ( CStretchEngine ,
WeightRoundingBilinear  )

◆ TEST() [5/11]

TEST ( CStretchEngine ,
WeightRoundingNoSmoothing  )

Definition at line 93 of file cstretchengine_unittest.cpp.

References FXDIB_ResampleOptions::bNoSmoothing.

◆ TEST() [6/11]

TEST ( CStretchEngine ,
WeightRoundingNoSmoothingBilinear  )

◆ TEST() [7/11]

TEST ( CStretchEngine ,
ZeroLengthDest  )

Definition at line 140 of file cstretchengine_unittest.cpp.

References CStretchEngine::WeightTable::CalculateWeights().

+ Here is the call graph for this function:

◆ TEST() [8/11]

TEST ( CStretchEngine ,
ZeroLengthSrc  )

Definition at line 112 of file cstretchengine_unittest.cpp.

References CStretchEngine::WeightTable::CalculateWeights().

+ Here is the call graph for this function:

◆ TEST() [9/11]

TEST ( CStretchEngine ,
ZeroLengthSrcBilinear  )

Definition at line 125 of file cstretchengine_unittest.cpp.

References FXDIB_ResampleOptions::bInterpolateBilinear, and CStretchEngine::WeightTable::CalculateWeights().

+ Here is the call graph for this function:

◆ TEST() [10/11]

TEST ( CStretchEngine ,
ZeroLengthSrcNoSmoothing  )

Definition at line 118 of file cstretchengine_unittest.cpp.

References FXDIB_ResampleOptions::bNoSmoothing, and CStretchEngine::WeightTable::CalculateWeights().

+ Here is the call graph for this function:

◆ TEST() [11/11]

TEST ( CStretchEngine ,
ZeroLengthSrcNoSmoothingBilinear  )

Definition at line 132 of file cstretchengine_unittest.cpp.

References FXDIB_ResampleOptions::bInterpolateBilinear, FXDIB_ResampleOptions::bNoSmoothing, and CStretchEngine::WeightTable::CalculateWeights().

+ Here is the call graph for this function: