Home
last modified time | relevance | path

Searched defs:texts (Results 1 – 25 of 28) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/test/unit/lsp/
Dget_compiler_options_diagnostics_test.cpp33 …ferences MockGetGlobalDiagnostics(std::vector<std::string> &files, std::vector<std::string> &texts) in MockGetGlobalDiagnostics()
48 …ferences MockGetOptionDiagnostics(std::vector<std::string> &files, std::vector<std::string> &texts) in MockGetOptionDiagnostics()
76 std::vector<std::string> texts = { in TEST_F() local
94 std::vector<std::string> texts = { in TEST_F() local
112 std::vector<std::string> texts = { in TEST_F() local
135 std::vector<std::string> texts = { in TEST_F() local
182 std::vector<std::string> texts = { in TEST_F() local
209 std::vector<std::string> texts = { in TEST_F() local
239 std::vector<std::string> texts = { in TEST_F() local
270 std::vector<std::string> texts = { in TEST_F() local
[all …]
Dorganize_imports_test.cpp32 std::vector<std::string> texts = { in TEST_F() local
61 std::vector<std::string> texts = { in TEST_F() local
91 std::vector<std::string> texts = { in TEST_F() local
118 std::vector<std::string> texts = { in TEST_F() local
145 std::vector<std::string> texts = { in TEST_F() local
173 std::vector<std::string> texts = { in TEST_F() local
Dget_safe_delete_info_test.cpp33 std::vector<std::string> texts = {R"(function a(): Number { return 1; } a())"}; in TEST_F() local
56 std::vector<std::string> texts = {R"(export const PI = 3.1415926;)"}; in TEST_F() local
74 std::vector<std::string> texts = {R"( in TEST_F() local
101 std::vector<std::string> texts = {R"( in TEST_F() local
127 std::vector<std::string> texts = {R"( in TEST_F() local
147 std::vector<std::string> texts = {R"(import { foo } from "./mod";)"}; in TEST_F() local
170 std::vector<std::string> texts = {R"( in TEST_F() local
193 std::vector<std::string> texts = {R"( in TEST_F() local
224 std::vector<std::string> texts = {R"( in TEST_F() local
Drefactors_convert_function_test.cpp35 std::vector<std::string> texts = {R"(const add = (x: number, y: number): number => { in TEST_F() local
58 std::vector<std::string> texts = {R"(function sub(a: number, b: number): number{ in TEST_F() local
80 std::vector<std::string> texts = {R"(const add = (x: number, y: number): number => { in TEST_F() local
102 std::vector<std::string> texts = {R"(const foo = a => { in TEST_F() local
125 std::vector<std::string> texts = {R"(function doSomething(a){} in TEST_F() local
146 std::vector<std::string> texts = {R"(const foo = (a,b,c) => a + 1;)"}; in TEST_F() local
167 std::vector<std::string> texts = {R"(const foo = () => //comment in TEST_F() local
189 std::vector<std::string> texts = {R"(function func() { in TEST_F() local
212 std::vector<std::string> texts = {R"(class AA { in TEST_F() local
236 std::vector<std::string> texts = {R"(const func = () => { in TEST_F() local
[all …]
Dget_completions.cpp67 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
89 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
111 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
136 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
165 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
206 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
247 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
288 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
315 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
338 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
[all …]
Drefactors_convert_template_test.cpp36 std::vector<std::string> texts = {R"(let a = /*1*/"\\0\\b\\f\\t\\r\\n" +text + "\\n"/*2*/;)"}; in TEST_F() local
60 std::vector<std::string> texts = {R"(let b = /*3*/"" + text + ""/*4*/;)"}; in TEST_F() local
82 std::vector<std::string> texts = {R"(let c = /*5*/'\$' + text + "\\\\/*6*/";)"}; in TEST_F() local
105 std::vector<std::string> texts = {R"(let d = /*7*/\'\$\' + text + \'\\\\\'/*8*/;)"}; in TEST_F() local
127 std::vector<std::string> texts = {R"(let e = /*9*/'\$\{' + text + "\}"/*10*/;)"}; in TEST_F() local
150 std::vector<std::string> texts = {R"(let f = /*11*/ \'\\\$\{\' + text + \'\}\'/*12*/;)"}; in TEST_F() local
171 std::vector<std::string> texts = {R"(let g = /*13*/'\\\\$ + text + "\\\\"/*14*/;)"}; in TEST_F() local
193 …std::vector<std::string> texts = {R"(let h = /*15*/"\\u0041\\u0061" + text + "\\0\\u0000"/*16*/;)"… in TEST_F() local
215 std::vector<std::string> texts = {R"(let i = /*17*/'\$\`' + text + "\`\\\\"/*18*/;)"}; in TEST_F() local
Dget_completions_1.cpp63 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
91 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
112 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
132 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
165 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
195 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
229 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
272 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
312 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
340 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
[all …]
Dget_definition_at_position_test.cpp29 std::vector<std::string> texts = {R"(export function A(a:number, b:number): number { in TEST_F() local
55 std::vector<std::string> texts = {R"( in TEST_F() local
96 std::vector<std::string> texts = {R"(export function A(a:number, b:number): number { in TEST_F() local
122 std::vector<std::string> texts = {R"(export class A { in TEST_F() local
150 std::vector<std::string> texts = {R"(export enum A { in TEST_F() local
176 std::vector<std::string> texts = {R"(export class A { in TEST_F() local
205 std::vector<std::string> texts = {R"(export let a = 1;)", in TEST_F() local
229 std::vector<std::string> texts = {R"(export interface I {})", in TEST_F() local
262 std::vector<std::string> texts = {R"(export class Foo { in TEST_F() local
301 std::vector<std::string> texts = {R"(const task = new taskpool.Task(()=>{});)"}; in TEST_F() local
Drefactors_convert_chain_test.cpp36 …std::vector<std::string> texts = {R"(let a = {b: ()=>{return () =>{c:0}}}/*1*/a&&a.b&&a.b()().c/*2… in TEST_F() local
60 std::vector<std::string> texts = {R"(interface A { baz?:string | null; } in TEST_F() local
88 std::vector<std::string> texts = {R"(interface A { baz: string } in TEST_F() local
Dfind_safe_delete_location_test.cpp30 std::vector<std::string> texts = {R"(function foo() {} foo(); foo();)"}; in TEST_F() local
54 std::vector<std::string> texts = {R"(let x = 1;)"}; in TEST_F() local
78 std::vector<std::string> texts = {R"(let x: number = 1;)"}; in TEST_F() local
Drefactors_convert_export_test.cpp36 std::vector<std::string> texts = {R"(export default function add(a: number, b: number): number { in TEST_F() local
59 std::vector<std::string> texts = {R"(export default class User { in TEST_F() local
82 std::vector<std::string> texts = {R"(export function add(a: number, b: number): number { in TEST_F() local
Dget_span_of_enclosing_comment_test.cpp27 …std::vector<std::string> texts = {"function A(a:number, b:number) {\n return a + b; // add\n}\nA… in TEST_F() local
47 …std::vector<std::string> texts = {"function A(a:number, b:number) {\n return a + b; // add\n}\nA… in TEST_F() local
69 …std::vector<std::string> texts = {"function A(a:number, b:number) {\n return a + b; /* add */\n}… in TEST_F() local
Disolated_declaration.cpp27 std::vector<std::string> texts = {R"(export class C { in TEST_F() local
73 std::vector<std::string> texts = {R"(export const arr = [1, 2, 3]; in TEST_F() local
112 std::vector<std::string> texts = {R"(export class C { in TEST_F() local
152 std::vector<std::string> texts = {R"(export const arr = [1, 2, 3]; in TEST_F() local
193 std::vector<std::string> texts = {R"(export const arr = [1, 2, 3]; in TEST_F() local
Ddocument_highlights.cpp26 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
63 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
115 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
160 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
210 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
255 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
292 std::vector<std::string> texts = {R"delimiter( in TEST_F() local
Dget_references_at_position_test.cpp68 std::vector<std::string> texts = {R"(let a = 1;;)"}; in TEST_F() local
89 std::vector<std::string> texts = {R"(export let a = 1; in TEST_F() local
123 … std::vector<std::string> texts = {R"(export function A(){};)", R"(import {A} from './references4'; in TEST_F() local
Drefactors_convert_import_test.cpp36 std::vector<std::string> texts = {R"(import { add, subtract, multiply } from './math'; in TEST_F() local
59 std::vector<std::string> texts = {R"(import * as math from './math'; in TEST_F() local
Dget_file_references_test.cpp55 std::vector<std::string> texts = { in TEST_F() local
85 std::vector<std::string> texts = { in TEST_F() local
Dget_file_references_impl_test.cpp33 std::vector<std::string> texts = { in TEST_F() local
82 std::vector<std::string> texts = { in TEST_F() local
131 std::vector<std::string> texts = {R"(import { PI } from "std/math"; in TEST_F() local
Dcreate_type_help_items_test.cpp43 std::vector<std::string> texts = {classTestText}; in TEST_F() local
70 std::vector<std::string> texts = {interfaceTestText}; in TEST_F() local
95 std::vector<std::string> texts = {genericTypeTestText}; in TEST_F() local
133 std::vector<std::string> texts = {classTestText}; in TEST_F() local
Dsignature_help_items_test.cpp65 std::vector<std::string> texts = {fileText}; in TEST_F() local
95 std::vector<std::string> texts = {fileText}; in TEST_F() local
130 std::vector<std::string> texts = {fileText}; in TEST_F() local
170 std::vector<std::string> texts = {fileText}; in TEST_F() local
219 std::vector<std::string> texts = {fileText}; in TEST_F() local
Dget_definition_and_bound_span_test.cpp43 std::vector<std::string> texts = {fileContent}; in TEST_F() local
65 std::vector<std::string> texts = { in TEST_F() local
Dget_constructor_test.cpp108 std::vector<std::string> texts = { in TEST_F() local
140 std::vector<std::string> texts = { in TEST_F() local
170 std::vector<std::string> texts = { in TEST_F() local
Dlsp_api_test.h46 …:vector<std::string> CreateTempFile(std::vector<std::string> files, std::vector<std::string> texts) in CreateTempFile()
Dlsp_rename_test.cpp255 std::vector<std::string> texts = { in TEST_F() local
322 std::vector<std::string> texts = {R"(import { PI } from "std/math"; in TEST_F() local
351 std::vector<std::string> texts = {R"(const s = "std/math/index";)"}; in TEST_F() local
378 std::vector<std::string> texts = {R"(const s = "std/math.ets";)"}; in TEST_F() local
405 std::vector<std::string> texts = {R"(const s = "std/math/index.ets";)"}; in TEST_F() local
432 std::vector<std::string> texts = {R"(import { PI } from "std/math"; console.log(PI);)"}; in TEST_F() local
/arkcompiler/ets_frontend/ets2panda/test/unit/lsp/code_fix/
Dui_plugin_suggest.cpp51 std::vector<std::string> texts = {R"delimiter(function main() {})delimiter"}; in TEST_F() local
98 std::vector<std::string> texts = {R"delimiter(function main() {})delimiter"}; in TEST_F() local
133 std::vector<std::string> texts = {R"delimiter(function main() {})delimiter"}; in TEST_F() local

12