gtkflow-test-app.vala 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */
  2. /* GtkFlowTest
  3. *
  4. * Copyright (C) 2015 Daniel Espinosa <esodan@gmail.com>
  5. *
  6. * librescl is free software: you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * librescl is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. * See the GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License along
  17. * with this program. If not, see <http://www.gnu.org/licenses/>.
  18. */
  19. using GFlow;
  20. using GtkFlow;
  21. using Gtk;
  22. public class GtkFlowTest.App : GtkFlowTest.TestApp
  23. {
  24. public override int execute ()
  25. {
  26. GLib.message ("Executing Tests...");
  27. window.destroy ();
  28. return 0;
  29. }
  30. static int main (string args[])
  31. {
  32. var app = new App ();
  33. app.run ();
  34. }
  35. }