ShaarliResponseXsltTest.m 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //
  2. // ShaarliResponseXsltTest.m
  3. // ShaarliOS
  4. //
  5. // Created by Marcus Rohrmoser on 02.08.15.
  6. // Copyright (c) 2015-2016 Marcus Rohrmoser http://mro.name/me. All rights reserved.
  7. //
  8. // This program is free software: you can redistribute it and/or modify
  9. // it under the terms of the GNU General Public License as published by
  10. // the Free Software Foundation, either version 3 of the License, or
  11. // (at your option) any later version.
  12. //
  13. // This program is distributed in the hope that it will be useful,
  14. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. // GNU General Public License for more details.
  17. //
  18. // You should have received a copy of the GNU General Public License
  19. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. //
  21. #import <UIKit/UIKit.h>
  22. #import <XCTest/XCTest.h>
  23. #import <libxml2/libxml/HTMLparser.h>
  24. /** getting xslt is a bit a pain: http://stackoverflow.com/questions/7895157/applying-xslt-to-an-xml-coming-from-a-webservice-in-ios
  25. */
  26. @interface ShaarliResponseXsltTest : XCTestCase
  27. @end
  28. @implementation ShaarliResponseXsltTest
  29. -(void)setUp
  30. {
  31. [super setUp];
  32. // Put setup code here. This method is called before the invocation of each test method in the class.
  33. }
  34. -(void)tearDown
  35. {
  36. // Put teardown code here. This method is called after the invocation of each test method in the class.
  37. [super tearDown];
  38. }
  39. -(void)testExample
  40. {
  41. // This is an example of a functional test case.
  42. XCTAssert(YES, @"Pass");
  43. }
  44. -(void)testPerformanceExample
  45. {
  46. // This is an example of a performance test case.
  47. [self measureBlock:^{
  48. // Put the code you want to measure the time of here.
  49. }
  50. ];
  51. }
  52. @end