Hey Jim,
Pretty sure I see what's going on here.
The way dataproviders work is that for each item in the provider,
it'll inject that item as a single argument.
So since your data provider is an array of structs, your test function
will just receive that struct as its only argument. You can see
exactly what you're getting with something like this:
function test_sortByUpdate(data) mxunit:dataprovider="sortByUpdateData" {
debug(data)
}
which will dump out what you're getting.
Let me know if that helps.
Marc
> --
> You received this message because you are subscribed to the Google Groups
> "mxunit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mxunit+un...@googlegroups.com.
> To post to this group, send email to
mxu...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/mxunit.
> For more options, visit
https://groups.google.com/d/optout.