Move the definitions to elmtestharness.h.
Signed-off-by: Joe Konno <joe.konno@intel.com>
// Harness().run(); \
//} \
+#define EFL_CHECK_SIZE(obj, w, h)\
+ queueCallback( \
+ ModifyCheckCallback( \
+ boost::bind(&EvasObject::setSize, boost::ref(obj), w, h), \
+ boost::bind(&EvasObject::checkSize, boost::ref(obj), w, h) \
+ ) \
+ )
+
+#define EFL_CHECK_POSITION(obj, x, y) \
+ queueCallback( \
+ ModifyCheckCallback( \
+ boost::bind(&EvasObject::setPosition, boost::ref(obj), x, y), \
+ boost::bind(&EvasObject::checkPosition, boost::ref(obj), x, y) \
+ ) \
+ )
+
+#define EFL_CHECK_SHOW(obj) \
+ queueCallback( \
+ ModifyCheckCallback( \
+ boost::bind(&EvasObject::show, boost::ref(obj)), \
+ boost::bind(&EvasObject::checkVisible, boost::ref(obj), EINA_TRUE) \
+ ) \
+ )
+
+#define EFL_CHECK_HIDE(obj) \
+ queueCallback( \
+ ModifyCheckCallback( \
+ boost::bind(&EvasObject::hide, boost::ref(obj)), \
+ boost::bind(&EvasObject::checkHidden, boost::ref(obj), EINA_TRUE) \
+ ) \
+ )
+
#endif
};
-#define EFL_CHECK_SIZE(obj, w, h)\
- queueCallback( \
- ModifyCheckCallback( \
- boost::bind(&EvasObject::setSize, boost::ref(obj), w, h), \
- boost::bind(&EvasObject::checkSize, boost::ref(obj), w, h) \
- ) \
- )
-
-#define EFL_CHECK_POSITION(obj, x, y) \
- queueCallback( \
- ModifyCheckCallback( \
- boost::bind(&EvasObject::setPosition, boost::ref(obj), x, y), \
- boost::bind(&EvasObject::checkPosition, boost::ref(obj), x, y) \
- ) \
- )
-
-#define EFL_CHECK_SHOW(obj) \
- queueCallback( \
- ModifyCheckCallback( \
- boost::bind(&EvasObject::show, boost::ref(obj)), \
- boost::bind(&EvasObject::checkVisible, boost::ref(obj), EINA_TRUE) \
- ) \
- )
-
-#define EFL_CHECK_HIDE(obj) \
- queueCallback( \
- ModifyCheckCallback( \
- boost::bind(&EvasObject::hide, boost::ref(obj)), \
- boost::bind(&EvasObject::checkHidden, boost::ref(obj), EINA_TRUE) \
- ) \
- )
-
#endif
#include "application.h"
#include "window.h"
#include "background.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
using boost::filesystem::path;
#include <string>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
#include "templates.h"
#include <boost/bind.hpp>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
#include "templates.h"
#include <boost/bind.hpp>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
#include "templates.h"
#include <boost/bind.hpp>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
class ColorselectorColorTest : public ElmTestHarness
#include <vector>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
#include "templates.h"
#include <string>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
using std::string;
#include <vector>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
#include "templates.h"
#include <vector>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
#include "templates.h"
#include <vector>
#include "window.h"
-#include "evasobject.h"
+
#include "elmtestharness.h"
#include "templates.h"