From 390f499f8d5fd17165dcb283379c5df3f856b124 Mon Sep 17 00:00:00 2001 From: wangzx0705 Date: Wed, 26 Jul 2023 10:28:08 +0000 Subject: [PATCH] fix some build error Signed-off-by: wangzx0705 --- .../src/main/ets/test/OnOffOutputDeviceChange.test.ets | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/multimedia/audio/audio_js_standard/AudioRendererEnhance/src/main/ets/test/OnOffOutputDeviceChange.test.ets b/multimedia/audio/audio_js_standard/AudioRendererEnhance/src/main/ets/test/OnOffOutputDeviceChange.test.ets index 2d92d7a9e..00317f246 100644 --- a/multimedia/audio/audio_js_standard/AudioRendererEnhance/src/main/ets/test/OnOffOutputDeviceChange.test.ets +++ b/multimedia/audio/audio_js_standard/AudioRendererEnhance/src/main/ets/test/OnOffOutputDeviceChange.test.ets @@ -93,7 +93,7 @@ export default function audioRendererTest() { } catch (error) { if (error) { console.log(`${TagFrmwkRender}: On catch error, error: [${error.code}, ${error.message}]`); - expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_401); + expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_401); done(); } else { expect(false).assertTrue(); @@ -125,7 +125,7 @@ export default function audioRendererTest() { } catch (error) { if (error) { console.log(`${TagFrmwkRender}: On catch error, error: [${error.code}, ${error.message}]`); - expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_6800101); + expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_6800101); done(); } else { expect(false).assertTrue(); @@ -158,7 +158,7 @@ export default function audioRendererTest() { } catch (error) { if (error) { console.log(`${TagFrmwkRender}: On: catch error, error: [${error.code}, ${error.message}]`); - expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_401); + expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_401); done(); } else { expect(false).assertTrue(); @@ -191,7 +191,7 @@ export default function audioRendererTest() { } catch (error) { if (error) { console.log(`${TagFrmwkRender}:On catch error, error: [${error.code}, ${error.message}]`); - expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_6800101); + expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_6800101); done(); } else { expect(false).assertTrue(); @@ -257,7 +257,7 @@ export default function audioRendererTest() { } catch (error) { if (error) { console.log(`${TagFrmwkRender}: Off catch error, error: [${error.code}, ${error.message}]`); - expect(Number(error.code)).assertEqual(INVALID_INPUT_PARAMETER_6800101); + expect(Number(error.code)).assertEqual(env.INVALID_INPUT_PARAMETER_6800101); done(); } else { expect(false).assertTrue(); -- GitLab