fix
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
|
||||
using namespace pdfengine;
|
||||
|
||||
// A simple visitor for testing that just records the sequence of visited commands.
|
||||
class MockVisitor : public CommandVisitor {
|
||||
public:
|
||||
std::vector<std::string> calls;
|
||||
@@ -26,7 +25,6 @@ TEST(DisplayListTest, RecordAndReplay) {
|
||||
|
||||
EXPECT_EQ(list.size(), 0);
|
||||
|
||||
// Record some commands
|
||||
list.saveState();
|
||||
list.setTransform(Matrix(2.0f, 0.0f, 0.0f, 2.0f, 0.0f, 0.0f));
|
||||
list.fillRect(10.0f, 10.0f, 100.0f, 50.0f);
|
||||
@@ -35,7 +33,6 @@ TEST(DisplayListTest, RecordAndReplay) {
|
||||
|
||||
EXPECT_EQ(list.size(), 5);
|
||||
|
||||
// Replay to the mock visitor
|
||||
MockVisitor visitor;
|
||||
list.replay(visitor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user