Lines Matching refs:assert
18 import {assert} from 'chai';
24 assert.strictEqual(FileUtils.readFile(path), undefined);
29 assert.strictEqual(FileUtils.readFile(path), 'hello world!');
36 assert.strictEqual(obj?.mCompact, true);
42 assert.strictEqual(obj, undefined);
48 assert.strictEqual(obj, undefined);
54 assert.strictEqual(FileUtils.getFileName(path), undefined);
57 assert.strictEqual(FileUtils.getFileName(path), undefined);
62 assert.strictEqual(FileUtils.getFileName(path), 'user_profile.json');
67 assert.strictEqual(FileUtils.getFileName(path), 'user_profile.json');
72 assert.strictEqual(FileUtils.getFileName(path), 'user_profile.json');
78 assert.strictEqual(FileUtils.getFileExtension(path), undefined);
81 assert.strictEqual(FileUtils.getFileExtension(path), undefined);
86 assert.strictEqual(FileUtils.getFileExtension(path), undefined);
91 assert.strictEqual(FileUtils.getFileExtension(path), 'conf');
96 assert.strictEqual(FileUtils.getFileExtension(path), 'json');
101 assert.strictEqual(FileUtils.getFileExtension(path), '');
111 assert.strictEqual(fileContent, content);
119 assert.strictEqual(FileUtils.getPrefix(path), prefix);
126 assert.strictEqual(FileUtils.getPrefix(path), prefix);
133 assert.strictEqual(FileUtils.getPrefix(path), prefix);
141 assert.strictEqual(FileUtils.getPathWithoutPrefix(path, prefix), path);
148 assert.strictEqual(FileUtils.getPathWithoutPrefix(path, prefix), '\\ohsdk\\ets\\3.2.7.5');
155 assert.strictEqual(FileUtils.getPathWithoutPrefix(path, prefix), '');