Name Description Size Coverage
compare.ts Compares two queries for their ordering (which is used to build the tree). See src/unittests/query_compare.spec.ts for examples. 3528 -
encode_selectively.ts Encodes a stringified TestQuery so that it can be placed in a `?q=` parameter in a URL. `encodeURIComponent` encodes in accordance with `application/x-www-form-urlencoded`, but URLs don't actually have to be as strict as HTML form encoding (we interpret this purely from JavaScript). So we encode the component, then selectively convert some %-encoded escape codes back to their original form for readability/copyability. 1147 -
json_param_value.ts Like stringifyParamValue but sorts dictionaries by key, for hashing. 3675 -
parseQuery.ts converts foo/bar/src/webgpu/this/that/file.spec.ts to webgpu:this,that,file,* 6520 -
query.ts Represents a test query of some level. TestQuery types are immutable. 8128 -
separators.ts Separator between big parts: suite:file:test:case 418 -
stringify_params.ts An _approximately_ unique string representing a CaseParams value. 1512 -
validQueryPart.ts Applies to group parts, test parts, params keys. 105 -