Pre Merge pull request !261 from 任伟x/3.x

This commit is contained in:
任伟x 2024-05-18 01:45:49 +00:00 committed by Gitee
commit fa614cb3ef
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 5 deletions

View File

@ -13,10 +13,10 @@
* limitations under the License.
*/
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium';
import { ImageKnifeOption} from '../main/ets/ImageKnifeOption';
import { ImageKnifeOption } from "@ohos/imageknife"
export default function imageKnifeOptionTest() {
describe('imageKnifeOptionTest',() => {
export default function ImageKnifeOptionTest() {
describe('ImageKnifeOptionTest',() => {
// Defines a test suite. Two parameters are supported: test suite name and test suite function.
beforeAll(() => {
// Presets an action, which is performed only once before all test cases of the test suite start.

View File

@ -14,10 +14,12 @@
*/
import DefaultJobQueueTest from './DefaultJobQueueTest.test';
import FileLruCacheTest from './FileLruCache.test';
import ImageKnifeOptionTest from './ImageKnifeOption.test';
import MemoryLruCacheTest from './MemoryLruCache.test';
export default function testsuite() {
MemoryLruCacheTest();
FileLruCacheTest();
DefaultJobQueueTest();
ImageKnifeOptionTest();
}

View File

@ -1,7 +1,5 @@
import imageKnifeOptionTest from './ImageKnifeOption.test';
import localUnitTest from './LocalUnit.test';
export default function testsuite() {
localUnitTest();
imageKnifeOptionTest();
}