mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Password NULL and empty
This commit is contained in:
@ -96,7 +96,7 @@ public:
|
||||
if (!bResult)
|
||||
{
|
||||
std::wstring wsPassword = L"123456";
|
||||
bResult = pdfFile->LoadFromFile(_wsSrcFile.empty() ? wsSrcFile : _wsSrcFile, L"", wsPassword, wsPassword);
|
||||
bResult = pdfFile->LoadFromFile(_wsSrcFile.empty() ? wsSrcFile : _wsSrcFile, L"", wsPassword.c_str(), wsPassword.c_str());
|
||||
}
|
||||
|
||||
ASSERT_TRUE(bResult);
|
||||
@ -273,7 +273,7 @@ TEST_F(CPdfFileTest, PdfBinToPng)
|
||||
|
||||
TEST_F(CPdfFileTest, PdfFromBin)
|
||||
{
|
||||
//GTEST_SKIP();
|
||||
GTEST_SKIP();
|
||||
|
||||
pdfFile->CreatePdf();
|
||||
EXPECT_HRESULT_SUCCEEDED(pdfFile->OnlineWordToPdfFromBinary(NSFile::GetProcessDirectory() + L"/pdf.bin", wsDstFile));
|
||||
@ -494,7 +494,7 @@ TEST_F(CPdfFileTest, EditPdf)
|
||||
|
||||
TEST_F(CPdfFileTest, EditPdfFromBase64)
|
||||
{
|
||||
GTEST_SKIP();
|
||||
//GTEST_SKIP();
|
||||
|
||||
NSFonts::NSApplicationFontStream::SetGlobalMemoryStorage(NSFonts::NSApplicationFontStream::CreateDefaultGlobalMemoryStorage());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user