2012/9/10 Daniel Juyung Seo <[email protected]>

> Good commit :)
> Yes, we need more external test cases.
>

yup, thanks! I'm going to commit some other tests soon.


> But I got the following error while launching ExtButton test.
>

> ERR<11474>:edje edje_util.c:3090
> edje_object_size_min_restricted_calc() file
> /usr/local/share/elementary/themes/default.edj, group
> elm/button/base/default has a non-fixed part 'elm.text'. Adding
> 'fixed: 1 1;' to source EDC may help. Continuing discarding faulty
> part.
>

yes, I see the error, it's the disabled state of the last button (that is
also
bad rendered), the bug is also noted in the intro label of the test.
But atm I don't have time to look for a fix...I'm just going to make some
tests that spot out bugs...
I'm hoping someone else will give a look :)

davemds


>
> I don't know why this happens. If I had not disabled the button, it
> looked good and I got no error message.
> Thanks.
>
> Daniel Juyung Seo (SeoZ)
>
> On Sat, Sep 8, 2012 at 5:16 AM, Enlightenment SVN
> <[email protected]> wrote:
> > Log:
> > Elementary: new tests for edje-external of some widgets, buttons and
> slider done so far, more to come.
> >   All the interaction in this tests are 'pure edje', no c code involved
> at all.
> >
> >   NOTE: 2 little external bugs are hilighted in the tests, didn't found
> the time to look for fixes :(
> >
> > Author:       davemds
> > Date:         2012-09-07 13:16:30 -0700 (Fri, 07 Sep 2012)
> > New Revision: 76322
> > Trac:         http://trac.enlightenment.org/e/changeset/76322
> >
> > Added:
> >   trunk/elementary/data/objects/test_external.edc
> trunk/elementary/src/bin/test_external.c
> > Modified:
> >   trunk/elementary/data/objects/Makefile.am
> trunk/elementary/src/bin/Makefile.am trunk/elementary/src/bin/test.c
> >
> > Modified: trunk/elementary/data/objects/Makefile.am
> > ===================================================================
> > --- trunk/elementary/data/objects/Makefile.am   2012-09-07 19:29:37 UTC
> (rev 76321)
> > +++ trunk/elementary/data/objects/Makefile.am   2012-09-07 20:16:30 UTC
> (rev 76322)
> > @@ -9,10 +9,11 @@
> >
> >  filesdir = $(datadir)/elementary/objects
> >
> > -files_DATA = test.edj multip.edj cursors.edj font_preview.edj
> postit_ent.edj multibuttonentry.edj
> > +files_DATA = test.edj test_external.edj multip.edj cursors.edj
> font_preview.edj postit_ent.edj multibuttonentry.edj
> >
> >  EXTRA_DIST = \
> >  test.edc \
> > +test_external.edc \
> >  multip.edc \
> >  cursors.edc \
> >  font_preview.edc \
> > @@ -29,6 +30,11 @@
> >         $(top_srcdir)/data/objects/test.edc \
> >         $(top_builddir)/data/objects/test.edj
> >
> > +test_external.edj: Makefile $(EXTRA_DIST)
> > +       $(EDJE_CC) $(EDJE_FLAGS) \
> > +       $(top_srcdir)/data/objects/test_external.edc \
> > +       $(top_builddir)/data/objects/test_external.edj
> > +
> >  multip.edj: Makefile $(EXTRA_DIST)
> >         $(EDJE_CC) $(EDJE_FLAGS) \
> >         $(top_srcdir)/data/objects/multip.edc \
> >
> > Modified: trunk/elementary/src/bin/Makefile.am
> > ===================================================================
> > --- trunk/elementary/src/bin/Makefile.am        2012-09-07 19:29:37 UTC
> (rev 76321)
> > +++ trunk/elementary/src/bin/Makefile.am        2012-09-07 20:16:30 UTC
> (rev 76322)
> > @@ -58,6 +58,7 @@
> >  test_entry.c \
> >  test_entry_anchor.c \
> >  test_entry_anchor2.c \
> > +test_external.c \
> >  test_fileselector_button.c \
> >  test_fileselector.c \
> >  test_fileselector_entry.c \
> >
> > Modified: trunk/elementary/src/bin/test.c
> > ===================================================================
> > --- trunk/elementary/src/bin/test.c     2012-09-07 19:29:37 UTC (rev
> 76321)
> > +++ trunk/elementary/src/bin/test.c     2012-09-07 20:16:30 UTC (rev
> 76322)
> > @@ -184,6 +184,8 @@
> >  void test_popup(void *data, Evas_Object *obj, void *event_info);
> >  void test_dayselector(void *data, Evas_Object *obj, void *event_info);
> >  void test_image(void *data, Evas_Object *obj, void *event_info);
> > +void test_external_button(void *data, Evas_Object *obj, void
> *event_info);
> > +void test_external_slider(void *data, Evas_Object *obj, void
> *event_info);
> >  #ifdef HAVE_EMOTION
> >  void test_video(void *data, Evas_Object *obj, void *event_info);
> >  #endif
> > @@ -528,6 +530,10 @@
> >     ADD_TEST(NULL, "Effects", "Animation", test_anim);
> >
> >     //------------------------------//
> > +   ADD_TEST(NULL, "Edje External", "ExtButton", test_external_button);
> > +   ADD_TEST(NULL, "Edje External", "ExtSlider", test_external_slider);
> > +
> > +   //------------------------------//
> >     ADD_TEST(NULL, "Toolbars", "Toolbar", test_toolbar);
> >     ADD_TEST(NULL, "Toolbars", "Toolbar 2", test_toolbar2);
> >     ADD_TEST(NULL, "Toolbars", "Toolbar 3", test_toolbar3);
> > @@ -697,10 +703,9 @@
> >
> >     if (autorun)
> >       {
> > -        size_t alen = strlen(autorun);
> >          EINA_LIST_FOREACH(tests, l, t)
> >            {
> > -             if ((t->name) && (t->cb) && (!strncasecmp(t->name,
> autorun, alen)))
> > +             if ((t->name) && (t->cb) && (!strcasecmp(t->name,
> autorun)))
> >                 {
> >                    t->cb(NULL, NULL, NULL);
> >                    break;
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > enlightenment-svn mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to