提交 a0e9e53e 编写于 作者: C chengxingzhen

xts编译报错整改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 66fc06df
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
var bundleNameCallee = "com.example.systemcalltest"; var bundleNameCallee = "com.example.systemcalltest";
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
var bundleNameCallee = "com.example.systemcalltest"; var bundleNameCallee = "com.example.systemcalltest";
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
var bundleNameCallee = "com.example.systemcalltest"; var bundleNameCallee = "com.example.systemcalltest";
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
class MySequenceable { class MySequenceable {
num: number = 0; num: number = 0;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
var callerA = "SystemAppCallerA" var callerA = "SystemAppCallerA"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
export default class TestAbility extends Ability { export default class TestAbility extends Ability {
onCreate(want, launchParam) { onCreate(want, launchParam) {
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
*/ */
import { describe, afterEach, it, expect } from "@ohos/hypium" import { describe, afterEach, it, expect } from "@ohos/hypium"
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
import missionManager from '@ohos.application.missionManager'
var sysABundleName = "com.example.systemcalltest"; var sysABundleName = "com.example.systemcalltest";
var sysASecondAbilityName = "com.example.systemcalltest.SecondAbility"; var sysASecondAbilityName = "com.example.systemcalltest.SecondAbility";
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
class MySequenceable { class MySequenceable {
num: number = 0; num: number = 0;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import AbilityStage from "@ohos.application.AbilityStage" import AbilityStage from "@ohos.app.ability.AbilityStage"
var onAcceptWantCalledSeq; var onAcceptWantCalledSeq;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
export default class MainAbility extends Ability { export default class MainAbility extends Ability {
onCreate(want, launchParam) { onCreate(want, launchParam) {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
export default class TestAbility extends Ability { export default class TestAbility extends Ability {
onCreate(want, launchParam) { onCreate(want, launchParam) {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import Ability from '@ohos.application.Ability' import Ability from '@ohos.app.ability.UIAbility'
import commonEvent from '@ohos.commonEvent' import commonEvent from '@ohos.commonEvent'
class MySequenceable { class MySequenceable {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册