~azzar1/snapd-glib-fork/trunk

« back to all changes in this revision

Viewing changes to tests/test-qt.cpp

  • Committer: Robert Ancell
  • Date: 2017-04-05 02:48:15 UTC
  • Revision ID: git-v1:e3768b0620b4e40d80354a0ed12cb8e48c15488c
Get the kernel-version from the system information

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    infoRequest->runSync ();
32
32
    g_assert_cmpint (infoRequest->error (), ==, QSnapdRequest::NoError);
33
33
    QScopedPointer<QSnapdSystemInformation> systemInformation (infoRequest->systemInformation ());
 
34
    g_assert (systemInformation->kernelVersion () == "KERNEL-VERSION");
34
35
    g_assert (systemInformation->osId () == "OS-ID");
35
36
    g_assert (systemInformation->osVersion () == "OS-VERSION");
36
37
    g_assert (systemInformation->series () == "SERIES");