~ubuntu-branches/ubuntu/natty/upower/natty

« back to all changes in this revision

Viewing changes to src/up-qos.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-07-12 14:43:12 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100712144312-mk9w8zlsw2cztdb7
Tags: 0.9.5-1
* New upstream release:
  - Dynamic testing for enough hibernate swap. (LP: #599352)
  - Port UPower to libusb1 to avoid unfixable crashes. (LP: #522827)
* debian/rules: Build a PO template during package build, for translation
  systems. (LP: #538321)
* debian/control: Switch libusb-dev build dependency to libusb-1.0-0-dev,
  and add libimobiledevice-dev to support the new backend.
* debian/control: Bump Standards-Version to 3.9.0; no changes necessary.
* Drop transitional devicekit-power-doc package. It's been in testing long
  enough, and we do not want to carry it into the squeeze release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
627
627
        return UP_QOS (qos);
628
628
}
629
629
 
630
 
/***************************************************************************
631
 
 ***                          MAKE CHECK TESTS                           ***
632
 
 ***************************************************************************/
633
 
#ifdef EGG_TEST
634
 
#include "egg-test.h"
635
 
 
636
 
void
637
 
up_qos_test (gpointer user_data)
638
 
{
639
 
        EggTest *test = (EggTest *) user_data;
640
 
        UpQos *qos;
641
 
 
642
 
        if (!egg_test_start (test, "UpQos"))
643
 
                return;
644
 
 
645
 
        /************************************************************/
646
 
        egg_test_title (test, "get instance");
647
 
        qos = up_qos_new ();
648
 
        egg_test_assert (test, qos != NULL);
649
 
 
650
 
        /* unref */
651
 
        g_object_unref (qos);
652
 
 
653
 
        egg_test_end (test);
654
 
}
655
 
#endif
656