test/generic/wayland-fits.git
12 years agoEFL: Refactor EFL_CHECK macros
Joe Konno [Mon, 23 Jul 2012 19:31:58 +0000 (12:31 -0700)]
EFL: Refactor EFL_CHECK macros

Move the definitions to elmtestharness.h.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoworkaround for boost 1.48 issue
U. Artie Eoff [Fri, 20 Jul 2012 20:46:07 +0000 (13:46 -0700)]
workaround for boost 1.48 issue

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoEFL: Window and test_window moderate refactor
Joe Konno [Fri, 20 Jul 2012 20:38:54 +0000 (13:38 -0700)]
EFL: Window and test_window moderate refactor

Encapsulated the check idler callbacks, originally written in test_window, in
Window itself. Added some const-ness as well. Refactored the tests accordingly.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Window const-ness refactor
Joe Konno [Fri, 20 Jul 2012 20:21:15 +0000 (13:21 -0700)]
EFL: Window const-ness refactor

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Add window rotation test
Joe Konno [Fri, 20 Jul 2012 19:48:12 +0000 (12:48 -0700)]
EFL: Add window rotation test

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: rotation set/get in Window
Joe Konno [Fri, 20 Jul 2012 19:47:38 +0000 (12:47 -0700)]
EFL: rotation set/get in Window

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: basic tests for fileselectors
Joe Konno [Fri, 20 Jul 2012 17:55:50 +0000 (10:55 -0700)]
EFL: basic tests for fileselectors

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: basics tests for dayselector
Joe Konno [Fri, 20 Jul 2012 17:45:59 +0000 (10:45 -0700)]
EFL: basics tests for dayselector

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: add basic tests to clock
Joe Konno [Fri, 20 Jul 2012 17:39:38 +0000 (10:39 -0700)]
EFL: add basic tests to clock

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Add templated tests to checkbox control
Joe Konno [Fri, 20 Jul 2012 01:45:40 +0000 (18:45 -0700)]
EFL: Add templated tests to checkbox control

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Add templated tests to bubble
Joe Konno [Fri, 20 Jul 2012 01:41:58 +0000 (18:41 -0700)]
EFL: Add templated tests to bubble

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Window constructor now defaults to 400x300
Joe Konno [Fri, 20 Jul 2012 01:40:58 +0000 (18:40 -0700)]
EFL: Window constructor now defaults to 400x300

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Test generator macros
Joe Konno [Fri, 20 Jul 2012 01:08:12 +0000 (18:08 -0700)]
EFL: Test generator macros

These are the beginnings of "boilerplate" test generating macros. For each
control, adding a few macros can yield common evas-level tests.

Easier to maintain centrally, and will improve velocity of test writing.

For reference, actionslider and button tests were aggressively refactored to
take advantage of these conveniences.

XXX: Getting bitten by an arcane preprocessor issue, otherwise I would
uncomment the EFL_BASIC_TESTS macro. It would appear to be a whitespace issue,
but tabling for now.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: moderate refactor of button tests
Joe Konno [Thu, 19 Jul 2012 23:33:59 +0000 (16:33 -0700)]
EFL: moderate refactor of button tests

Utilize EvasObject convenience macros.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: light refactor of bubble tests
Joe Konno [Thu, 19 Jul 2012 23:29:13 +0000 (16:29 -0700)]
EFL: light refactor of bubble tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: aggressive refactor of actionslider test
Joe Konno [Thu, 19 Jul 2012 23:18:58 +0000 (16:18 -0700)]
EFL: aggressive refactor of actionslider test

Utilize EvasObject utility macros. Remove the Actionslider class as there is
not a compelling reason to "objectify" the Actionslider control. Should ease
maintenance down the road.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: EvasObject() convenience macros added
Joe Konno [Thu, 19 Jul 2012 23:15:55 +0000 (16:15 -0700)]
EFL: EvasObject() convenience macros added

These wrap a test idler for each method with a setter-getter pair. Should make
setup/teardown for tests much, much easier to write and maintain.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: add isVisible() to EvasObject, minor refactor
Joe Konno [Thu, 19 Jul 2012 22:40:09 +0000 (15:40 -0700)]
EFL: add isVisible() to EvasObject, minor refactor

For refactor, make class method use in the check() methods explicit with
"this->" syntax.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: minor refactor of EvasObject
Joe Konno [Thu, 19 Jul 2012 22:34:19 +0000 (15:34 -0700)]
EFL: minor refactor of EvasObject

