Projet

Général

Profil

Révision a192dc0b

Ajouté par Assos Assos il y a environ 8 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/feeds/tests/common_syndication_parser.test
32 32
    $this->_testRSS10();
33 33
    $this->_testRSS2();
34 34
    $this->_testAtomGeoRSS();
35
    $this->_testAtomGeoRSSWithoutAuthor();
35 36
  }
36 37

  
37 38
  /**
......
82 83
    $this->assertEqual($feed['items'][3]['geolocations'][0]['lon'], '172.5902');
83 84
  }
84 85

  
86
  /**
87
   * Tests parsing an Atom feed without an author.
88
   */
89
  protected function _testAtomGeoRSSWithoutAuthor() {
90
    $string = $this->readFeed('earthquake-georss-noauthor.atom');
91
    $feed = common_syndication_parser_parse($string);
92
  }
93

  
85 94
  /**
86 95
   * Helper to read a feed.
87 96
   */

Formats disponibles : Unified diff