You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/12/03 21:45:10 UTC

[jira] [Closed] (TINKERPOP-992) Better support for schema driven Graphs in IO related tests

     [ https://issues.apache.org/jira/browse/TINKERPOP-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stephen mallette closed TINKERPOP-992.
--------------------------------------
    Resolution: Implemented

Made a couple minor changes to clean this up.  Opted to not introduce {{supportsSchema}} as it seemed like overkill to get around one or two troublesome tests in the entire suite.  I ended up just loosening up the asserts on the "weight" property for classic/modern graphs.  That should allow tests to pass for graphs that have strong typing in the background.

> Better support for schema driven Graphs in IO related tests
> -----------------------------------------------------------
>
>                 Key: TINKERPOP-992
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-992
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: test-suite
>    Affects Versions: 3.1.0-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>             Fix For: 3.1.1-incubating
>
>
> Some specifics: 
> * In {{IoGraphTest}} there are calls to create new graphs that don't pass the {{LoadGraphWith}} value (or pass the wrong one)
> * Asserts occur assuming that the type in the intermediate data (e.g. graphson) is representative of the type that will be in the graph - this may not be the case if the graph coerces values to a known type in its schema.
> Need to make this all nicer - perhaps a new feature is in order {{supportsSchema}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)