Const-ness, as well as some utility methods we could re-use in our test
callbacks.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: moderate refactor of background tests
Joe Konno [Thu, 19 Jul 2012 20:56:54 +0000 (13:56 -0700)]
EFL: moderate refactor of background tests

Added some setup checking, more consistent naming.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: light refactor of actionslider suite
Joe Konno [Thu, 19 Jul 2012 20:32:40 +0000 (13:32 -0700)]
EFL: light refactor of actionslider suite

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: fileselector - fix check function param names
Joe Konno [Wed, 18 Jul 2012 23:05:46 +0000 (16:05 -0700)]
EFL: fileselector - fix check function param names

Will shave a few seconds off perusing the results log.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: one more fileselector test (ok-cancel)
Joe Konno [Wed, 18 Jul 2012 23:05:03 +0000 (16:05 -0700)]
EFL: one more fileselector test (ok-cancel)

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: fileselector tests
Joe Konno [Wed, 18 Jul 2012 22:56:40 +0000 (15:56 -0700)]
EFL: fileselector tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: fileselector_entry tests
Joe Konno [Wed, 18 Jul 2012 22:43:20 +0000 (15:43 -0700)]
EFL: fileselector_entry tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Light refactor of dayselector to utilize STL
Joe Konno [Wed, 18 Jul 2012 22:37:49 +0000 (15:37 -0700)]
EFL: Light refactor of dayselector to utilize STL

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: quick bubble refactor utilizing STL
Joe Konno [Wed, 18 Jul 2012 22:22:43 +0000 (15:22 -0700)]
EFL: quick bubble refactor utilizing STL

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: fileselector_button tests
Joe Konno [Wed, 18 Jul 2012 21:42:15 +0000 (14:42 -0700)]
EFL: fileselector_button tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: entry tests
Joe Konno [Thu, 12 Jul 2012 01:26:09 +0000 (18:26 -0700)]
EFL: entry tests

Includes the first cut, copy, and paste (for text) methods.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoremove redundant suite names
U. Artie Eoff [Mon, 16 Jul 2012 21:10:15 +0000 (14:10 -0700)]
remove redundant suite names

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoEFL: dayselector tests
Joe Konno [Wed, 11 Jul 2012 17:54:51 +0000 (10:54 -0700)]
EFL: dayselector tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Sort Makefile.am sources
Joe Konno [Tue, 10 Jul 2012 20:45:42 +0000 (13:45 -0700)]
EFL: Sort Makefile.am sources

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL refactor: nested suites
Joe Konno [Tue, 10 Jul 2012 20:41:49 +0000 (13:41 -0700)]
EFL refactor: nested suites

Each control now represented by a Boost suite, which is added to
Wayland_EFL_Suite.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Add (disabled) colorselector tests
Joe Konno [Tue, 10 Jul 2012 20:31:18 +0000 (13:31 -0700)]
EFL: Add (disabled) colorselector tests

Per EFL #1153, colorselector controls cause a segfault in the Elm examples. If
enabled, the test will destabilize our test framework and break QuickBuild/CI.

Leaving the scaffolding in place. On to the next control.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: clock widget tests
Joe Konno [Mon, 9 Jul 2012 22:17:43 +0000 (15:17 -0700)]
EFL: clock widget tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Checkbox tests
Joe Konno [Mon, 9 Jul 2012 21:03:23 +0000 (14:03 -0700)]
EFL: Checkbox tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL: Some bubble widget tests
Joe Konno [Mon, 9 Jul 2012 19:36:46 +0000 (12:36 -0700)]
EFL: Some bubble widget tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_background: re-enable background image tests
Joe Konno [Fri, 6 Jul 2012 21:09:07 +0000 (14:09 -0700)]
test_background: re-enable background image tests

Per EFL #1056.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoHACK: Disable wayland_egl tests
Joe Konno [Fri, 6 Jul 2012 21:06:00 +0000 (14:06 -0700)]
HACK: Disable wayland_egl tests

See EFL #1124. All _egl tests segfault Elm, which throws a wrench in our
test framework. Until it is fixed, disable all _egl tests.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_background: change test media
Joe Konno [Fri, 22 Jun 2012 14:59:24 +0000 (07:59 -0700)]
test_background: change test media

The crater_lake.png was "free beer" imagery, but the usage terms were not clear
on distribution, so removing.

