提交 f3ebd43a 编写于 作者: C chengxingzhen

xts适配新框架

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 144f9c6f
......@@ -14,7 +14,7 @@
*/
import Ability from '@ohos.application.Ability'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from 'hypium/index'
import { Hypium } from '@ohos/hypium'
import testsuite from '../test/List.test'
export default class MainAbility extends Ability {
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import abilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import Subscriber from '@ohos.commonEvent'
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Core} from 'deccjsunit/index'
import {Core} from '@ohos/hypium'
@Entry
@Component
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Core} from 'deccjsunit/index'
import {Core} from '@ohos/hypium'
@Entry
@Component
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {Core} from 'deccjsunit/index'
import {Core} from '@ohos/hypium'
@Entry
@Component
......
......@@ -14,7 +14,7 @@
*/
import Ability from '@ohos.application.Ability'
import AbilityDelegatorRegistry from '@ohos.application.abilityDelegatorRegistry'
import { Hypium } from 'hypium/index'
import { Hypium } from '@ohos/hypium'
import testsuite from '../test/List.test'
export default class TestAbility extends Ability {
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'hypium/index'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import commonEvent from '@ohos.commonEvent'
var subscriberInfo_MainAbility = {
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import { Core, ExpectExtend, ReportExtend } from '@ohos/hypium';
@Entry
@Component
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import { Core, ExpectExtend, ReportExtend } from '@ohos/hypium';
@Entry
@Component
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import { Core, ExpectExtend, ReportExtend } from '@ohos/hypium';
@Entry
@Component
......
......@@ -15,7 +15,7 @@
import featureAbility from "@ohos.ability.featureAbility";
import file from '@system.file';
import { Core, ExpectExtend, ReportExtend } from 'deccjsunit/index';
import { Core, ExpectExtend, ReportExtend } from '@ohos/hypium';
@Entry
@Component
......
......@@ -16,7 +16,7 @@ import file from '@system.file'
import app from '@system.app'
import device from '@system.device'
import router from '@system.router'
import { Core, ExpectExtend } from 'deccjsunit/index'
import { Core, ExpectExtend } from '@ohos/hypium'
import featureAbility from '@ohos.ability.featureAbility'
const injectRef = Object.getPrototypeOf(global) || global
......
......@@ -15,7 +15,7 @@
import file from '@system.file';
//import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "deccjsunit/index"
//import {Core, ExpectExtend, InstrumentLog, ReportExtend} from "@ohos/hypium"
//import testsuite from "../../test/List.test.ets"
@Entry
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "deccjsunit/index"
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from "@ohos/hypium"
export default function lifecycleTest(abilityContext) {
describe('LifeCycleTest', function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册