Merge lp:~smspillaz/compiz-core/compiz-core.point-tests into lp:compiz-core/0.9.5

Proposed by Sam Spilsbury
Status: Merged
Merged at revision: 2921
Proposed branch: lp:~smspillaz/compiz-core/compiz-core.point-tests
Merge into: lp:compiz-core/0.9.5
Diff against target: 640 lines (+448/-103)
10 files modified
include/core/CMakeLists.txt (+0/-1)
src/CMakeLists.txt (+5/-2)
src/point.cpp (+0/-100)
src/point/CMakeLists.txt (+67/-0)
src/point/include/core/point.h (+110/-0)
src/point/src/point.cpp (+100/-0)
src/point/tests/CMakeLists.txt (+18/-0)
src/point/tests/point/src/test-point.cpp (+71/-0)
src/point/tests/test-point.cpp (+34/-0)
src/point/tests/test-point.h (+43/-0)
To merge this branch: bzr merge lp:~smspillaz/compiz-core/compiz-core.point-tests
Reviewer Review Type Date Requested Status
Alan Griffiths Approve
Review via email: mp+89383@code.launchpad.net

Description of the change

Adds tests for CompPoint and a module for it too

To post a comment you must log in.
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

There's no point to defining ctor and dtor for CompPointTestPoint - as the compiler defaults are the same as the code. Without this there's no point to the file test-point.cpp. Without this file there's no point to the file "test-point.h" - it will only ever be included in one place.

I have doubts about the emerging strategy of moving every object file into its own archive library. Core is small enough that I'd be happy with there being a single core library.

