From 612bb474332c17a222e8f22aeeb5f560a05b49e9 Mon Sep 17 00:00:00 2001 From: vladimirrybakov Date: Tue, 29 Jul 2025 14:40:06 +0300 Subject: [PATCH] Test suite for IDL parser --- ets-tests/ets/ets-tests/Pages.ets | 4 ++- .../ets/ets-tests/suites/ParseIdlTests.ets | 27 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 ets-tests/ets/ets-tests/suites/ParseIdlTests.ets diff --git a/ets-tests/ets/ets-tests/Pages.ets b/ets-tests/ets/ets-tests/Pages.ets index 435b69313..0ba31345e 100644 --- a/ets-tests/ets/ets-tests/Pages.ets +++ b/ets-tests/ets/ets-tests/Pages.ets @@ -30,6 +30,7 @@ import { suiteDrawModifier } from './suites/DrawModifier' import { suiteTrackDecorator } from './suites/TrackDecoratorTests' import { suiteRenderServiceNode } from './suites/RenderServiceNodeTest'; import { suiteTraceDecorator } from './suites/TraceDecoratorTests'; +import { suiteParseIdlTests } from './suites/ParseIdlTests' import { InitializationFromParent } from "./pages/states/InitializationFromParent" import { StateIncrement } from "./pages/states/StateIncrement" import { StateDecrement } from "./pages/states/StateDecrement" @@ -240,5 +241,6 @@ export function Suites(control: TestController) { suiteRenderServiceNode(control) suiteTraceDecorator(control) suiteScreenshotService(control) + suiteParseIdlTests(control) }) -} \ No newline at end of file +} diff --git a/ets-tests/ets/ets-tests/suites/ParseIdlTests.ets b/ets-tests/ets/ets-tests/suites/ParseIdlTests.ets new file mode 100644 index 000000000..d1960bdef --- /dev/null +++ b/ets-tests/ets/ets-tests/suites/ParseIdlTests.ets @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { TestController } from "../../TestHarness" +import { assert, suite, test } from "@koalaui/harness" + +export function suiteParseIdlTests(control: TestController) { + suite("ParseIdlTest", () => { + test("simple", () => { + //control.start() + //control.stop() + assert.equal(false, true) + }) + }) +} -- Gitee