Home
last modified time | relevance | path

Searched refs:Ide (Results 1 - 15 of 15) sorted by relevance

/ide/tools/previewer/test/unittest/jsapp/
H A DStageContextTest.cpp116 OHOS::Ide::StageContext::GetInstance().ReadFileContents("abc"); in TEST_F()
119 OHOS::Ide::StageContext::GetInstance().ReadFileContents(testFile); in TEST_F()
131 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath("aa"); in TEST_F()
132 EXPECT_EQ(OHOS::Ide::StageContext::GetInstance().loaderJsonPath, "aa"); in TEST_F()
133 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(testFile); in TEST_F()
134 EXPECT_EQ(OHOS::Ide::StageContext::GetInstance().loaderJsonPath, testFile); in TEST_F()
139 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(testFileError); in TEST_F()
140 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST_F()
141 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(testfileErrorMember); in TEST_F()
142 OHOS::Ide in TEST_F()
[all...]
/ide/tools/previewer/test/fuzztest/jsonparse_fuzzer/
H A DGetModulePathMapFuzzer.cpp71 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(""); in TEST()
72 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST()
73 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(filePath); in TEST()
74 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST()
76 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST()
78 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST()
H A DGetHspAceModuleBuildFuzzer.cpp46 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild("aaa"); in TEST()
48 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild(filePath); in TEST()
50 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild(filePath); in TEST()
59 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild(filePath); in TEST()
H A DGetModuleBufferFromHspFuzzer.cpp44 OHOS::Ide::StageContext::GetInstance().GetModuleBufferFromHsp("aaa", "bbb"); in TEST()
45 OHOS::Ide::StageContext::GetInstance().GetModuleBufferFromHsp(newFileName, "bbb.txt"); in TEST()
47 OHOS::Ide::StageContext::GetInstance().GetModuleBufferFromHsp(newFileName, "ets/modules.abc"); in TEST()
H A DParseMockJsonFileFuzzer.cpp50 OHOS::Ide::StageContext::GetInstance().ParseMockJsonFile("aaa"); in TEST()
51 OHOS::Ide::StageContext::GetInstance().ParseMockJsonFile(filePath); in TEST()
53 OHOS::Ide::StageContext::GetInstance().ParseMockJsonFile(filePath); in TEST()
H A DReadFileContentsFuzzer.cpp69 OHOS::Ide::StageContext::GetInstance().ReadFileContents("aaa"); in TEST()
71 OHOS::Ide::StageContext::GetInstance().ReadFileContents(filePath); in TEST()
73 OHOS::Ide::StageContext::GetInstance().ReadFileContents(filePath); in TEST()
H A DSetPkgContextInfoFuzzer.cpp101 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST()
103 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST()
105 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST()
118 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST()
/ide/tools/previewer/util/
H A DNativeFileSystem.h21 namespace OHOS::Ide { namespace in OHOS
H A DFileSystem.cpp110 return OHOS::Ide::NativeFileSystem::FindSubfolderByName(parentFolderPath, subfolderName); in FindSubfolderByName()
/ide/tools/previewer/util/unix/
H A DNativeFileSystem.cpp21 namespace OHOS::Ide { namespace in OHOS
/ide/tools/previewer/test/unittest/util/
H A DNativeFileSystemTest.cpp59 std::string filePath = OHOS::Ide::NativeFileSystem::FindSubfolderByName(currDir, "mytestdirname"); in TEST_F()
/ide/tools/previewer/util/windows/
H A DNativeFileSystem.cpp22 namespace OHOS::Ide { namespace in OHOS
/ide/tools/previewer/jsapp/rich/
H A DJsAppImpl.cpp205 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(commandInfo.loaderJsonPath); in RunJsApp()
206 OHOS::Ide::StageContext::GetInstance().SetHosSdkPath(commandInfo.containerSdkPath); in RunJsApp()
207 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in RunJsApp()
235 auto data = OHOS::Ide::StageContext::GetInstance().GetModuleBuffer(inputPath); in RunNormalAbility()
286 auto data = Ide::StageContext::GetInstance().GetModuleBuffer(inputPath); in RunDebugAbility()
324 std::optional<std::vector<uint8_t>> ctx = OHOS::Ide::StageContext::GetInstance().ReadFileContents(path); in SetSimulatorParams()
903 simulator->SetMockList(Ide::StageContext::GetInstance().ParseMockJsonFile(filePath)); in SetMockJsonInfo()
906 ability->SetMockModuleList(Ide::StageContext::GetInstance().ParseMockJsonFile(filePath)); in SetMockJsonInfo()
912 Ide::StageContext::GetInstance().SetPkgContextInfo(aceRunArgs.pkgContextInfoJsonStringMap, in SetPkgContextInfo()
1102 OHOS::Ide in StopAbility()
[all...]
/ide/tools/previewer/jsapp/rich/external/
H A DStageContext.h28 namespace OHOS::Ide { namespace in OHOS
H A DStageContext.cpp28 namespace OHOS::Ide { namespace in OHOS

Completed in 6 milliseconds