From e740c48696007a350dce3548177a222e2a73e4e5 Mon Sep 17 00:00:00 2001 From: killagu Date: Thu, 10 Oct 2024 11:42:38 +0800 Subject: [PATCH] f --- core/aop-runtime/test/aop-runtime.test.ts | 2 +- .../test/fixtures/modules/hello_cross_cut/HelloCrossCut.ts | 2 +- .../hello_point_cut/{HellloPointCut.ts => HelloPointCut.ts} | 0 core/aop-runtime/test/fixtures/modules/hello_succeed/Hello.ts | 2 +- standalone/standalone/test/fixtures/aop-module/Hello.ts | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename core/aop-runtime/test/fixtures/modules/hello_point_cut/{HellloPointCut.ts => HelloPointCut.ts} (100%) diff --git a/core/aop-runtime/test/aop-runtime.test.ts b/core/aop-runtime/test/aop-runtime.test.ts index 35420748..0ce26599 100644 --- a/core/aop-runtime/test/aop-runtime.test.ts +++ b/core/aop-runtime/test/aop-runtime.test.ts @@ -8,7 +8,7 @@ import { CrosscutAdviceFactory } from '@eggjs/aop-decorator'; import { CoreTestHelper, EggTestContext } from '../../test-util'; import { Hello } from './fixtures/modules/hello_succeed/Hello'; import { crosscutAdviceParams } from './fixtures/modules/hello_cross_cut/HelloCrossCut'; -import { pointcutAdviceParams } from './fixtures/modules/hello_point_cut/HellloPointCut'; +import { pointcutAdviceParams } from './fixtures/modules/hello_point_cut/HelloPointCut'; import { EggObjectAopHook } from '../src/EggObjectAopHook'; import { LoadUnitAopHook } from '../src/LoadUnitAopHook'; import { EggPrototypeCrossCutHook } from '../src/EggPrototypeCrossCutHook'; diff --git a/core/aop-runtime/test/fixtures/modules/hello_cross_cut/HelloCrossCut.ts b/core/aop-runtime/test/fixtures/modules/hello_cross_cut/HelloCrossCut.ts index a729efe9..9a31ae90 100644 --- a/core/aop-runtime/test/fixtures/modules/hello_cross_cut/HelloCrossCut.ts +++ b/core/aop-runtime/test/fixtures/modules/hello_cross_cut/HelloCrossCut.ts @@ -18,7 +18,7 @@ export const crosscutAdviceParams = { @Advice({ accessLevel: AccessLevel.PUBLIC, }) -export class CrosscutAdvice implements IAdvice { +export class CrosscutAdvice implements IAdvice { @Inject() callTrace: CallTrace; diff --git a/core/aop-runtime/test/fixtures/modules/hello_point_cut/HellloPointCut.ts b/core/aop-runtime/test/fixtures/modules/hello_point_cut/HelloPointCut.ts similarity index 100% rename from core/aop-runtime/test/fixtures/modules/hello_point_cut/HellloPointCut.ts rename to core/aop-runtime/test/fixtures/modules/hello_point_cut/HelloPointCut.ts diff --git a/core/aop-runtime/test/fixtures/modules/hello_succeed/Hello.ts b/core/aop-runtime/test/fixtures/modules/hello_succeed/Hello.ts index b0f410fb..16b45a36 100644 --- a/core/aop-runtime/test/fixtures/modules/hello_succeed/Hello.ts +++ b/core/aop-runtime/test/fixtures/modules/hello_succeed/Hello.ts @@ -1,6 +1,6 @@ import { ContextProto } from '@eggjs/core-decorator'; import { Pointcut } from '@eggjs/aop-decorator'; -import { PointcutAdvice, pointcutAdviceParams } from '../hello_point_cut/HellloPointCut'; +import { PointcutAdvice, pointcutAdviceParams } from '../hello_point_cut/HelloPointCut'; @ContextProto() export class Hello { diff --git a/standalone/standalone/test/fixtures/aop-module/Hello.ts b/standalone/standalone/test/fixtures/aop-module/Hello.ts index 08d16d83..25aaaa8e 100644 --- a/standalone/standalone/test/fixtures/aop-module/Hello.ts +++ b/standalone/standalone/test/fixtures/aop-module/Hello.ts @@ -131,7 +131,7 @@ export const crosscutAdviceParams = { methodName: 'hello', }, { adviceParams: crosscutAdviceParams }) @Advice() -export class CrosscutAdvice implements IAdvice { +export class CrosscutAdvice implements IAdvice { @Inject() callTrace: CallTrace;