OTOH these are harmless inefficiencies.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/core/CMakeLists.txt'
2--- include/core/CMakeLists.txt 2012-01-19 06:08:11 +0000
3+++ include/core/CMakeLists.txt 2012-01-20 06:40:38 +0000
4@@ -10,7 +10,6 @@
5 option.h
6 output.h
7 plugin.h
8- point.h
9 propertywriter.h
10 privateunion.h
11 rect.h
12
13=== modified file 'src/CMakeLists.txt'
14--- src/CMakeLists.txt 2012-01-16 09:50:28 +0000
15+++ src/CMakeLists.txt 2012-01-20 06:40:38 +0000
16@@ -5,6 +5,7 @@
17 add_subdirectory( logmessage )
18 add_subdirectory( timer )
19 add_subdirectory( pluginclasshandler )
20+add_subdirectory( point )
21 add_subdirectory( wrapsystem/tests )
22
23 compiz_add_bcop_targets (
24@@ -40,7 +41,9 @@
25
26 ${CMAKE_CURRENT_SOURCE_DIR}/pluginclasshandler/include
27 ${CMAKE_CURRENT_SOURCE_DIR}/pluginclasshandler/src
28-
29+
30+ ${CMAKE_CURRENT_SOURCE_DIR}/point/include
31+ ${CMAKE_CURRENT_SOURCE_DIR}/point/src
32 )
33
34 add_definitions (
35@@ -75,7 +78,6 @@
36 ${CMAKE_CURRENT_SOURCE_DIR}/output.cpp
37 ${CMAKE_CURRENT_SOURCE_DIR}/rect.cpp
38 ${CMAKE_CURRENT_SOURCE_DIR}/size.cpp
39- ${CMAKE_CURRENT_SOURCE_DIR}/point.cpp
40 ${CMAKE_CURRENT_SOURCE_DIR}/windowgeometry.cpp
41 ${CMAKE_CURRENT_SOURCE_DIR}/icon.cpp
42 ${CMAKE_CURRENT_SOURCE_DIR}/modifierhandler.cpp
43@@ -104,6 +106,7 @@
44 compiz_timer
45 compiz_logmessage
46 compiz_pluginclasshandler
47+ compiz_point
48 # ${CORE_MOD_LIBRARIES}
49 )
50
51
52=== added directory 'src/point'
53=== removed file 'src/point.cpp'
54--- src/point.cpp 2010-01-21 16:21:30 +0000
55+++ src/point.cpp 1970-01-01 00:00:00 +0000
56@@ -1,100 +0,0 @@
57-/*
58- * Copyright © 2008 Dennis Kasprzyk
59- *
60- * Permission to use, copy, modify, distribute, and sell this software
61- * and its documentation for any purpose is hereby granted without
62- * fee, provided that the above copyright notice appear in all copies
63- * and that both that copyright notice and this permission notice
64- * appear in supporting documentation, and that the name of
65- * Dennis Kasprzyk not be used in advertising or publicity pertaining to
66- * distribution of the software without specific, written prior permission.
67- * Dennis Kasprzyk makes no representations about the suitability of this
68- * software for any purpose. It is provided "as is" without express or
69- * implied warranty.
70- *
71- * DENNIS KASPRZYK DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
72- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
73- * NO EVENT SHALL DENNIS KASPRZYK BE LIABLE FOR ANY SPECIAL, INDIRECT OR
74- * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
75- * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
76- * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
77- * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
78- *
79- * Authors: Dennis Kasprzyk <onestone@compiz-fusion.org>
80- */
81-
82-#include <core/point.h>
83-
84-CompPoint::CompPoint () :
85- mX (0),
86- mY (0)
87-{
88-}
89-
90-CompPoint::CompPoint (int x, int y) :
91- mX (x),
92- mY (y)
93-{
94-}
95-
96-void
97-CompPoint::set (int x, int y)
98-{
99- mX = x;
100- mY = y;
101-}
102-
103-void
104-CompPoint::setX (int x)
105-{
106- mX = x;
107-}
108-
109-void
110-CompPoint::setY (int y)
111-{
112- mY = y;
113-}
114-
115-bool
116-CompPoint::operator== (const CompPoint &point) const
117-{
118- return (mX == point.mX) && (mY == point.mY);
119-}
120-
121-bool
122-CompPoint::operator!= (const CompPoint &point) const
123-{
124- return !(*this == point);
125-}
126-
127-CompPoint &
128-CompPoint::operator+= (const CompPoint &point)
129-{
130- mX += point.mX;
131- mY += point.mY;
132-
133- return *this;
134-}
135-
136-CompPoint
137-CompPoint::operator+ (const CompPoint &rhs) const
138-{
139- return CompPoint (mX + rhs.mX, mY + rhs.mY);
140-}
141-
142-CompPoint &
143-CompPoint::operator-= (const CompPoint &point)
144-{
145- mX -= point.mX;
146- mY -= point.mY;
147-
148- return *this;
149-}
150-
151-CompPoint
152-CompPoint::operator- (const CompPoint &rhs) const
153-{
154- return CompPoint (mX - rhs.mX, mY - rhs.mY);
155-}
156-
157
158=== added file 'src/point/CMakeLists.txt'
159--- src/point/CMakeLists.txt 1970-01-01 00:00:00 +0000
160+++ src/point/CMakeLists.txt 2012-01-20 06:40:38 +0000
161@@ -0,0 +1,67 @@
162+pkg_check_modules (
163+ GLIBMM
164+ REQUIRED
165+ glibmm-2.4 glib-2.0
166+)
167+
168+INCLUDE_DIRECTORIES (
169+ ${CMAKE_CURRENT_SOURCE_DIR}/include
170+ ${CMAKE_CURRENT_SOURCE_DIR}/src
171+
172+ ${CMAKE_CURRENT_SOURCE_DIR}/point/include
173+ ${CMAKE_CURRENT_SOURCE_DIR}/point/src
174+
175+ ${compiz_SOURCE_DIR}/include
176+
177+ ${Boost_INCLUDE_DIRS}
178+
179+ ${GLIBMM_INCLUDE_DIRS}
180+)
181+
182+LINK_DIRECTORIES (${GLIBMM_LIBRARY_DIRS})
183+
184+SET (
185+ PUBLIC_HEADERS
186+ ${CMAKE_CURRENT_SOURCE_DIR}/include/core/point.h
187+)
188+
189+SET (
190+ PRIVATE_HEADERS
191+)
192+
193+SET(
194+ SRCS
195+ ${CMAKE_CURRENT_SOURCE_DIR}/src/point.cpp
196+)
197+
198+ADD_LIBRARY(
199+ compiz_point STATIC
200+
201+ ${SRCS}
202+
203+ ${PUBLIC_HEADERS}
204+ ${PRIVATE_HEADERS}
205+)
206+
207+ADD_SUBDIRECTORY( ${CMAKE_CURRENT_SOURCE_DIR}/tests )
208+
209+SET_TARGET_PROPERTIES(
210+ compiz_point PROPERTIES
211+ PUBLIC_HEADER "${PUBLIC_HEADERS}"
212+)
213+
214+INSTALL(
215+ TARGETS compiz_point
216+ RUNTIME DESTINATION bin
217+ LIBRARY DESTINATION lib
218+ ARCHIVE DESTINATION lib
219+ PUBLIC_HEADER DESTINATION include/compiz
220+)
221+
222+
223+
224+TARGET_LINK_LIBRARIES(
225+ compiz_point
226+
227+ ${GLIBMM_LIBRARIES}
228+)
229
230=== added directory 'src/point/include'
231=== added directory 'src/point/include/core'
232=== added file 'src/point/include/core/point.h'
233--- src/point/include/core/point.h 1970-01-01 00:00:00 +0000
234+++ src/point/include/core/point.h 2012-01-20 06:40:38 +0000
235@@ -0,0 +1,110 @@
236+/*
237+ * Copyright © 2008 Dennis Kasprzyk
238+ *
239+ * Permission to use, copy, modify, distribute, and sell this software
240+ * and its documentation for any purpose is hereby granted without
241+ * fee, provided that the above copyright notice appear in all copies
242+ * and that both that copyright notice and this permission notice
243+ * appear in supporting documentation, and that the name of
244+ * Dennis Kasprzyk not be used in advertising or publicity pertaining to
245+ * distribution of the software without specific, written prior permission.
246+ * Dennis Kasprzyk makes no representations about the suitability of this
247+ * software for any purpose. It is provided "as is" without express or
248+ * implied warranty.
249+ *
250+ * DENNIS KASPRZYK DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
251+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
252+ * NO EVENT SHALL DENNIS KASPRZYK BE LIABLE FOR ANY SPECIAL, INDIRECT OR
253+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
254+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
255+ * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
256+ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
257+ *
258+ * Authors: Dennis Kasprzyk <onestone@compiz-fusion.org>
259+ */
260+
261+#ifndef _COMPPOINT_H
262+#define _COMPPOINT_H
263+
264+#include <vector>
265+#include <list>
266+
267+/**
268+ * A 2D coordinate (likely in screen space) that can only be mutated
269+ * through set() methods, since it's data members are private.
270+ */
271+class CompPoint {
272+
273+ public:
274+ CompPoint ();
275+ CompPoint (int, int);
276+
277+ /**
278+ * Get the x coordinate of this point
279+ */
280+ int x () const;
281+
282+ /**
283+ * Get the y coordinate of this point
284+ */
285+ int y () const;
286+
287+ /**
288+ * Set the x and y coordinate of this point
289+ */
290+ void set (int, int);
291+
292+ /**
293+ * Set the x coordinate of this point
294+ */
295+ void setX (int);
296+
297+ /**
298+ * Set the y coordinate of this point
299+ */
300+ void setY (int);
301+
302+ bool operator== (const CompPoint &) const;
303+ bool operator!= (const CompPoint &) const;
304+
305+ /**
306+ * Takes from both co-ordinates
307+ */
308+ CompPoint & operator-= (const CompPoint &);
309+ /**
310+ * Adds to both co-ordinates
311+ */
312+ CompPoint & operator+= (const CompPoint &);
313+
314+ /**
315+ * Retuns an added point
316+ */
317+ CompPoint operator+ (const CompPoint &) const;
318+ /**
319+ * Returns a subtracted point
320+ */
321+ CompPoint operator- (const CompPoint &) const;
322+
323+ typedef std::vector<CompPoint> vector;
324+ typedef std::vector<CompPoint *> ptrVector;
325+ typedef std::list<CompPoint> list;
326+ typedef std::list<CompPoint *> ptrList;
327+
328+ private:
329+ int mX, mY;
330+};
331+
332+inline int
333+CompPoint::x () const
334+{
335+ return mX;
336+}
337+
338+inline int
339+CompPoint::y () const
340+{
341+ return mY;
342+}
343+
344+
345+#endif
346
347=== added directory 'src/point/src'
348=== added file 'src/point/src/point.cpp'
349--- src/point/src/point.cpp 1970-01-01 00:00:00 +0000
350+++ src/point/src/point.cpp 2012-01-20 06:40:38 +0000
351@@ -0,0 +1,100 @@
352+/*
353+ * Copyright © 2008 Dennis Kasprzyk
354+ *
355+ * Permission to use, copy, modify, distribute, and sell this software
356+ * and its documentation for any purpose is hereby granted without
357+ * fee, provided that the above copyright notice appear in all copies
358+ * and that both that copyright notice and this permission notice
359+ * appear in supporting documentation, and that the name of
360+ * Dennis Kasprzyk not be used in advertising or publicity pertaining to
361+ * distribution of the software without specific, written prior permission.
362+ * Dennis Kasprzyk makes no representations about the suitability of this
363+ * software for any purpose. It is provided "as is" without express or
364+ * implied warranty.
365+ *
366+ * DENNIS KASPRZYK DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
367+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
368+ * NO EVENT SHALL DENNIS KASPRZYK BE LIABLE FOR ANY SPECIAL, INDIRECT OR
369+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
370+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
371+ * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
372+ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
373+ *
374+ * Authors: Dennis Kasprzyk <onestone@compiz-fusion.org>
375+ */
376+
377+#include <core/point.h>
378+
379+CompPoint::CompPoint () :
380+ mX (0),
381+ mY (0)
382+{
383+}
384+
385+CompPoint::CompPoint (int x, int y) :
386+ mX (x),
387+ mY (y)
388+{
389+}
390+
391+void
392+CompPoint::set (int x, int y)
393+{
394+ mX = x;
395+ mY = y;
396+}
397+
398+void
399+CompPoint::setX (int x)
400+{
401+ mX = x;
402+}
403+
404+void
405+CompPoint::setY (int y)
406+{
407+ mY = y;
408+}
409+
410+bool
411+CompPoint::operator== (const CompPoint &point) const
412+{
413+ return (mX == point.mX) && (mY == point.mY);
414+}
415+
416+bool
417+CompPoint::operator!= (const CompPoint &point) const
418+{
419+ return !(*this == point);
420+}
421+
422+CompPoint &
423+CompPoint::operator+= (const CompPoint &point)
424+{
425+ mX += point.mX;
426+ mY += point.mY;
427+
428+ return *this;
429+}
430+
431+CompPoint
432+CompPoint::operator+ (const CompPoint &rhs) const
433+{
434+ return CompPoint (mX + rhs.mX, mY + rhs.mY);
435+}
436+
437+CompPoint &
438+CompPoint::operator-= (const CompPoint &point)
439+{
440+ mX -= point.mX;
441+ mY -= point.mY;
442+
443+ return *this;
444+}
445+
446+CompPoint
447+CompPoint::operator- (const CompPoint &rhs) const
448+{
449+ return CompPoint (mX - rhs.mX, mY - rhs.mY);
450+}
451+
452
453=== added directory 'src/point/tests'
454=== added file 'src/point/tests/CMakeLists.txt'
455--- src/point/tests/CMakeLists.txt 1970-01-01 00:00:00 +0000
456+++ src/point/tests/CMakeLists.txt 2012-01-20 06:40:38 +0000
457@@ -0,0 +1,18 @@
458+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
459+
460+add_library (compiz_point_test
461+ ${CMAKE_CURRENT_SOURCE_DIR}/test-point.cpp)
462+
463+add_executable (compiz_test_point
464+ ${CMAKE_CURRENT_SOURCE_DIR}/point/src/test-point.cpp)
465+
466+target_link_libraries (compiz_test_point
467+ compiz_point_test
468+ compiz_point
469+ ${GTEST_BOTH_LIBRARIES}
470+ ${GMOCK_LIBRARY}
471+ ${GMOCK_MAIN_LIBRARY}
472+ ${CMAKE_THREAD_LIBS_INIT} # Link in pthread.
473+ )
474+
475+add_test (compiz_point compiz_test_point)
476
477=== added directory 'src/point/tests/point'
478=== added directory 'src/point/tests/point/src'
479=== added file 'src/point/tests/point/src/test-point.cpp'
480--- src/point/tests/point/src/test-point.cpp 1970-01-01 00:00:00 +0000
481+++ src/point/tests/point/src/test-point.cpp 2012-01-20 06:40:38 +0000
482@@ -0,0 +1,71 @@
483+/*
484+ * Copyright © 2011 Canonical Ltd.
485+ *
486+ * Permission to use, copy, modify, distribute, and sell this software
487+ * and its documentation for any purpose is hereby granted without
488+ * fee, provided that the above copyright notice appear in all copies
489+ * and that both that copyright notice and this permission notice
490+ * appear in supporting documentation, and that the name of
491+ * Canonical Ltd. not be used in advertising or publicity pertaining to
492+ * distribution of the software without specific, written prior permission.
493+ * Canonical Ltd. makes no representations about the suitability of this
494+ * software for any purpose. It is provided "as is" without express or
495+ * implied warranty.
496+ *
497+ * CANONICAL, LTD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
498+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
499+ * NO EVENT SHALL CANONICAL, LTD. BE LIABLE FOR ANY SPECIAL, INDIRECT OR
500+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
501+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
502+ * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
503+ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
504+ *
505+ * Authored by: Sam Spilsbury <sam.spilsbury@canonical.com>
506+ */
507+
508+#include "test-point.h"
509+
510+class CompPointTestPoint :
511+ public CompWindowPointTest
512+{
513+ public:
514+
515+ CompPointTestPoint ();
516+ ~CompPointTestPoint ();
517+
518+ protected:
519+
520+ CompPoint p;
521+};
522+
523+CompPointTestPoint::CompPointTestPoint () :
524+ p (0, 0)
525+{
526+}
527+
528+CompPointTestPoint::~CompPointTestPoint ()
529+{
530+}
531+
532+TEST_F (CompPointTestPoint, TestPoint)
533+{
534+ p.setX (10);
535+
536+ EXPECT_EQ (p.x (), 10);
537+
538+ p.setY (10);
539+
540+ EXPECT_EQ (p.y (), 10);
541+ EXPECT_EQ (p, CompPoint (10, 10));
542+
543+ EXPECT_TRUE (p == CompPoint (10, 10));
544+ EXPECT_FALSE (p != CompPoint (10, 10));
545+
546+ p -= CompPoint (5, 5);
547+
548+ EXPECT_EQ (p, CompPoint (5, 5));
549+
550+ p += CompPoint (3, 3);
551+
552+ EXPECT_EQ (p, CompPoint (8, 8));
553+}
554
555=== added file 'src/point/tests/test-point.cpp'
556--- src/point/tests/test-point.cpp 1970-01-01 00:00:00 +0000
557+++ src/point/tests/test-point.cpp 2012-01-20 06:40:38 +0000
558@@ -0,0 +1,34 @@
559+/*
560+ * Copyright © 2011 Canonical Ltd.
561+ *
562+ * Permission to use, copy, modify, distribute, and sell this software
563+ * and its documentation for any purpose is hereby granted without
564+ * fee, provided that the above copyright notice appear in all copies
565+ * and that both that copyright notice and this permission notice
566+ * appear in supporting documentation, and that the name of
567+ * Canonical Ltd. not be used in advertising or publicity pertaining to
568+ * distribution of the software without specific, written prior permission.
569+ * Canonical Ltd. makes no representations about the suitability of this
570+ * software for any purpose. It is provided "as is" without express or
571+ * implied warranty.
572+ *
573+ * CANONICAL, LTD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
574+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
575+ * NO EVENT SHALL CANONICAL, LTD. BE LIABLE FOR ANY SPECIAL, INDIRECT OR
576+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
577+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
578+ * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
579+ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
580+ *
581+ * Authored by: Sam Spilsbury <sam.spilsbury@canonical.com>
582+ */
583+
584+#include "test-point.h"
585+
586+CompWindowPointTest::CompWindowPointTest ()
587+{
588+}
589+
590+CompWindowPointTest::~CompWindowPointTest ()
591+{
592+}
593
594=== added file 'src/point/tests/test-point.h'
595--- src/point/tests/test-point.h 1970-01-01 00:00:00 +0000
596+++ src/point/tests/test-point.h 2012-01-20 06:40:38 +0000
597@@ -0,0 +1,43 @@
598+/*
599+ * Copyright © 2011 Canonical Ltd.
600+ *
601+ * Permission to use, copy, modify, distribute, and sell this software
602+ * and its documentation for any purpose is hereby granted without
603+ * fee, provided that the above copyright notice appear in all copies
604+ * and that both that copyright notice and this permission notice
605+ * appear in supporting documentation, and that the name of
606+ * Canonical Ltd. not be used in advertising or publicity pertaining to
607+ * distribution of the software without specific, written prior permission.
608+ * Canonical Ltd. makes no representations about the suitability of this
609+ * software for any purpose. It is provided "as is" without express or
610+ * implied warranty.
611+ *
612+ * CANONICAL, LTD. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
613+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
614+ * NO EVENT SHALL CANONICAL, LTD. BE LIABLE FOR ANY SPECIAL, INDIRECT OR
615+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
616+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
617+ * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
618+ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
619+ *
620+ * Authored by: Sam Spilsbury <sam.spilsbury@canonical.com>
621+ */
622+
623+#ifndef _COMPIZ_TEST_WINDOW_GEOMETRY_H
624+#define _COMPIZ_TEST_WINDOW_GEOMETRY_H
625+
626+#include <gtest/gtest.h>
627+#include <core/point.h>
628+#include <iostream>
629+#include <boost/bind.hpp>
630+
631+class CompWindowPointTest : public ::testing::Test
632+{
633+public:
634+
635+ CompWindowPointTest ();
636+ virtual ~CompWindowPointTest ();
637+
638+};
639+
640+#endif

Subscribers

People subscribed via source and target branches