Commit Graph
18 Commits
Author SHA1 Message Date
Shin Mao f598bc9ee3 Removed the Parser APIs from the Contract For Now. (dotnet/corefx#25862)
Commit migrated from https://github.com/dotnet/corefx/commit/78154e785dc0d232384068fed54a276d0371bf15
2017-12-12 13:52:11 -08:00
Shin Mao 2cddb8e16e Move New Syndication APIs to NetCore Specific Ref (dotnet/corefx#25611)
* Move New Syndication APIs to NetCore Specific Ref

Move New Syndication APIs to NetCore Specific Ref Assembly.
Fix dotnet/corefx#25585

* Fixed Syndication Netfx Ref

* Merged Test Projects.


Commit migrated from https://github.com/dotnet/corefx/commit/04a2e391c0bba28619e011425bf906d21c81dcb3
2017-11-30 17:22:32 -08:00
Shin Mao e75a6f5e2e Improve Syndication DateTime Parsing (dotnet/corefx#25309)
* Improve Syndication DateTime Parsing.

Fix dotnet/corefx#25156

* Enable custom parser.

* Enabled StringParser.

Added tests for custom DateTimeParser and StringParser.

* Enable Custom UriParser.

Added tests for custom UriParser.

* Removed StringParser.

* Addressed CR Feedback.

* Unform LocalNames Passed to UriParser.


Commit migrated from https://github.com/dotnet/corefx/commit/93764c0991d167e3b74f41f1ea129004ce10598c
2017-11-28 16:05:56 -08:00
JimboWei 84f1f2f31a Add failure feeds file and test case for negative feed test (dotnet/corefx#25237)
* Add failure feeds and test case for feed test

* Update


Commit migrated from https://github.com/dotnet/corefx/commit/9b8e1d94e484343a179a29472710e291b2305d17
2017-11-16 15:22:44 -08:00
Shin Mao 2c700ea23f Enable Syndication to Read Disjoint Items (dotnet/corefx#25166)
* Enable Syndication to Read Disjoint Items.

Fix dotnet/corefx#25080

* minor changes.

* Addressed CR feedback.

* Updated the changes.


Commit migrated from https://github.com/dotnet/corefx/commit/81452830d736373c771c5bb85713cd2e3e9b6a9a
2017-11-16 10:37:00 -08:00
JimboWei ee0e65e492 Add test case for Rss feed (dotnet/corefx#24972)
* Add test case for Rss feed

* Mark with issue dotnet/corefx#24971

* Improve code to make it easier for debugging

* Update

* Refactor test code

* Remove useless code

* Update


Commit migrated from https://github.com/dotnet/corefx/commit/3ba28a6dcbc88dd2bfdb0c6c2f9c5524ee57a979
2017-11-09 13:50:42 -08:00
Shin Mao 83452cd0bf Reset Syndication src\ (dotnet/corefx#25059)
* Reset Syndication \src

* Marked a test with ActiveIssue.

* CodeFormatted Syndication src\.

* Removed old header.

* Minor changes.

* Remove unused string resources

* Second round of code formatting


Commit migrated from https://github.com/dotnet/corefx/commit/5197ece2f6f492f011b300eaf4616faa4f96dca8
2017-11-06 17:20:20 -08:00
Shin Mao 70aeb25eee Fixed Bugs with DateTime Parsing (dotnet/corefx#24899)
* Fixed Bugs with Parsing DateTime String.

Fix dotnet/corefx#24894

* Improved error message.

* Fixed feed name.

* Use Rfc3339DateTimeFormat.

* Refactor the code.

* removed unused code

* Fixed Rfc3339DateTimeParser.


Commit migrated from https://github.com/dotnet/corefx/commit/a6c58c0efaa43967b63cc5ef676ba7cc81e00218
2017-10-27 17:10:08 -07:00
JimboWei 45043e6491 Syndication test (dotnet/corefx#24570)
* Add SyndicationFeed Test case

* Add Xml compare Utils class

* Add CompareHelper for incomplete standard  feed files.

* Add issue dotnet/corefx#24571 and dotnet/corefx#24572 for failed test case.

* Change to use async method and mark failed case with active issue dotnet/corefx#24604

* Refactored code

* Add Feed files for AtomFees test

* Update

* Remove useless feeds files , and mark  the cause of the failed feeds files

* Update

* Modify test case from Async to Sync. Remove issue attribute dotnet/corefx#24571 dotnet/corefx#24572 dotnet/corefx#24604,
mark with new issue dotnet/corefx#24894.


Commit migrated from https://github.com/dotnet/corefx/commit/76baca36b0d678b9edb218c1aa08fec037a81a72
2017-10-26 09:28:58 -07:00
Christopher Costa 3f073d8c37 Fix build break
Commit migrated from https://github.com/dotnet/corefx/commit/9802ece28ea68480baa57b2e63f56067b7ecdc2b
2017-10-24 20:32:29 -07:00
Shin Mao 02f52a8cff Changed Syndication Tests to Test Sync APIs. (dotnet/corefx#24827)
Commit migrated from https://github.com/dotnet/corefx/commit/b88ad22208c22d0d87a794fda9bed94101963288
2017-10-24 12:52:58 -07:00
Shin Mao 4c6eb3e7e7 Add Synchronous APIs in Syndication for .Net Core (dotnet/corefx#24720)
* Added WriteAttributeExtensions and WriteElementExtensions.

* Added ReadFrom and WriteTo

* Changed CanReadAsync to CanRead

* Lots of changes.

* More Changes.

* Add IXmlSerializable on some types.

* Fix errors after resolving rebase-conflicts.

* Addressed CR feedback.


Commit migrated from https://github.com/dotnet/corefx/commit/5cf1687385b1754108f3c274a596052c3a4e5717
2017-10-20 17:28:32 -07:00
Matt Connew f6d0f2e5e7 Syndication Feed async wrapper improvements (dotnet/corefx#24613)
* Fixed XmlWriterWrapper and XmlReaderWrapper so they don't wrap unnecessarily
* Removing unnecessary this. prefixes plus some minor formatting cleanup
* String resource cleanup and string.Format -> SR.Format
* Improved DateTime parsers and moved parser properties to base FeedFormatter
* Small fixes for CR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/1b2646e182fefa25e77ff9329444c146229c50e8
2017-10-20 13:20:14 -07:00
Shin Mao 44ddb670b6 CodeFormatted S.SM.Syndication. (dotnet/corefx#24520)
* CodeFormatted S.SM.Syndication.

* Address feedback.


Commit migrated from https://github.com/dotnet/corefx/commit/7f7c79a3eafe0239d020de2f3d55f6226f6b6732
2017-10-09 19:00:43 -04:00
Xing Mao cc7f4ecb8b Fixed the Namespace used by S.SM.Syndication.
Commit migrated from https://github.com/dotnet/corefx/commit/fea1aaaa8eb63f8fdf4db566420685faaed6ff1a
2017-09-27 13:42:59 -07:00
Shin Mao 8a29720bb6 Fix the Build of Syndication and the Test. (dotnet/corefx#24214)
* Fix the Build of Syndication and the Test.

* Changed Version of Syndication to 4.0.0.0

* Fixed Syndication Test Failures on Unix.


Commit migrated from https://github.com/dotnet/corefx/commit/798f5ebd0960ae8836fb58edaf50e1a32b3c5234
2017-09-27 13:36:15 -07:00
Xing Mao f5aa6f7b7f Disable Build of S.SM.Syndication.
Commit migrated from https://github.com/dotnet/corefx/commit/e35e0cb7c8ea17ed654f5ec31c274ac314709464
2017-09-21 16:43:32 -07:00
Xing Mao 5d57cf19e8 Move Syndication to root/src
Commit migrated from https://github.com/dotnet/corefx/commit/c7b485f7867f60055cba7c1d395581711f0a7077
2017-09-21 16:36:46 -07:00