~brandontschaefer/compiz/window-max-semimax-animation

« back to all changes in this revision

Viewing changes to src/privatescreen/tests/test-privatescreen.cpp

  • Committer: Brandon Schaefer
  • Date: 2013-01-11 23:45:42 UTC
  • mfrom: (3533.2.25 0.9.9)
  • Revision ID: brandon.schaefer@canonical.com-20130111234542-xuld503t61hm95io
* Merged trunk

[ Jussi Pakkanen ]
* Build warning "multiple rules generate gtk/gnome/compiz.desktop.
  build will not be correct; continuing anyway" (LP: #1086789)
* Build uses pyrexc without checking that it exists (LP: #1086704)
[ Iven Hsu ]
* KWD: Appmenu always pops up at top-left corner of the screen (LP:
  #1089863)
[ Matija Skala ]
* findcompiz_install doesn't work (LP: #1051595)
[ Michail Bitzes ]
* [regression-r3320] firepaint doesn't paint any fire any more (LP:
  #1048505)
[ Timo Jyrinki ]
* Default blacklist string shouldn't contain double escape (LP:
  #1091103)
[ Scott Moreau <oreaus@gmail.com>, MC Return <mc.return@gmx.net>, Sam Spilsbury ]
* [needs-packaging] Wishlist: Missing plug-In: Wizard (LP: #1012330)
[ Brandon Schaefer ]
* Window management - When a monitor is disconnected, the windows do
  not move to the remaining monitor and the Launcher pips do not
  update (LP: #1002246)
[ MC Return ]
* [regression] thumbnail plugin does not build any more (LP: #1020825)
* [regression-r3320][GLES]: showmouse plugin does not work anymore at
  all (LP: #1048267)
[ Robert M <osfan6313@gmail.com>, Sam Spilsbury ]
* CCSM segfaults if no settings found (LP: #1092651)
[ Daniel van Vugt ]
* [regression] Window resize granularity is lost when restored after
  using Grid (LP: #925867)
* compiz_test_resize_logic: Multiple errors: Conditional jump or move
  depends on uninitialised value(s) (LP: #1097179)
* Add support for blacklisting some drivers from using unredirected
  fullscreen windows (LP: #1089246)
* [regression] compiz spends 31% of its CPU time in regexec() (LP:
  #1095001)
* GLShaderCache::priv [PrivateShaderCache] is leaked (LP: #1097664)
* [regression] r3523: Restored windows' contents are offset from (not
  aligned with) their frames (LP: #1089279)
* On ARM lp:compiz defaults to GL instead of GLES and FTBFS unless you
  -DBUILD_GLES=ON (LP: #1088414)
* [regression][GLES] wallpaper plugin does not build any more (LP:
  #1020830)
* [regression-r3320] firepaint doesn't paint any fire any more (LP:
  #1048505)
* findcompiz_install doesn't work (LP: #1051595)
* [Regression] Minimizing a window creates an input-insensitive area
  if you have unityshell loaded (LP: #1089811)
* [clang] lp:compiz r3523 FTBFS: unused function
  'ListValueToSettingValueList' [-Werror,-Wunused-function]  (LP:
  #1089250)
* compiz fails to configure on arm with -DCOMPIZ_BUILD_TESTING=ON
  [package 'gl' not found] (LP: #1088419)
* PrivateGLScreen::projection is leaked (LP: #1097657)
* [clang] Multiple segfaults in test: SetSemantics (LP: #1089251)
* Plugin names are not sorted (they're shown in directory order) when
  cmake is run (LP: #1096780)
* Windows don't respond to input (mouse clicks) if XShape is disabled
  or unavailable (LP: #1087193)
* cmake suggests (kind of) expo is disabled but it still builds
  correctly. (LP: #1083027)
* EGL/GLES compiz builds do a eglWaitGL (synchronous wait) on every
  frame, likely to slow things down (LP: #1086779)
* Incorrect detection of shader support on fglrx (LP: #1026920)
* 1:0.9.8+bzr3319-0ubuntu1 regression: keeps setting gsettings keys to
  wrong values (LP: #1063617)
* resize leaks memory in multiple locations calling
  resize::CompScreenImpl::findWindow() -> operator new() (LP:
  #1097126)
[ Andrea Azzarone ]
* Modal dialogs don't appear on the same workspace/monitor as their
  parent window (LP: #754508)
* Multimonitor: New windows open on the wrong monitor, Place Plugin
  settings silently ignored (LP: #874146)
[ Sam Spilsbury ]
* [regression][GLES] cubeaddon plugin does not build any more (LP:
  #1020823)
* [regression-r3320] Animations and modules/plugins missing in Ubuntu
  12.10 and 13.04 (LP: #1069112)
* [nvidia] Moving or resizing windows freezes and stutters on nvidia
  (especially if some other window is redrawing). (LP: #1027211)
* Clicking on semi-maximized windows in a different workspace fails to
  switch to the correct workspace (LP: #1037164)
* CCSM segfaults if no settings found (LP: #1092651)
* Building compiz with clang++ on raring fails to build libgtest (LP:
  #1095906)
* Using grid-resize prevents windows from maximizing correctly (LP:
  #1093757)
* 1:0.9.8+bzr3319-0ubuntu1 regression: keeps setting gsettings keys to
  wrong values (LP: #1063617)
* ccp can fail to compile, as CompizPlugin is not included (LP:
  #1090845)
* opengl plugin FTBFS with clang (LP: #1095915)
[ Łukasz 'sil2100' Zemczak ]
* FTBFS after python2.7 upgrade - missing pyconfig.h (LP: #1088996)
[ Automatic PS uploader ]
* Automatic snapshot from revision 3554

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
    public:
222
222
 
223
223
        MOCK_CONST_METHOD0(getCurrentViewport, const CompPoint & ());
224
 
        MOCK_CONST_METHOD0(viewportDimentions, const CompSize & ());
 
224
        MOCK_CONST_METHOD0(viewportDimensions, const CompSize & ());
225
225
};
226
226
 
227
227
class StubActivePluginsOption : public CoreOptions
769
769
    MockViewportRetreival mvp;
770
770
 
771
771
    CompPoint current (0, 0);
772
 
    CompSize  dimentions (1, 1);
 
772
    CompSize  dimensions (1, 1);
773
773
 
774
774
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
775
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
775
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
776
776
 
777
777
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
778
778
 
786
786
    MockViewportRetreival mvp;
787
787
 
788
788
    CompPoint current (0, 0);
789
 
    CompSize  dimentions (2, 1);
 
789
    CompSize  dimensions (2, 1);
790
790
 
791
791
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
792
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
792
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
793
793
 
794
794
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
795
795
 
803
803
    MockViewportRetreival mvp;
804
804
 
805
805
    CompPoint current (1, 0);
806
 
    CompSize  dimentions (2, 1);
 
806
    CompSize  dimensions (2, 1);
807
807
 
808
808
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
809
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
809
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
810
810
 
811
811
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
812
812
 
820
820
    MockViewportRetreival mvp;
821
821
 
822
822
    CompPoint current (0, 0);
823
 
    CompSize  dimentions (1, 2);
 
823
    CompSize  dimensions (1, 2);
824
824
 
825
825
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
826
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
826
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
827
827
 
828
828
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
829
829
 
837
837
    MockViewportRetreival mvp;
838
838
 
839
839
    CompPoint current (0, 1);
840
 
    CompSize  dimentions (1, 2);
 
840
    CompSize  dimensions (1, 2);
841
841
 
842
842
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
843
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
843
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
844
844
 
845
845
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
846
846
 
854
854
    MockViewportRetreival mvp;
855
855
 
856
856
    CompPoint current (0, 1);
857
 
    CompSize  dimentions (1, 2);
 
857
    CompSize  dimensions (1, 2);
858
858
 
859
859
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
860
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
860
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
861
861
 
862
862
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
863
863
 
871
871
    MockViewportRetreival mvp;
872
872
 
873
873
    CompPoint current (0, 0);
874
 
    CompSize  dimentions (2, 1);
 
874
    CompSize  dimensions (2, 1);
875
875
 
876
876
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
877
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
877
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
878
878
 
879
879
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
880
880
 
888
888
    MockViewportRetreival mvp;
889
889
 
890
890
    CompPoint current (1, 0);
891
 
    CompSize  dimentions (2, 1);
 
891
    CompSize  dimensions (2, 1);
892
892
 
893
893
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
894
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
894
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
895
895
 
896
896
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
897
897
 
905
905
    MockViewportRetreival mvp;
906
906
 
907
907
    CompPoint current (0, 0);
908
 
    CompSize  dimentions (1, 2);
 
908
    CompSize  dimensions (1, 2);
909
909
 
910
910
    EXPECT_CALL (mvp, getCurrentViewport ()).WillOnce (ReturnRef (current));
911
 
    EXPECT_CALL (mvp, viewportDimentions ()).WillOnce (ReturnRef (dimentions));
 
911
    EXPECT_CALL (mvp, viewportDimensions ()).WillOnce (ReturnRef (dimensions));
912
912
 
913
913
    compiz::private_screen::viewports::viewportForGeometry (g, vp, &mvp, CompSize (1000, 1000));
914
914