1. 21 Feb, 2018 1 commit
  2. 19 Jul, 2017 2 commits
  3. 30 May, 2017 1 commit
    • Florian Müllner's avatar
      tests: Adjust test runner · 73cffb3c
      Florian Müllner authored
      The script currently assumes that srcdir is relative to builddir,
      which is not the case for build directories outside the source tree
      like the one used by jhbuild.
      While we could get fancy and prepend the builddir if srcdir is relative,
      there's nothing wrong with a relative path as we cd into the builddir
      before evaluating srcdir.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=783206
      73cffb3c
  4. 14 Jan, 2013 1 commit
  5. 24 Dec, 2012 1 commit
  6. 07 Aug, 2012 1 commit
  7. 27 Jul, 2011 1 commit
  8. 07 Mar, 2011 1 commit
  9. 22 Nov, 2010 1 commit
    • Owen W. Taylor's avatar
      Correct and simplify setting the GJS module path · 4800f63c
      Owen W. Taylor authored
      We were going to great effort to include the normal directories in the
      GJS search path and the code to to do this broke recently when
      jsdir and jsnativedir were moved to gjs-internals-1.0.pc. However, it
      was actually unnecessary since the standard directories are appended
      to the default path.
      
      (We continue to use a GNOME_SHELL_JS envvar separate from GJS_PATH
      for the Shell to enable the somewhat unlikely case where someone wants
      to invoke the shell specifying a GJS_PATH.)
      
      https://bugzilla.gnome.org/show_bug.cgi?id=635367
      4800f63c
  10. 12 Nov, 2010 1 commit
    • Owen W. Taylor's avatar
      Add run-js-test executable to run tests · c98103ff
      Owen W. Taylor authored
      ST makes use of GTK+ for input methods and for icon themes; therefore
      we have need to initialize GTK+ in order to test these parts of Clutter.
      
      Instead of LD_PRELOADING our module, use a separately compiled executable
      that links to the UI components in GNOME Shell, initializes Clutter and
      GTK+ and hooks them together.
      
      Getting all the symbols from St and the GUI components exported for
      use via GJS requires a bit of contortion: we need to actually link the
      St convenience library into a shared library and link the executable
      to that since there is no way with libtool to take a convenience library
      and put all its symbols into an executable --whole-archive style.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=633657
      c98103ff
  11. 01 Oct, 2009 3 commits
    • Owen W. Taylor's avatar
      run-test.sh: support running tests under gdb · 3c646ec5
      Owen W. Taylor authored
      As with the 'gnome-shell' -g/--debug can be passed to run under
      the debugger.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=595987
      3c646ec5
    • Owen W. Taylor's avatar
      Port our imported parts of Mx to ShellTheme · a9fd3503
      Owen W. Taylor authored
      ShellTheme replaces both StStyle and ccss_stylesheet_t.
      
      The interface StStylable is replaced by usage of ShellThemeNode.
      A concrete node class allows some significant optimizations of property
      inheritance that would have been much more difficult to achieve with
      the highly abstract pair of StStylable and ccss_node_t.
      
      Some operations that were previously on StStylable (like the
      ::style-changed signal) are directly on NtkWidget.
      
      Custom properties are no longer registered as param-specs; instead you
      call directly into shell theme node to look up a length or color:
      
      shell_theme_node_get_length (theme_node, "border-spacing", FALSE, &spacing);
      
      The dependency on libccss is dropped, while preserving all existing
      functionality and adding proper parsing and inheritance of font properties
      and proper inheritance for the 'color' property.
      
      Some more javascript tests for CSS functionality are added; workarounds for
      a CSS bug where *.some-class was needed instead of .some-class are removed.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=595990
      a9fd3503
    • Owen W. Taylor's avatar
      Add some structure for interactive tests of UI components · 55497899
      Owen W. Taylor authored
      js/ui/environment.js: Split out initial UI setup (Tweener initialization,
        ClutterContainer monkey-patching) into a separate file we can import from tests.
      
      tests/: Directory for various types of tests
      tests/run-test.sh: Shell script that to run tests with an appropriate
        environment set up.
      
      tests/testcommon/: Common modules and data for tests
      tests/interactive/: Interactive tests
      
      tests/interactive/box-layout.js: A sample test of StLayout
      
      https://bugzilla.gnome.org/show_bug.cgi?id=595987
      55497899