1 /* 2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef UI_AUTO_TEST_BASIC_LAYOUT_H 17 #define UI_AUTO_TEST_BASIC_LAYOUT_H 18 19 #include "ui_auto_test.h" 20 21 namespace OHOS { 22 class UIAutoTestBasicLayout : public UIAutoTest { 23 public: UIAutoTestBasicLayout()24 UIAutoTestBasicLayout() {} ~UIAutoTestBasicLayout()25 ~UIAutoTestBasicLayout() {} 26 27 void Reset() const; 28 void RunTestList(); 29 30 void UIKitBasicLayoutTestMargin001() const; 31 void UIKitBasicLayoutTestPadding001() const; 32 void UIKitBasicLayoutTestCenterOfParent001() const; 33 void UIKitBasicLayoutTestLeftOfParent001() const; 34 void UIKitBasicLayoutTestRightOfParent001() const; 35 void UIKitBasicLayoutTestTopOfParent001() const; 36 void UIKitBasicLayoutTestBottomOfParent001() const; 37 void UIKitBasicLayoutTestLeftOfSibling001() const; 38 void UIKitBasicLayoutTestRightOfSibling001() const; 39 void UIKitBasicLayoutTestTopOfSibling001() const; 40 void UIKitBasicLayoutTestBottomOfSibling001() const; 41 void UIKitBasicLayoutTestHorCenterOfSibling001() const; 42 void UIKitBasicLayoutTestVerCenterOfSibling001() const; 43 void UIKitBasicLayoutTestLeftToSibling001() const; 44 void UIKitBasicLayoutTestRightToSibling001() const; 45 void UIKitBasicLayoutTestTopToSibling001() const; 46 void UIKitBasicLayoutTestBottomToSibling001() const; 47 }; 48 } // namespace OHOS 49 #endif // UI_AUTO_TEST_BASIC_LAYOUT_H 50