1/*
2 * Copyright (C) 2022 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
16import { LitTreeNode } from '../../../src/base-ui/tree/LitTreeNode';
17
18describe('LitTreeNode Test', () => {
19    let litTabPane = new LitTreeNode();
20    litTabPane.data = 'true';
21    litTabPane.checkable = 'true';
22    litTabPane.multiple = 'multiple';
23    litTabPane.iconName = 'iconName';
24    litTabPane.topDepth = 'topDepth';
25    litTabPane.arrow = 'arrow';
26    litTabPane.open = 'open';
27    litTabPane.selected = 'selected';
28    litTabPane.checked = 'checked';
29    it('LitTreeNode01', () => {
30        expect(litTabPane.data).toBe('true');
31    });
32    it('LitTreeNode02', () => {
33        expect(litTabPane.checkable).toBe('true');
34    });
35    it('LitTreeNode03', () => {
36        expect(litTabPane.multiple).toBeTruthy();
37    });
38    it('LitTreeNode04', () => {
39        expect(litTabPane.iconName).toBe('iconName');
40    });
41    it('LitTreeNode05', () => {
42        expect(litTabPane.topDepth).toBeTruthy();
43    });
44    it('LitTreeNode06', () => {
45        expect(litTabPane.arrow).toBeTruthy();
46    });
47    it('LitTreeNode07', () => {
48        expect(litTabPane.selected).toBeTruthy();
49    });
50    it('LitTreeNode08', () => {
51        expect(litTabPane.checked).toBeTruthy();
52    });
53})
54