1#!/usr/bin/env python3 2# -*- coding: utf-8 -*- 3 4# 5# Copyright (c) 2023 Huawei Device Co., Ltd. 6# Licensed under the Apache License, Version 2.0 (the "License"); 7# you may not use this file except in compliance with the License. 8# You may obtain a copy of the License at 9# 10# http://www.apache.org/licenses/LICENSE-2.0 11# 12# Unless required by applicable law or agreed to in writing, software 13# distributed under the License is distributed on an "AS IS" BASIS, 14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15# See the License for the specific language governing permissions and 16# limitations under the License. 17 18import unittest 19 20from services.preloader import OHOSPreloader 21from resources.config import Config 22 23 24class PreloaderTest(unittest.TestCase): 25 26 def setUp(self): 27 self.preloader = OHOSPreloader(Config()) 28 return super().setUp() 29 30 def tearDown(self): 31 return super().tearDown() 32 33 def test_generate_build_prop(self): 34 pass 35 36 def test_generate_build_config_json(self): 37 pass 38 39 def test_generate_parts_json(self): 40 pass 41 42 def test_generate_parts_config_json(self): 43 pass 44 45 def test_generate_build_gnargs_prop(self): 46 pass 47 48 def test_generate_features_json(self): 49 pass 50 51 def test_generate_syscap_json(self): 52 pass 53 54 def test_generate_exclusion_modules_json(self): 55 pass 56 57 def test_generate_subsystem_config_json(self): 58 pass 59 60 def test_generate_platforms_build(self): 61 pass 62 63 def test_generate_systemcapability_json(self): 64 pass 65 66 def test_internel_run(self): 67 pass 68