Home
last modified time | relevance | path

Searched refs:DOWNLOAD_FILENAME_REGEX (Results 1 – 6 of 6) sorted by relevance

/development/tools/winscope/src/common/
Dfile_utils_test.ts69 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('Winscope2')).toBeTrue();
70 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win_scope')).toBeTrue();
71 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win-scope')).toBeTrue();
72 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win.scope')).toBeTrue();
73 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('win.sc.ope')).toBeTrue();
77 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('w?n$cope')).toBeFalse();
78 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('winscope.')).toBeFalse();
79 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('w..scope')).toBeFalse();
80 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('wins--pe')).toBeFalse();
81 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test('wi##cope')).toBeFalse();
Dfile_utils.ts24 static readonly DOWNLOAD_FILENAME_REGEX = /^\w+?((|#|-|\.)\w+)+$/; property in FileUtils
/development/tools/winscope/src/app/
Dtrace_pipeline.ts274 if (FileUtils.DOWNLOAD_FILENAME_REGEX.test(archiveFilenameNoIllegalChars)) {
Dtrace_pipeline_test.ts125 expect(FileUtils.DOWNLOAD_FILENAME_REGEX.test(downloadFilename)).toBeTrue();
/development/tools/winscope/src/app/components/
Dapp_component.ts348 Validators.pattern(FileUtils.DOWNLOAD_FILENAME_REGEX),
Dapp_component_test.ts127 Validators.pattern(FileUtils.DOWNLOAD_FILENAME_REGEX),