mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix test
This commit is contained in:
@ -449,8 +449,6 @@ TEST_F(CPdfFileTest, EditPdfFromBase64)
|
||||
LoadFromFile();
|
||||
ASSERT_TRUE(pdfFile->EditPdf(wsDstFile));
|
||||
|
||||
pdfFile->SetEditType(1);
|
||||
|
||||
// чтение и конвертации бинарника
|
||||
NSFile::CFileBinary oFile;
|
||||
ASSERT_TRUE(oFile.OpenFile(NSFile::GetProcessDirectory() + L"/base64.txt"));
|
||||
@ -484,17 +482,6 @@ TEST_F(CPdfFileTest, EditPdfFromBase64)
|
||||
RELEASEARRAYOBJECTS(pBuffer);
|
||||
RELEASEARRAYOBJECTS(pFileContent);
|
||||
|
||||
//pdfFile->Redact({ 136.145, 6.82016, 250.691, 293.838 }); // test1
|
||||
pdfFile->Redact({ 383.565, 343.134, 397.965, 773.827, 88.364, 316.298, 214.037, 773.827 }); // test2
|
||||
/*
|
||||
pdfFile->Redact({ 34.6911, 659.381, 145.964, 687.527,
|
||||
47.1275, 569.053, 116.51, 635.163,
|
||||
282.11, 397.562, 362.62, 542.217,
|
||||
79.8549, 228.034, 193.092, 276.47,
|
||||
349.529, 187.452, 416.947, 267.961,
|
||||
471.929, 292.834, 586.475, 375.307});
|
||||
*/
|
||||
|
||||
pdfFile->Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user