If a data provider function returns an emty array the results XML contains some XML elements about the skipped test (the test method that uses this data provider).
When defining a test method and using a @dataProvider annotation, but pointing to a non existing data provider function this should be create the same XML about the skipped test.
Because of the missing XML about the skipped test (second example above) i can not notice the skipped test in my IDE (netbeans).