Lines Matching full:prefix
117 it('Tester: <get prefix test.> case for FileUtils#getPrefix', function () {
119 let prefix = 'test/utils/'; variable
121 assert.strictEqual(FileUtils.getPrefix(path), prefix);
124 it('Tester: <get windows prefix test.> case for FileUtils#getPrefix', function () {
126 let prefix = 'D:\\HuaweiApp\\ohsdk\\ets\\3.2.7.5\\'; variable
128 assert.strictEqual(FileUtils.getPrefix(path), prefix);
131 it('Tester: <get no prefix test.> case for FileUtils#getPrefix', function () {
133 let prefix = undefined; variable
135 assert.strictEqual(FileUtils.getPrefix(path), prefix);
139 …it('Tester: <get path without prefix no prefix test.> case for FileUtils#getPathWithoutPrefix', fu…
141 let prefix = 'D:\\HuaweiApp'; variable
143 assert.strictEqual(FileUtils.getPathWithoutPrefix(path, prefix), path);
146 …it('Tester: <get path without prefix contain prefix test.> case for FileUtils#getPathWithoutPrefix…
148 let prefix = 'D:\\HuaweiApp'; variable
150 assert.strictEqual(FileUtils.getPathWithoutPrefix(path, prefix), '\\ohsdk\\ets\\3.2.7.5');
153 …it('Tester: <get path without prefix path and prefix equal test.> case for FileUtils#getPathWithou…
155 let prefix = 'D:\\HuaweiApp\\ohsdk\\ets\\3.2.7.5'; variable
157 assert.strictEqual(FileUtils.getPathWithoutPrefix(path, prefix), '');