Home
last modified time | relevance | path

Searched defs:expect (Results 1 – 12 of 12) sorted by relevance

/napi_generator/src/intellij_plugin/ohosgen/src/test/java/gen/
DGenCppHFileTest2.java86 String expect = "\nvoid TestFunc(std::string name, int32 age);"; in genFuncList14() local
108 String expect = "\nvoid TestFunc(std::string name, int64 age);"; in genFuncList15() local
130 String expect = "\nvoid TestFunc(std::string name, size_t age);"; in genFuncList16() local
152 String expect = "\nvoid TestFunc(std::string name, std::string age);"; in genFuncList17() local
174 String expect = "\nvoid TestFunc(std::string name, std::string age);"; in genFuncList18() local
196 String expect = "\nvoid TestFunc(std::string name, std::array<int> age);"; in genFuncList19() local
218 String expect = "\nvoid TestFunc(std::string name, std::stack<int> age);"; in genFuncList20() local
240 String expect = "\nvoid TestFunc(std::string name, std::vector<int> age);"; in genFuncList21() local
262 String expect = "\nvoid TestFunc(std::string name, std::queue<int> age);"; in genFuncList22() local
284 String expect = "\nvoid TestFunc(std::string name, std::map<int> age);"; in genFuncList23() local
[all …]
DGenDtsFileTest2.java64 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList1() local
87 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList2() local
110 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList3() local
133 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList4() local
156 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList5() local
179 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList6() local
202 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList7() local
225 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList8() local
248 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList9() local
271 String expect = "\nexport type TestUnion = string | number;\n"; in genUnionList10() local
[all …]
DGenCHFileTest2.java111 String expect = "\nextends const int* num1 = 1;\n"; in getVarContent24() local
133 String expect = "\nextends const int* num1 = 1;\n"; in getVarContent25() local
155 String expect = "\nextends const int* num1 = 1;\n"; in getVarContent26() local
177 String expect = "\nextends const int* num1 = 1;\n"; in getVarContent27() local
199 String expect = "\nextends const int TestParam = 100;\n"; in getConstContent() local
221 String expect = "\nextends const int TestParam = 100;\n"; in genContent() local
256 String expect = "\nextends const int TestParam = 100;\n"; in genFile() local
287 String expect = "\nenum TestEnum {\n" + in genEnumList() local
341 String expect = genClassContentTest; in genClassList() local
363 String expect = "\nvoid TestFunc(char* name, int age);"; in genFuncList1() local
[all …]
DGenDtsFileTest.java122 String expect = "\nexport const TestParam : number = 100;\n"; in genContent() local
157 String expect = "\nexport const TestParam : number = 100;\n"; in genFile() local
184 String expect = "\nexport enum TestEnum {\n" + in genEnumList1() local
216 String expect = "\nexport enum Colors {\n" + in genEnumList2() local
276 String expect = genClassTestConent; in genClassList() local
299 String expect = "\nexport function TestFunc(name: string, age: number) : void;\n" + in genFuncList1() local
324 String expect = "\nexport function TestFunc(name: string, age: number) : void;\n" + in genFuncList2() local
349 String expect = "\nexport function TestFunc(name: string, age: number) : void;\n" + in genFuncList3() local
374 String expect = "\nexport function TestFunc(name: string, age: number) : void;\n" + in genFuncList4() local
399 String expect = "\nexport function TestFunc(name: string, age: number) : void;\n" + in genFuncList5() local
[all …]
DGenAkiCppFileTest2.java174 String expect = "\nextends const long long num1 = 1;\n"; in getVarContent10() local
196 String expect = "\nextends const float num1 = 1;\n"; in getVarContent11() local
218 String expect = "\nextends const double num1 = 1;\n"; in getVarContent12() local
240 String expect = "\nextends const uint8 num1 = 1;\n"; in getVarContent13() local
262 String expect = "\nextends const uint16 num1 = 1;\n"; in getVarContent14() local
284 String expect = "\nextends const uint32 num1 = 1;\n"; in getVarContent15() local
306 String expect = "\nextends const uint64 num1 = 1;\n"; in getVarContent16() local
328 String expect = "\nextends const int8 num1 = 1;\n"; in getVarContent17() local
350 String expect = "\nextends const int16 num1 = 1;\n"; in getVarContent18() local
372 String expect = "\nextends const int32 num1 = 1;\n"; in getVarContent19() local
[all …]
DGenAkiCppFileTest3.java132 String expect = structListContent2; in genStructList1() local
177 String expect = structListContent1; in genStructList2() local
205 String expect = "\nunion TestUnion{\n" + in genUnionList() local
230 String expect = "\nextends const int TestParam = 100;\n"; in genVarList1() local
252 String expect = "\nextends const int TestParam = 100;\n"; in genVarList2() local
274 String expect = "\nextends const long TestParam = 100;\n"; in genVarList3() local
296 String expect = "\nextends const short TestParam = 100;\n"; in genVarList4() local
318 String expect = "\nextends const long long TestParam = 100;\n"; in genVarList5() local
340 String expect = "\nextends const float TestParam = 100;\n"; in genVarList6() local
362 String expect = "\nextends const double TestParam = 100;\n"; in genVarList7() local
[all …]
DGenCHFileTest.java136 String expect = "\nenum TestEnum {\n" + in getEnumContent1() local
168 String expect = "\nenum Colors {\n" + in getEnumContent2() local
201 String expect = "\nenum Colors {\n" + in getEnumContent3() local
247 String expect = "\nclass TestClass {\n" + in getClassContent1() local
299 String expect = "\nclass TestClass : public IPerson {\n" + in getClassContent2() local
357 String expect = "\nclass Employee : public Person {\n" + in getClassContent3() local
392 String expect = "\nclass myClass {\n" + in getClassContent4() local
439 String expect = "\ntemplate <typename T, typename U> class KeyValuePair {\n" + in getClassContent5() local
485 String expect = "\ntemplate <typename T, typename U> class kvProcessor : " + in getClassContent6() local
515 String expect = "\nclass Shape {\n" + in getClassContent7() local
[all …]
DGenCppHFileTest.java86 String expect = "\nenum TestEnum {\n" + in getEnumContent1() local
118 String expect = "\nenum Colors {\n" + in getEnumContent2() local
151 String expect = "\nenum Colors {\n" + in getEnumContent3() local
197 String expect = "\nclass TestClass {\n" + in getClassContent1() local
249 String expect = "\nclass TestClass : public IPerson {\n" + in getClassContent2() local
307 String expect = "\nclass Employee : public Person {\n" + in getClassContent3() local
342 String expect = "\nclass myClass {\n" + in getClassContent4() local
389 String expect = "\ntemplate <typename T, typename U> class KeyValuePair {\n" + in getClassContent5() local
435 String expect = "\ntemplate <typename T, typename U> class kvProcessor : " + in getClassContent6() local
465 String expect = "\nclass Shape {\n" + in getClassContent7() local
[all …]
DGenAkiCppFileTest1.java144 String expect = "\nenum TestEnum {\n" + in getEnumContent1() local
181 String expect = "\nenum Colors {\n" + in getEnumContent2() local
220 String expect = "\nenum Colors {\n" + in getEnumContent3() local
269 String expect = "\nenum TestEnum {\n" + in getEnumContent4() local
323 String expect = "\nclass TestClass {\n" + in getClassContent1() local
383 String expect = classContentExpect2; in getClassContent2() local
435 String expect = classContentExpect3; in getClassContent3() local
464 String expect = "\nclass myClass {\n" + in getClassContent4() local
517 String expect = "\ntemplate <typename T, typename U> class KeyValuePair {\n" + in getClassContent5() local
571 String expect = "\ntemplate <typename T, typename U> class kvProcessor : " + in getClassContent6() local
[all …]
DGenNapiCppFileTest3.java2288 String expect = testFuncContent1; in getFuncContent1() local
2314 String expect = testFuncContent2; in getFuncContent2() local
2344 String expect = testFuncContent3; in getFuncContent3() local
2370 String expect = testFuncContent4; in getFuncContent4() local
2396 String expect = testFuncContent5; in getFuncContent5() local
2425 String expect = testFuncContent6; in getFuncContent6() local
2459 String expect = testFuncContent7; in getFuncContent7() local
2495 String expect = testStructContent1; in getStructContent1() local
2532 String expect = testStructContent2; in getStructContent2() local
2568 String expect = testStructContent3; in getStructContent3() local
[all …]
DGenNapiCppFileTest2.java874 String expect = "\nunion TestUnion{\n" + in getUnionContent1() local
902 String expect = "\ntemplate <typename T, typename U> union TestUnion{\n" + in getUnionContent2() local
927 String expect = testGenContent; in genContent() local
962 String expect = testGenFile; in genFile() local
993 String expect = "\nenum TestEnum {\n" + in genEnumList() local
1059 String expect = classContTest1; in genClassList() local
1081 String expect = testGenFuncList; in genFuncList() local
1117 String expect = testGenStructList; in genStructList() local
1145 String expect = "\nunion TestUnion{\n" + in genUnionList() local
1170 String expect = testGenVarList; in genVarList() local
DGenNapiCppFileTest.java1128 String expect = "\nenum TestEnum {\n" + in getEnumContent1() local
1180 String expect = "\nenum Colors {\n" + in getEnumContent2() local
1233 String expect = enumContTest3; in getEnumContent3() local
1269 String expect = classContTest1; in getClassContent1() local
1317 String expect = classContTest2; in getClassContent2() local
1369 String expect = classContTest3; in getClassContent3() local
1398 String expect = classContTest4; in getClassContent4() local
1443 String expect = classContTest5; in getClassContent5() local
1485 String expect = classContTest6; in getClassContent6() local
1512 String expect = classContTest7; in getClassContent7() local