spec/xcpretty/parser_spec.rb in xcpretty-0.0.9 vs spec/xcpretty/parser_spec.rb in xcpretty-0.1.0

- old
+ new

@@ -115,10 +115,16 @@ 'enabled_signal_should_send_YES_while_executing_is_YES_and_allowsConcurrentExecution_is_YES', '0.001') @parser.parse(SAMPLE_OCUNIT_TEST) end + it "parses pending tests" do + @formatter.should receive(:format_pending_test).with('TAPIConversationSpec', + 'TAPIConversation_createConversation_SendsAPOSTRequestToTheConversationsEndpoint') + @parser.parse(SAMPLE_PENDING_KIWI_TEST) + end + it "parses PhaseScriptExecution" do @formatter.should receive(:format_phase_script_execution).with('Check Pods Manifest.lock') @parser.parse(SAMPLE_RUN_SCRIPT) end @@ -133,9 +139,21 @@ end it "parses PBXCp" do @formatter.should receive(:format_pbxcp).with("build/Release/CocoaChipCore.framework") @parser.parse(SAMPLE_PBXCP) + end + + it "parses Touch" do + @formatter.should receive(:format_touch).with( + '/Users/musalj/Library/Developer/Xcode/DerivedData/Alcatraz-aobuxcinaqyzjugrnxjjhfzgwaou/Build/Products/Debug/AlcatrazTests.octest', + 'AlcatrazTests.octest') + @parser.parse(SAMPLE_TOUCH) + end + + it "parses TiffUtil" do + @formatter.should receive(:format_tiffutil).with('eye_icon.tiff') + @parser.parse(SAMPLE_TIFFUTIL) end it "parses undefined symbols" do @formatter.should receive(:format_linker_failure).with("Undefined symbols for architecture x86_64", '_OBJC_CLASS_$_CABasicAnimation',