Home
last modified time | relevance | path

Searched refs:outputFilePath (Results 1 – 8 of 8) sorted by relevance

/interface/sdk-js/build-tools/permissions_converter/
Dconvert.js73 const convertJsonToDTS = (permissions, outputFilePath) => { argument
74 if (fs.existsSync(outputFilePath)) {
75 fs.unlinkSync(outputFilePath);
77 fs.appendFileSync(outputFilePath, copyRight, 'utf8');
78 fs.appendFileSync(outputFilePath, label, 'utf8');
79 fs.appendFileSync(outputFilePath, typeHead, 'utf8');
82 fs.appendFileSync(outputFilePath, commentHead, 'utf8');
85 fs.appendFileSync(outputFilePath, since, 'utf8');
89 fs.appendFileSync(outputFilePath, deprecated, 'utf8');
91 fs.appendFileSync(outputFilePath, commentTail, 'utf8');
[all …]
/interface/sdk-js/build-tools/dts_parser/test/testCase/
DrunTest.ts38 const outputFilePath: string = path.join(outputFileDir, `${baseName}.json`); constant
40 …it('\ntestFile#' + testFilePath + '\noutput:' + outputFilePath + '\nexpect:' + expectFilePath, fun…
41 if (fs.existsSync(outputFilePath)) {
42 fs.rmdirSync(outputFilePath, { recursive: true });
48 fs.writeFileSync(outputFilePath, outputContent, StringConstant.UTF8);
66 const outputFilePath: string = path.join(outputFileDir, `${baseName}.json`); constant
68 …it('\ntestFile#' + testFilePath + '\noutput:' + outputFilePath + '\nexpect:' + expectFilePath, fun…
69 if (fs.existsSync(outputFilePath)) {
70 fs.rmdirSync(outputFilePath, { recursive: true });
76 fs.writeFileSync(outputFilePath, outputContent, StringConstant.UTF8);
[all …]
/interface/sdk-js/build-tools/jsdoc_format_plugin/test/testCase/
DrunTest.ts29 const outputFilePath = path.join(outputFileDir, testFileName); constant
35 if (fs.existsSync(outputFilePath)) {
36 fs.rmSync(outputFilePath);
43 inputParams.push(outputFilePath);
49 … const outputFileContent: string = fs.readFileSync(outputFilePath, 'utf-8').replace(/\r\n/g, '\n');
81 const outputFilePath = path.join(outFileDir, testFileName); constant
84 … const outputFileContent: string = fs.readFileSync(outputFilePath, 'utf-8').replace(/\r\n/g, '\n');
100 const outputFilePath = path.join(outFileDir, testFileName); constant
103 if (fs.existsSync(outputFilePath)) {
104 fs.rmSync(outputFilePath);
[all …]
/interface/sdk-js/build-tools/api_diff/test/testCase/
Dtest.js25 const outputFilePath = path.join(__dirname, '..', 'output');
26 if (!fs.existsSync(outputFilePath)) {
27 fs.mkdirSync(outputFilePath);
39 "output": outputFilePath
/interface/sdk-js/build-tools/api_check_plugin/autoTest/testCase/
Dtest.js26 const outputFilePath = path.join(__dirname, '..', 'output');
27 if (!fs.existsSync(outputFilePath)) {
28 fs.mkdirSync(outputFilePath);
40 … const resultFilePath = path.join(outputFilePath, `output_${fileName.replace(/.d.ts/g, '.txt')}`);
/interface/sdk-js/build-tools/collect_application_api/test/testCase/
Dtest.js42 const outputFilePath = path.join(outputDir, outputFileName[0]);
43 const outputFileContent = fs.readFileSync(outputFilePath, 'utf-8').replace(/\n|\r|\s/g, '');
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
DcoreImpls.ts104 if (inputParam.outputFilePath) {
105 return inputParam.outputFilePath;
113 if (inputParam.outputFilePath) {
114 return inputParam.outputFilePath;
124 if (inputParam.outputFilePath) {
125 const dirName = path.dirname(inputParam.outputFilePath);
807 outputFilePath: string | undefined; property in InputParameter
831 this.outputFilePath = options.output;
841 this.outputFilePath = this.outputFilePath ? path.resolve(this.outputFilePath) : undefined;
843 if (this.outputFilePath && (this.outputFilePath === path.basename(this.outputFilePath))) {
[all …]
Dentry.ts62 inputParam.outputFilePath!,