mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-06-30 18:14:51 +00:00
[MNT-25089] another text file added to compare compatibility
This commit is contained in:
parent
228bcd008c
commit
dbad70830b
@ -75,7 +75,7 @@ public class MiscTest extends AbstractBaseTest
|
||||
expectedOptions = null;
|
||||
expectedSourceSuffix = null;
|
||||
sourceFileBytes = readTestFile(sourceExtension);
|
||||
expectedTargetFileBytes = Files.readAllBytes(getTestFile("quick2." + targetExtension, true).toPath());
|
||||
expectedTargetFileBytes = Files.readAllBytes(getTestFile("quick3." + targetExtension, true).toPath());
|
||||
sourceFile = new MockMultipartFile("file", "quick." + sourceExtension, sourceMimetype, sourceFileBytes);
|
||||
}
|
||||
|
||||
@ -297,7 +297,7 @@ public class MiscTest extends AbstractBaseTest
|
||||
"<p>" + TEXT_P2 + "</p>" + NEWLINE +
|
||||
"<p>" + TEXT_P3 + "</p>" + NEWLINE;
|
||||
String partC = "</body></html>";
|
||||
final String expected = TITLE + NEWLINE + TEXT_P1 + NEWLINE + TEXT_P2 + NEWLINE + TEXT_P3 + NEWLINE;
|
||||
final String expected = TITLE +" "+ TEXT_P1 +" "+TEXT_P2 +" "+ TEXT_P3;
|
||||
|
||||
MvcResult result = sendRequest("html",
|
||||
"UTF-8",
|
||||
|
2
engines/misc/src/test/resources/quick3.txt
Normal file
2
engines/misc/src/test/resources/quick3.txt
Normal file
@ -0,0 +1,2 @@
|
||||
The quick brown fox jumps over the lazy dog
|
||||
The quick brown fox jumps over the lazy dog
|
Loading…
x
Reference in New Issue
Block a user