~kdub/+junk/no-native

« back to all changes in this revision

Viewing changes to tests/unit-tests/graphics/mesa/test_display.cpp

  • Committer: Kevin DuBois
  • Date: 2014-11-19 19:30:10 UTC
  • mfrom: (2060.1.11 native-ipc-operations)
  • Revision ID: kevin.dubois@canonical.com-20141119193010-0va4n207jzx32brt
merge base branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
struct MockLogger : public ml::Logger
65
65
{
66
66
    MOCK_METHOD3(log,
67
 
                 void(ml::Logger::Severity, const std::string&, const std::string&));
 
67
                 void(ml::Severity, const std::string&, const std::string&));
68
68
 
69
69
    ~MockLogger() noexcept(true) {}
70
70
};
522
522
 
523
523
    EXPECT_CALL(
524
524
        *logger,
525
 
        log(Eq(ml::Logger::informational),
 
525
        log(Eq(ml::Severity::informational),
526
526
            StrEq("Successfully setup native resources."),
527
527
            StrEq("graphics"))).Times(Exactly(1));
528
528
 
538
538
 
539
539
    EXPECT_CALL(
540
540
        *logger,
541
 
        log(Eq(ml::Logger::informational),
 
541
        log(Eq(ml::Severity::informational),
542
542
            StrEq("Successfully made egl context current on construction."),
543
543
            StrEq("graphics"))).Times(Exactly(1));
544
544
 
554
554
 
555
555
    EXPECT_CALL(
556
556
        *logger,
557
 
        log(Eq(ml::Logger::informational),
 
557
        log(Eq(ml::Severity::informational),
558
558
            StrEq("Successfully performed egl buffer swap on construction."),
559
559
            StrEq("graphics"))).Times(Exactly(1));
560
560
 
570
570
 
571
571
    EXPECT_CALL(
572
572
        *logger,
573
 
        log(Eq(ml::Logger::informational),
 
573
        log(Eq(ml::Severity::informational),
574
574
            StrEq("Successfully performed drm mode setup on construction."),
575
575
            StrEq("graphics"))).Times(Exactly(1));
576
576