Added support for id-tag in Atom's feed-element

This commit is contained in:
daniel oeh
2012-09-02 15:18:47 +02:00
parent 7e97934764
commit 6ed19acd34
5 changed files with 99 additions and 76 deletions

View File

@ -460,6 +460,14 @@ public class FeedHandlerTest extends AndroidTestCase {
Log.e(TAG, "Feed has empty link");
return false;
}
if (feed.getIdentifyingValue() == null) {
Log.e(TAG, "Feed has no identifying value");
return false;
}
if (feed.getIdentifyingValue() != null
&& feed.getIdentifyingValue().length() == 0) {
Log.e(TAG, "Feed has empty identifying value");
}
return true;
}