~ubuntu-branches/ubuntu/precise/scilab/precise

« back to all changes in this revision

Viewing changes to modules/gui/tests/nonreg_tests/bug_2135.tst

Tags: 5.3.0-1ubuntu1
* New upstream release
* URL in the watch file updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// =============================================================================
 
2
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 
3
// Copyright (C) 2010 - DIGITEO - Bruno JOFRET
 
4
//
 
5
//  This file is distributed under the same license as the Scilab package.
 
6
// =============================================================================
 
7
 
 
8
//
 
9
// <-- Non-regression test for bug 2135 -->
 
10
//
 
11
// <-- INTERACTIVE TEST -->
 
12
//
 
13
// <-- Bugzilla URL -->
 
14
// http://bugzilla.scilab.org/show_bug.cgi?id=2135
 
15
//
 
16
// <-- Short Description -->
 
17
// Some right press where lost
 
18
 
 
19
// Launch scilab
 
20
// Launch this script
 
21
 
 
22
lines(0);
 
23
gcf();
 
24
while %t
 
25
  x = xgetmouse();
 
26
  if x(3)==2
 
27
    disp("Got right button pressed...")
 
28
    break;
 
29
  else 
 
30
    disp(x);
 
31
  end
 
32
end
 
33
 
 
34
// Now try to press right mouse button.
 
35
// Do not release it
 
36
// Do not move your mouse
 
37
// Press <> Click
 
38