incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Assigned) (JIRA)" <>
Subject [jira] [Assigned] (CB-424) Many typeof tests are invalid
Date Sat, 07 Apr 2012 08:26:12 GMT


Filip Maj reassigned CB-424:

    Assignee: Filip Maj
> Many typeof tests are invalid
> -----------------------------
>                 Key: CB-424
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: mobile-spec
>    Affects Versions: 1.5.0
>            Reporter: Jesse MacFadyen
>            Assignee: Filip Maj
> There are many tests that test the existence of interfaces where duck-typing should be
> ex. The geolocation tests test if the code can create a Coordinates object.
> The spec says that the Coordinates object has certain properties, but it does NOT specify
that window.Coordinates is a function, or that typeof on a returned Coordinates object should
be of type Coordinates.
> We should be testing solely on the existence of the properties defined in the spec.
> Realistically, there is no reason for a developer to create a Coordinates object as none
of the APIs expect this object. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message