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