Home
last modified time | relevance | path

Searched refs:TestBase (Results 1 – 25 of 73) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtestcasefactory.cpp80 []() -> std::shared_ptr<TestBase> { in __anonec8024be0902()
84 []() -> std::shared_ptr<TestBase> { in __anonec8024be0a02()
88 []() -> std::shared_ptr<TestBase> { in __anonec8024be0b02()
112 []() -> std::shared_ptr<TestBase> { in __anonec8024be1b02()
123 []() -> std::shared_ptr<TestBase> { in __anonec8024be2202()
129 []() -> std::shared_ptr<TestBase> { in __anonec8024be2402()
134 []() -> std::shared_ptr<TestBase> { in __anonec8024be2602()
139 []() -> std::shared_ptr<TestBase> { in __anonec8024be2802()
152 []() -> std::shared_ptr<TestBase> { in __anonec8024be2b02()
184 …[]() -> std::shared_ptr<TestBase> { return std::make_shared<CanvasSkew>(TestBase::DRAW_STYLE_COMPL… in __anonec8024be3502()
[all …]
H A Dtest_base.cpp58 OH_Drawing_Bitmap* TestBase::GetBitmap() in GetBitmap()
63 uint32_t TestBase::GetTime() in GetTime()
75 void TestBase::TestFunctionCpu(napi_env env) in TestFunctionCpu()
90 void TestBase::TestStabilityCpu() in TestStabilityCpu()
99 unsigned long long TestBase::LogStart() in LogStart()
157 void TestBase::CreateBitmapCanvas() in CreateBitmapCanvas()
181 void TestBase::CreateGpuCanvas() in CreateGpuCanvas()
192 void TestBase::BitmapCanvasToFile() in BitmapCanvasToFile()
353 void TestBase::Destroy() in Destroy()
414 uint32_t TestBase::GetBitmapWidth() in GetBitmapWidth()
[all …]
H A Dtestcasefactory.h25 static std::shared_ptr<TestBase> GetFunctionCpuCase(std::string caseName);
26 static std::shared_ptr<TestBase> GetPerformanceCpuCase(std::string caseName);
27 static std::shared_ptr<TestBase> GetStabilityCpuCase(std::string caseName);
28 …static std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> GetFunctionCpuC…
29 …static std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> GetStabilityCpu…
H A Dtest_base.h35 class TestBase {
37 TestBase(){}; in TestBase() function
38 explicit TestBase(int styleType):styleType_(styleType){}; in TestBase() function
39 virtual ~TestBase() in ~TestBase()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/
H A Dcanvas_test.h25 class CanvasDrawRect : public TestBase {
50 class CanvasRotate : public TestBase {
62 class CanvasTranslate : public TestBase {
74 class CanvasScale : public TestBase {
97 class CanvasClear : public TestBase {
109 class CanvasSetMatrix : public TestBase {
176 class CanvasSkew : public TestBase {
198 class CanvasDrawPath : public TestBase {
281 class CanvasSave : public TestBase {
326 class CanvasDrawArc : public TestBase {
[all …]
H A Dpath_test.h51 class PathGetLength : public TestBase {
64 class PathClose : public TestBase {
76 class PathOffset : public TestBase {
88 class PathReset : public TestBase {
100 class PathCubicTo : public TestBase {
112 class PathRMoveTo : public TestBase {
124 class PathRLineTo : public TestBase {
136 class PathRQuadTo : public TestBase {
257 class PathCreate : public TestBase {
279 class PathArcTo : public TestBase {
[all …]
H A Dmatrix_test.h25 class MatrixReset : public TestBase {
27 explicit MatrixReset(int type) : TestBase(type) in MatrixReset()
37 class MatrixConcat : public TestBase {
39 explicit MatrixConcat(int type) : TestBase(type) in MatrixConcat()
49 class MatrixInvert : public TestBase {
51 explicit MatrixInvert(int type) : TestBase(type) in MatrixInvert()
61 class MatrixSetPolyToPoly : public TestBase {
73 class MatrixPreRotate : public TestBase {
85 class MatrixPostScale : public TestBase {
97 class MatrixPostTranslate : public TestBase {
[all …]
H A Dcolor_test.h25 class ColorFilterCreateBlendMode : public TestBase {
39 class ColorFilterCreateCompose : public TestBase {
53 class ColorFilterCreateMatrix : public TestBase {
55 explicit ColorFilterCreateMatrix(int type) : TestBase(type) in ColorFilterCreateMatrix()
67 class ColorFilterCreateLinearToSrgbGamma : public TestBase {
81 class ColorFilterCreateSrgbGammaToLinear : public TestBase {
95 class ColorFilterCreateLuma : public TestBase {
97 explicit ColorFilterCreateLuma(int type) : TestBase(type) in ColorFilterCreateLuma()
109 class ColorSpaceCreateSrgb : public TestBase {
111 explicit ColorSpaceCreateSrgb(int type) : TestBase(type) in ColorSpaceCreateSrgb()
[all …]
H A Dtext_blob_test.h24 class TextBlobBuilderCreate : public TestBase {
26 explicit TextBlobBuilderCreate(int type) : TestBase(type) in TextBlobBuilderCreate()
36 class TextBlobCreateFromText : public TestBase {
38 explicit TextBlobCreateFromText(int type) : TestBase(type) in TextBlobCreateFromText()
48 class TextBlobCreateFromPosText : public TestBase {
50 explicit TextBlobCreateFromPosText(int type) : TestBase(type) in TextBlobCreateFromPosText()
60 class TextBlobCreateFromString : public TestBase {
62 explicit TextBlobCreateFromString(int type) : TestBase(type) in TextBlobCreateFromString()
72 class TextBlobGetBounds : public TestBase {
74 explicit TextBlobGetBounds(int type) : TestBase(type) in TextBlobGetBounds()
[all …]
H A Dshader_effect_test.h25 class ShaderEffectCreateLinearGradient : public TestBase {
27 explicit ShaderEffectCreateLinearGradient(int type) : TestBase(type) in ShaderEffectCreateLinearGradient()
38 class ShaderEffectCreateRadialGradient : public TestBase {
40 explicit ShaderEffectCreateRadialGradient(int type) : TestBase(type) in ShaderEffectCreateRadialGradient()
51 class ShaderEffectCreateImageShader : public TestBase {
53 explicit ShaderEffectCreateImageShader(int type) : TestBase(type) in ShaderEffectCreateImageShader()
64 class ShaderEffectCreateSweepGradient : public TestBase {
66 explicit ShaderEffectCreateSweepGradient(int type) : TestBase(type) in ShaderEffectCreateSweepGradient()
H A Dbitmap_test.h25 class ImageBuildFromBitmap : public TestBase {
27 explicit ImageBuildFromBitmap(int type) : TestBase(type) in ImageBuildFromBitmap()
39 class BitmapReadPixels : public TestBase {
42 : TestBase(type), fCT(ct), fAT(at) in BitmapReadPixels()
54 class BitmapBuild : public TestBase {
56 explicit BitmapBuild(int type) : TestBase(type) in BitmapBuild()
68 class BitmapCreateFromPixels : public TestBase {
70 explicit BitmapCreateFromPixels(int type) : TestBase(type) in BitmapCreateFromPixels()
H A Dtypeface_test.h25 class TypefaceCreateDefault : public TestBase {
27 explicit TypefaceCreateDefault(int type) : TestBase(type) in TypefaceCreateDefault()
39 class TypefaceCreateFromFile : public TestBase {
41 explicit TypefaceCreateFromFile(int type) : TestBase(type) in TypefaceCreateFromFile()
53 class TypefaceCreateFromStream : public TestBase {
55 explicit TypefaceCreateFromStream(int type) : TestBase(type) in TypefaceCreateFromStream()
H A Dbrush_test.h20 class BrushReset : public TestBase {
22 explicit BrushReset(int type) : TestBase(type) in BrushReset()
H A Dfont_test.h20 class FontCountText : public TestBase {
22 explicit FontCountText(int type) : TestBase(type) in FontCountText()
H A Dmask_filter_test.h25 class MaskFilterCreateBlur : public TestBase {
27 explicit MaskFilterCreateBlur(int type) : TestBase(type) in MaskFilterCreateBlur()
H A Dpen_test.h30 class PenReset : public TestBase {
32 explicit PenReset(int type) : TestBase(type) in PenReset()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/
H A Dtest_case_factory.cpp22 std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> FunctionalMap = {
23 {"drawrect", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawRectTest>();}}, in __anon1144a44e0202()
24 {"drawpath", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawPathTest>();}}, in __anon1144a44e0302()
25 …{"drawtextblob", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawTextBlobTest>();}}, in __anon1144a44e0402()
27 std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> PerformanceMap = {
28 {"drawrect", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawRectTest>();}}, in __anon1144a44e0502()
29 {"drawpath", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawPathTest>();}}, in __anon1144a44e0602()
30 …{"drawtextblob", []() -> std::shared_ptr<TestBase> {return std::make_shared<DrawTextBlobTest>();}}, in __anon1144a44e0702()
36 std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> TestCaseFactory::GetFun… in GetFunctionCase()
41 std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> TestCaseFactory::GetPer… in GetPerformanceCase()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/
H A Dtest_base.cpp26 void TestBase::SetCanvas(TestDisplayCanvas* canvas) in SetCanvas()
30 int TestBase::CreateBitmapCanvas() in CreateBitmapCanvas()
67 int TestBase::DiasplayToScreen() in DiasplayToScreen()
77 void TestBase::SetFileName(std::string fileName) in SetFileName()
81 void TestBase::SetTestCount(uint32_t count) in SetTestCount()
85 void TestBase::TestFunctionCpu() in TestFunctionCpu()
94 void TestBase::TestPerformanceCpu() in TestPerformanceCpu()
104 void TestBase::TestFunctionGpuUpScreen() in TestFunctionGpuUpScreen()
112 void TestBase::TestPerformanceGpuUpScreen() in TestPerformanceGpuUpScreen()
122 void TestBase::LogStart() in LogStart()
[all …]
H A Dtest_base.h29 class TestBase {
31 TestBase(){}; in TestBase() function
32 virtual ~TestBase() = default;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/testcase/interface/
H A Dperformancetest.ts18 import {TestBase, StyleType} from '../../pages/testbase';
22 export class PerformanceCanvasDrawRect extends TestBase {
34 export class PerformanceCanvasDrawCircle extends TestBase {
46 export class PerformanceCanvasDrawLine extends TestBase {
58 export class PerformanceCanvasDrawPath extends TestBase {
72 export class PerformanceCanvasDrawTextBlob extends TestBase {
88 export class PerformanceCanvasPoint extends TestBase {
H A Dpathtest.ts17 import {TestBase, StyleType} from '../../pages/testbase';
23 export class PathLineTo extends TestBase {
43 export class PathArcTo extends TestBase {
64 export class PathQuadTo extends TestBase {
85 export class PathCubicTo extends TestBase {
108 export class PathClose extends TestBase {
132 export class PathReset extends TestBase {
155 export class PathIsClosed extends TestBase {
214 export class PathGetMatrix extends TestBase {
245 export class PathBuildFromSvgString extends TestBase {
[all …]
H A Dmatrixtest.ts45 export class MatrixGetValue extends TestBase {
74 export class MatrixGetAll extends TestBase {
110 export class MatrixPostRotate extends TestBase {
141 export class MatrixPostTranslate extends TestBase {
166 export class MatrixReset extends TestBase {
274 export class MatrixPreScale extends TestBase {
304 export class MatrixPreTranslate extends TestBase {
329 export class MatrixPreRotate extends TestBase {
360 export class MatrixPostScale extends TestBase {
390 export class MatrixMapRect extends TestBase {
[all …]
H A Dtextblobtest.ts18 import {TestBase, StyleType} from '../../pages/testbase';
31 export class MakeFromRunBuffer extends TestBase {
63 export class MakeFromString extends TestBase {
88 export class TextBlobBounds extends TestBase {
106 export class MakeFromPosText extends TestBase {
134 export class MakeUniqueId extends TestBase {
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Ddashing.h27 class Dashing : public TestBase {
36 class Dashing2 : public TestBase {
45 class Dashing4 : public TestBase {
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/pages/
H A Dcasefactory.ts16 import {TestBase, StyleType} from './testbase';
197 static getFunctonCpuCase(caseName: string): TestBase {
206 static getPerformanceCpuCase(caseName: string): TestBase {
214 static getFunctonGpuUpScreenCase(caseName: string): TestBase {
223 static getPerformanceGpuUpScreenCase(caseName: string): TestBase {

123