Update test framework: fix run_tests.py to support all test files, add auto-import-check for test files

This commit is contained in:
qiaoxinjiu
2026-05-09 15:11:30 +08:00
parent eb053a347f
commit eaba8328da
21739 changed files with 2236758 additions and 719 deletions

View File

@@ -0,0 +1,20 @@
import { Context, TextMapGetter, TextMapPropagator, TextMapSetter } from '@opentelemetry/api';
import { B3PropagatorConfig } from './types';
/**
* Propagator that extracts B3 context in both single and multi-header variants,
* with configurable injection format defaulting to B3 single-header. Due to
* the asymmetry in injection and extraction formats this is not suitable to
* be implemented as a composite propagator.
* Based on: https://github.com/openzipkin/b3-propagation
*/
export declare class B3Propagator implements TextMapPropagator {
private readonly _b3MultiPropagator;
private readonly _b3SinglePropagator;
private readonly _inject;
readonly _fields: string[];
constructor(config?: B3PropagatorConfig);
inject(context: Context, carrier: unknown, setter: TextMapSetter): void;
extract(context: Context, carrier: unknown, getter: TextMapGetter): Context;
fields(): string[];
}
//# sourceMappingURL=B3Propagator.d.ts.map