~unity-team/unity/trusty-1374785

« back to all changes in this revision

Viewing changes to tests/test-unity.vala

  • Committer: Neil Jagdish Patel
  • Date: 2009-12-14 22:44:07 UTC
  • mfrom: (43.1.10 trunk.fix-make)
  • Revision ID: neil.patel@canonical.com-20091214224407-ez2goxv2nf4ipmr4
[build] IT MAKE DISTS!

removed:
  src/places/Makefile.am
  src/quicklauncher/Makefile.am
  src/quicklauncher/application_view.vala
added:
  tests/test-const.vapi
renamed:
  src/places/bar_model.vala => src/places/bar-model.vala
  src/places/bar_view.vala => src/places/bar-view.vala
  src/places/default_model.vala => src/places/default-model.vala
  src/places/default_view.vala => src/places/default-view.vala
  src/quicklauncher/application_store.vala => src/quicklauncher/application-store.vala
  src/quicklauncher/launcher_store.vala => src/quicklauncher/launcher-store.vala
  src/quicklauncher/launcher_view.vala => src/quicklauncher/launcher-view.vala
  src/quicklauncher/prism_handler.vala => src/quicklauncher/prism-handler.vala
  src/quicklauncher/quicklauncher_manager.vala => src/quicklauncher/quicklauncher-manager.vala
modified:
  .bzrignore
  AUTHORS
  Makefile.am
  configure.ac
  libunity/Makefile.am
  src/Makefile.am
  src/quicklauncher/unity-scroller.vala
  tests/Makefile.am
  tests/test-unity.vala
  src/quicklauncher/application-store.vala
unknown:
  unity-0.1.5.tar.gz
pending merges:
  Neil Jagdish Patel 2009-12-14 [build] Update authors
    Neil Jagdish Patel 2009-12-14 [tests] Make sure EXTRA_DIST is set and......
    Neil Jagdish Patel 2009-12-14 [tests] Fix Quicklauncher test. Fix path t...
    Neil Jagdish Patel 2009-12-14 [build] Actuall fix make distcheck
    Neil Jagdish Patel 2009-12-14 [build] Enable localinstall for testing du...
    Neil Jagdish Patel 2009-12-14 [build] Some more fixes for distcheck
    Neil Jagdish Patel 2009-12-14 [build] Fix up remaining bits, make distch...
    Neil Jagdish Patel 2009-12-14 [ignores] Update
    Neil Jagdish Patel 2009-12-14 [build] Clean up build and make make dist ...
    Neil Jagdish Patel 2009-12-14 Fix warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
public class Main
23
23
{
 
24
  public const string firefox_desktop = Unity.Tests.TESTDIR+"/firefox.desktop";
24
25
  public static int main (string[] args)
25
26
  {
26
27
    Gtk.init (ref args);
52
53
      assert (window.visible);
53
54
    });
54
55
 
 
56
 
55
57
    Test.add_func ("/Unity/Background", () => {
56
58
      var bg = new Unity.Background ();
57
59
      assert (bg is Clutter.Actor);
58
60
    });
59
 
 
60
61
    Test.add_func ("/Unity/Quicklauncher/ApplicationStore", () => {
61
 
      var store = new Quicklauncher.Stores.ApplicationStore ("firefox.desktop");
 
62
      var store = new Quicklauncher.Stores.ApplicationStore (firefox_desktop);
62
63
      assert (store is Quicklauncher.Stores.ApplicationStore);
63
64
    });
64
65
    
65
66
    Test.add_func ("/Unity/Quicklauncher/LauncherView", () => {
66
 
      var store = new Quicklauncher.Stores.ApplicationStore ("firefox.desktop");
 
67
      var store = new Quicklauncher.Stores.ApplicationStore (firefox_desktop);
67
68
                    
68
69
      var view = new Quicklauncher.LauncherView (store);
69
70
      assert (view is Quicklauncher.LauncherView);
76
77
    });
77
78
 
78
79
    Test.add_func ("/Unity/Quicklauncher/Prism", () => {
79
 
      var webapp = new Quicklauncher.Prism ("www.google.com");
 
80
      var webapp = new Quicklauncher.Prism ("http://www.google.com");
80
81
      assert (webapp is Quicklauncher.Prism);
81
82
      });
82
83