So, use one my personal snaps (bridge_of_the_gods.png) from Skamania Lodge,
Washington, taken with my smartphone on a gorgeous morning in March 2012. I
relinquish copyright of the image, and hereby release it to the public domain.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years ago*Never* use 'using' in header file
U. Artie Eoff [Thu, 21 Jun 2012 21:03:56 +0000 (14:03 -0700)]
*Never* use 'using' in header file

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agorestore evasobject encapsulation
U. Artie Eoff [Thu, 21 Jun 2012 19:40:26 +0000 (12:40 -0700)]
restore evasobject encapsulation

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agotest_background: disable image tests
Joe Konno [Wed, 20 Jun 2012 21:09:10 +0000 (14:09 -0700)]
test_background: disable image tests

The ImageTest was causing a SEGV in Weston, resulting in the test harness being
killed prematurely and corrupting the report output, breaking QuickBuild/CI.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agobackground: add the test PNG
Joe Konno [Wed, 20 Jun 2012 20:28:16 +0000 (13:28 -0700)]
background: add the test PNG

It would help if I pushed the test PNG!

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_background: cycle image option states better
Joe Konno [Wed, 20 Jun 2012 18:51:43 +0000 (11:51 -0700)]
test_background: cycle image option states better

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agobackground: incorporate image option tests
Joe Konno [Wed, 20 Jun 2012 18:37:10 +0000 (11:37 -0700)]
background: incorporate image option tests

Tiling, scaling, etc.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoEFL_Background_Suite: add image test
Joe Konno [Wed, 20 Jun 2012 18:00:54 +0000 (11:00 -0700)]
EFL_Background_Suite: add image test

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agobackground: wrap image setting
Joe Konno [Wed, 20 Jun 2012 17:59:31 +0000 (10:59 -0700)]
background: wrap image setting

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_background: helps if bg widget is visible!
Joe Konno [Tue, 19 Jun 2012 18:49:09 +0000 (11:49 -0700)]
test_background: helps if bg widget is visible!

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoAdd Wayland_EFL_Background_Suite
Joe Konno [Tue, 19 Jun 2012 18:44:35 +0000 (11:44 -0700)]
Add Wayland_EFL_Background_Suite

In test_background.cpp, dependent on Background class.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoAdd background widget object
Joe Konno [Tue, 19 Jun 2012 18:23:47 +0000 (11:23 -0700)]
Add background widget object

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoAdd Wayland_EFL_Actionslider_Suite
Joe Konno [Tue, 19 Jun 2012 17:53:03 +0000 (10:53 -0700)]
Add Wayland_EFL_Actionslider_Suite

Contained in test_actionslider.cpp, dependent on the Actionslider class.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoAdd actionslider widget object
Joe Konno [Tue, 19 Jun 2012 17:37:36 +0000 (10:37 -0700)]
Add actionslider widget object

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agoevasobject.h: make member variables protected
Joe Konno [Tue, 19 Jun 2012 17:36:10 +0000 (10:36 -0700)]
evasobject.h: make member variables protected

This just makes like easier for derived classes.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years ago.gitignore: .*/wayland-test, .*/wayland-efl-test
Joe Konno [Tue, 19 Jun 2012 15:55:36 +0000 (08:55 -0700)]
.gitignore: .*/wayland-test, .*/wayland-efl-test

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_window: add stub withdrawn tests
Joe Konno [Wed, 13 Jun 2012 16:29:21 +0000 (09:29 -0700)]
test_window: add stub withdrawn tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_window: add stub sticky tests
Joe Konno [Wed, 13 Jun 2012 16:14:19 +0000 (09:14 -0700)]
test_window: add stub sticky tests

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_window: fullscreen tests
Joe Konno [Mon, 11 Jun 2012 23:06:31 +0000 (16:06 -0700)]
test_window: fullscreen tests

There are indications on E's website that fullscreen functionality is
incomplete. This appears to be the case on both Fedora 17 and Ubuntu 12.04,
where a stub application cannot be fullscreened.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agowindow.h: default window sized 300x200
Joe Konno [Mon, 11 Jun 2012 21:51:29 +0000 (14:51 -0700)]
window.h: default window sized 300x200

Instead of 50x50, so the test can be seen in the titlebar.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agotest_window: add iconify, maximize tests
Joe Konno [Mon, 11 Jun 2012 19:42:47 +0000 (12:42 -0700)]
test_window: add iconify, maximize tests

