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,21 @@
import { Attributes } from '@opentelemetry/api';
export interface Hash<ValueType, HashCodeType> {
(value: ValueType): HashCodeType;
}
export declare class HashMap<KeyType, ValueType, HashCodeType> {
private _hash;
private _valueMap;
private _keyMap;
constructor(_hash: Hash<KeyType, HashCodeType>);
get(key: KeyType, hashCode?: HashCodeType): ValueType | undefined;
getOrDefault(key: KeyType, defaultFactory: () => ValueType): ValueType | undefined;
set(key: KeyType, value: ValueType, hashCode?: HashCodeType): void;
has(key: KeyType, hashCode?: HashCodeType): boolean;
keys(): IterableIterator<[KeyType, HashCodeType]>;
entries(): IterableIterator<[KeyType, ValueType, HashCodeType]>;
get size(): number;
}
export declare class AttributeHashMap<ValueType> extends HashMap<Attributes, ValueType, string> {
constructor();
}
//# sourceMappingURL=HashMap.d.ts.map