Skip to content

Commit

Permalink
Convert Sample XML code to XCTest (#1)
Browse files Browse the repository at this point in the history
Currently most of the tests can be started with custom testing code in `Sample XML` directory. This prevents easy testing with SwiftPM and generation of code coverage. Tests should be migrated to XCTest to get true test coverage numbers.

`Sample XML` contents:

- `Breakfast`
- `Books`
- `Plants`
- `RJI`
- `CDs`
- `Notes`

* Convert Breakfast XML example to XCTest
* Convert books sample to XCTest
* Fix date formatter time zone issue
* Migrate ‘Note’ test to proper `XCTest` test case (#5)
* Remove missing files from the project file
* Convert PlantCatalog to XCTest, related cleanups
* Convert CDs to XCTest, use Decimal for currency
* Remove empty directories from project file
* Migrated ‘RJI’ test to proper `XCTest` test case (#6)
* Cleanup RJI tests
  • Loading branch information
MaxDesiatov committed Dec 14, 2018
1 parent ffdeed2 commit 0f07759
Show file tree
Hide file tree
Showing 23 changed files with 1,259 additions and 1,149 deletions.
142 changes: 0 additions & 142 deletions Sample XML/Books/Books.swift

This file was deleted.

10 changes: 0 additions & 10 deletions Sample XML/Books/book.xml

This file was deleted.

54 changes: 0 additions & 54 deletions Sample XML/BreakfastMenu/breakfast.swift

This file was deleted.

33 changes: 0 additions & 33 deletions Sample XML/BreakfastMenu/breakfast.xml

This file was deleted.

69 changes: 0 additions & 69 deletions Sample XML/CDs/CDCatalog.swift

This file was deleted.

63 changes: 0 additions & 63 deletions Sample XML/Notes/Notes.swift

This file was deleted.

6 changes: 0 additions & 6 deletions Sample XML/Notes/note.xml

This file was deleted.

7 changes: 0 additions & 7 deletions Sample XML/Notes/note_error.xml

This file was deleted.

0 comments on commit 0f07759

Please sign in to comment.