Added simple test stubs for iconify and un-iconify. Also known as minimize and
un-minimize. In addition, simple tests for maxmize.

Signed-off-by: Joe Konno <joe.konno@intel.com>
12 years agouse idle callbacks to drive efl tests. clean things up.
U. Artie Eoff [Thu, 7 Jun 2012 21:59:46 +0000 (14:59 -0700)]
use idle callbacks to drive efl tests. clean things up.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agodefault window size
U. Artie Eoff [Thu, 31 May 2012 15:15:59 +0000 (08:15 -0700)]
default window size

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agosplit resize_move test into separate tests
U. Artie Eoff [Thu, 31 May 2012 14:26:36 +0000 (07:26 -0700)]
split resize_move test into separate tests

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agosplit test_evas_object into separate units
U. Artie Eoff [Thu, 31 May 2012 14:04:44 +0000 (07:04 -0700)]
split test_evas_object into separate units

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agomake application a global test fixture
U. Artie Eoff [Thu, 31 May 2012 13:52:15 +0000 (06:52 -0700)]
make application a global test fixture

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agorefactor resize/move evas tests... these currently fail and are legitimate bugs in...
U. Artie Eoff [Wed, 30 May 2012 22:20:37 +0000 (15:20 -0700)]
refactor resize/move evas tests... these currently fail and are legitimate bugs in efl wayland

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agofix get width/height to query evas_output_size instead of geometry; some cleanup
U. Artie Eoff [Wed, 30 May 2012 20:05:44 +0000 (13:05 -0700)]
fix get width/height to query evas_output_size instead of geometry; some cleanup

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoadd some efl tests
U. Artie Eoff [Wed, 30 May 2012 16:51:40 +0000 (09:51 -0700)]
add some efl tests

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agowl_input_device renamed to wl_seat in weston upstream
U. Artie Eoff [Thu, 17 May 2012 01:48:20 +0000 (18:48 -0700)]
wl_input_device renamed to wl_seat in weston upstream

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoname the master test suite
U. Artie Eoff [Sat, 28 Apr 2012 19:14:11 +0000 (12:14 -0700)]
name the master test suite

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agorefine results
U. Artie Eoff [Sat, 28 Apr 2012 19:06:10 +0000 (12:06 -0700)]
refine results

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agorefactor reporting
U. Artie Eoff [Sat, 28 Apr 2012 18:34:11 +0000 (11:34 -0700)]
refactor reporting

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoBOOST_AUTO_TEST_CASE_TEMPLATE mangles test names; refactored
U. Artie Eoff [Sat, 28 Apr 2012 18:28:29 +0000 (11:28 -0700)]
BOOST_AUTO_TEST_CASE_TEMPLATE mangles test names; refactored

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoadd boost.test and initial test cases
U. Artie Eoff [Sat, 28 Apr 2012 03:47:42 +0000 (20:47 -0700)]
add boost.test and initial test cases

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agomake it run. this is simple-shm converted from weston/clients
U. Artie Eoff [Fri, 27 Apr 2012 20:34:50 +0000 (13:34 -0700)]
make it run. this is simple-shm converted from weston/clients

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoconvert to simple shm. fix some bugs
U. Artie Eoff [Fri, 27 Apr 2012 20:08:19 +0000 (13:08 -0700)]
convert to simple shm. fix some bugs

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agodisplay hooks for window
U. Artie Eoff [Fri, 27 Apr 2012 17:32:16 +0000 (10:32 -0700)]
display hooks for window

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agostarted display and window classes
U. Artie Eoff [Thu, 19 Apr 2012 13:59:19 +0000 (06:59 -0700)]
started display and window classes

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoremove subdir
U. Artie Eoff [Wed, 18 Apr 2012 02:35:26 +0000 (19:35 -0700)]
remove subdir

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agopkg check modules
U. Artie Eoff [Wed, 18 Apr 2012 02:34:14 +0000 (19:34 -0700)]
pkg check modules

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoadd m4 directory
U. Artie Eoff [Wed, 18 Apr 2012 01:32:06 +0000 (18:32 -0700)]
add m4 directory

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agomore initialization
U. Artie Eoff [Wed, 18 Apr 2012 01:14:11 +0000 (18:14 -0700)]
more initialization

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
12 years agoinitialize project
U. Artie Eoff [Wed, 18 Apr 2012 01:10:14 +0000 (18:10 -0700)]
initialize project

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>