Start Time: 2012-02-21 21:21:08
Duration: 0:04:04.027822
Status: Pass 390
| Test Group/Test case | Count | Pass | Fail | Error | View |
| mythboxtest.test_platform.PlatformTest | 7 | 7 | 0 | 0 | Detail |
test__str__NotNull |
pass | ||||
test_getHostname |
pass | ||||
test_getPlatform |
pass | ||||
test_getPlatform_SameInstance |
pass | ||||
test_getScriptDataDirNotNull |
pass | ||||
test_getScriptDirNotNull |
pass | ||||
test_getUserDataDir |
pass | ||||
| mythboxtest.test_util.BidiIteratorTest | 11 | 11 | 0 | 0 | Detail |
test_When_list_empty_Then_raise_StopIteration |
pass | ||||
test_When_many_next_and_reach_end_of_list_Then_raise_StopIteration |
pass | ||||
test_When_next_and_len_is_1_Then_return_1 |
pass | ||||
test_When_next_and_reach_end_of_list_Then_raise_StopIteration |
pass | ||||
test_When_previous_and_len_is_1_Then_raise_StopIteration |
pass | ||||
test_current_after_next_and_len_is_1_Then_return_1 |
pass | ||||
test_current_and_len_is_1_Then_raise_StopIteration |
pass | ||||
test_current_with_len_1_and_initial_pos_0_returns_1 |
pass | ||||
test_next_previous_combo |
pass | ||||
test_next_with_initial_position_specified |
pass | ||||
test_previous_with_initial_position_specified |
pass | ||||
| mythboxtest.test_util.BoundedEvictingQueueTest | 1 | 1 | 0 | 0 | Detail |
test_put_FillingToCapacityPlusOneEvictsFirstItem |
pass | ||||
| mythboxtest.test_util.CoalesceDecoratorTest | 5 | 5 | 0 | 0 | Detail |
test_When_bar_called_by_bunch_of_threads_Then_thread1_runs_bar_and_all_others_return_immediately |
pass | ||||
test_When_coalescing_bar_Then_should_have_no_affect_on_coalescing_baz |
pass | ||||
test_When_foo_called_by_two_threads_Then_thread1_runs_foo_and_thread2_returns_immediately |
pass | ||||
test_When_foo_coalesced_on_single_thread_Then_acts_like_plain_old_synchronous_method_call |
pass | ||||
test_When_previous_calls_have_been_coalesced_and_completed_and_bar_is_called_Then_runs_bar_again |
pass | ||||
| mythboxtest.test_util.CyclingBidiIteratorTest | 8 | 8 | 0 | 0 | Detail |
test_When_list_empty_Then_raise_StopIteration |
pass | ||||
test_When_next_and_len_gt_1_Then_wrap_around |
pass | ||||
test_When_next_and_len_is_1_Then_always_return_1 |
pass | ||||
test_When_previous_and_len_gt_1_Then_wrap_around |
pass | ||||
test_When_previous_and_len_is_1_Then_always_return_1 |
pass | ||||
test_next_previous_combo |
pass | ||||
test_next_with_initial_position_specified |
pass | ||||
test_previous_with_initial_position_specified |
pass | ||||
| mythboxtest.test_util.MaxThreadsDecoratorTest | 1 | 1 | 0 | 0 | Detail |
test_max_threads_works |
pass | ||||
| mythboxtest.test_util.ModuleTest | 10 | 10 | 0 | 0 | Detail |
test_formatSeconds |
pass | ||||
test_formatSize |
pass | ||||
test_my_understanding_of_mixing_kwargs_with_double_asterisk_on_method_invocation |
pass | ||||
test_slice_When_items_empty_Then_returns_num_empty_lists |
pass | ||||
test_slice_When_items_eq_num_Then_returns_num_lists_with_each_item |
pass | ||||
test_slice_When_items_gt_num_Then_returns_num_lists_with_items_wrapping_around |
pass | ||||
test_slice_When_items_lt_num_Then_returns_num_minus_items_empty_lists_at_end |
pass | ||||
test_to_kwargs_When_args_not_empty_Then_returns_dict_with_args |
pass | ||||
test_which_ExecutableFound |
pass | ||||
test_which_ExecutableNotFound |
pass | ||||
| mythboxtest.test_util.NativeTranslatorTest | 3 | 3 | 0 | 0 | Detail |
test_get_ByIntegerIdReturnsString |
pass | ||||
test_get_ByStringReturnsString |
pass | ||||
test_get_ByUnicodeStringReturnsUnicodeString |
pass | ||||
| mythboxtest.test_util.RunAsyncDecoratorTest | 2 | 2 | 0 | 0 | Detail |
test_run_async |
pass | ||||
test_waitForWorkersToDie |
pass | ||||
| mythboxtest.test_util.SynchronizedDecoratorTest | 3 | 3 | 0 | 0 | Detail |
test_When_bar_called_from_multiple_threads_Then_access_is_synchronized |
pass | ||||
test_When_foo_synchronized_on_single_thread_Then_acts_like_plain_old_synchronous_method_call |
pass | ||||
test_When_syncing_on_bar_Then_doesnt_affect_syncing_on_baz |
pass | ||||
| mythboxtest.test_util.TimedCacheDecoratorTest | 1 | 1 | 0 | 0 | Detail |
test_timed_cache_works |
pass | ||||
| mythboxtest.test_util.TimedDecoratorTest | 1 | 1 | 0 | 0 | Detail |
test_DecoratorPrintsOutWarningWhenExecutionTimeExceedsOneSecond |
pass | ||||
| mythboxtest.test_log.LogScraperTest | 7 | 7 | 0 | 0 | Detail |
test_matchLineAsync_When_search_string_found_Then_callback_invoked_with_matching_text |
pass
pt13.1: Writing "aaa" to /tmp/tmp1xRwLr/xbmc.log
Writing "bbb" to /tmp/tmp1xRwLr/xbmc.log
Writing "ccc" to /tmp/tmp1xRwLr/xbmc.log
Writing "xxx" to /tmp/tmp1xRwLr/xbmc.log
|
||||
test_matchLineAsync_When_search_string_not_found_Then_callback_invoked_with_None |
pass
pt13.2: Writing "aaa" to /tmp/tmpElxxOH/xbmc.log
Writing "bbb" to /tmp/tmpElxxOH/xbmc.log
Writing "ccc" to /tmp/tmpElxxOH/xbmc.log
Writing "xxx" to /tmp/tmpElxxOH/xbmc.log
Writing "yyy" to /tmp/tmpElxxOH/xbmc.log
|
||||
test_matchLine_When_called_in_succession_many_times_Then_doesnt_fail |
pass
pt13.3: Writing "aaa" to /tmp/tmpjzst72/xbmc.log
Writing "bbb" to /tmp/tmpjzst72/xbmc.log
Writing "ccc" to /tmp/tmpjzst72/xbmc.log
Writing "xxx" to /tmp/tmpjzst72/xbmc.log
Writing "yyy" to /tmp/tmpjzst72/xbmc.log
Writing "zzz" to /tmp/tmpjzst72/xbmc.log
Writing "jjj" to /tmp/tmpjzst72/xbmc.log
|
||||
test_matchLine_When_file_does_not_exist_Then_throws_IOError |
pass | ||||
test_matchLine_When_search_string_eventually_shows_up_in_log_but_times_out_first_Then_return_None |
pass
pt13.5: Writing "aaa" to /tmp/tmpOnIoHR/xbmc.log
Writing "bbb" to /tmp/tmpOnIoHR/xbmc.log
Writing "ccc" to /tmp/tmpOnIoHR/xbmc.log
|
||||
test_matchLine_When_search_string_found_Then_return_matching_text |
pass
pt13.6: Writing "aaa" to /tmp/tmpIWyh1e/xbmc.log
Writing "bbb" to /tmp/tmpIWyh1e/xbmc.log
Writing "ccc" to /tmp/tmpIWyh1e/xbmc.log
Writing "xxx" to /tmp/tmpIWyh1e/xbmc.log
text = xxx
|
||||
test_matchLine_When_search_string_not_found_Then_times_out_and_returns_None |
pass
pt13.7: Writing "aaa" to /tmp/tmpfLdu6i/xbmc.log
Writing "bbb" to /tmp/tmpfLdu6i/xbmc.log
Writing "ccc" to /tmp/tmpfLdu6i/xbmc.log
|
||||
| mythboxtest.mythtv.test_db.MythDatabaseTest | 26 | 26 | 0 | 0 | Detail |
test_constructor |
pass | ||||
test_getBackends |
pass | ||||
test_getChannels |
pass | ||||
test_getFramerate |
pass | ||||
test_getJobs_All |
pass | ||||
test_getJobs_ByJobType |
pass | ||||
test_getJobs_ForProgram |
pass | ||||
test_getJobs_ForProgram_ByJobType |
pass | ||||
test_getMasterBackend |
pass | ||||
test_getMythSetting_KeyOnly_Found |
pass | ||||
test_getMythSetting_KeyOnly_NotFound |
pass | ||||
test_getMythSetting_KeyWithHostname_Found |
pass | ||||
test_getMythSetting_KeyWithHostname_NotFound |
pass | ||||
test_getRecordingGroups |
pass | ||||
test_getRecordingProfileNames |
pass | ||||
test_getRecordingSchedules_All |
pass | ||||
test_getRecordingSchedules_By_Channel |
pass | ||||
test_getRecordingSchedules_By_ScheduleId |
pass | ||||
test_getRecordingTitles_ForDeletedRecordingsGroup |
pass | ||||
test_getRecordingTitles_ForNonExistantRecordingGroupReturnsAllShowsWithCountOfZero |
pass | ||||
test_getRecordingTitles_InAllGroups |
pass | ||||
test_getSlaveBackends |
pass | ||||
test_getTVGuideDataFlattened |
pass | ||||
test_getTuners |
pass | ||||
test_getUserJobs |
pass | ||||
test_toBackend |
pass | ||||
| mythboxtest.mythtv.test_conn.ConnectionTest | 42 | 42 | 0 | 0 | Detail |
test_generateThumbnail_ReturnsTrue |
pass | ||||
test_generateThumbnail_WithSpecificSize |
pass | ||||
test_getAllRecordings |
pass | ||||
test_getBookmark_Success |
pass | ||||
test_getCommercialBreaks |
pass | ||||
test_getDiskUsage |
pass | ||||
test_getFreeTuner |
pass | ||||
test_getGuideDataStatus |
pass | ||||
test_getLoad |
pass | ||||
test_getNextFreeTuner |
pass | ||||
test_getNumFreeTuners |
pass | ||||
test_getRecording_Found |
pass | ||||
test_getRecording_NotFound |
pass | ||||
test_getRecordings_AllRecordingGroupsAndTitles |
pass | ||||
test_getScheduledRecordings |
pass | ||||
test_getServerVersion |
pass | ||||
test_getSetting |
pass | ||||
test_getThumbNailCreationTime_ThumbnailDoesNotExist |
pass | ||||
test_getThumbnailCreationTime_ThumbnailExists |
pass | ||||
test_getTunerShowing_NoCardsAreWatchingOrRecordingThePassedInShow |
pass | ||||
test_getTunerShowing_ReturnCardThatShowIsBeingWatchedAndRecordedOn |
pass | ||||
test_getTunerShowing_ReturnCardThatShowIsBeingWatchedOn |
pass | ||||
test_getTunerStatus_Success |
pass | ||||
test_getTuners |
pass | ||||
test_getUpcomingRecordings_When_filter_is_conflict_Then_returns_only_program_that_will_not_be_recorded_because_of_a_conflict |
pass | ||||
test_getUpcomingRecordings_When_filter_is_scheduled_Then_returns_only_program_that_will_be_recorded |
pass | ||||
test_getUpcomingRecordings_When_no_args_Then_returns_only_programs_that_will_be_recorded |
pass | ||||
test_getUptime |
pass | ||||
test_isOk_BadMessageReturnsFalse |
pass | ||||
test_isOk_EmptyMessageReturnsFalse |
pass | ||||
test_isOk_NoneMessageReturnsFalse |
pass | ||||
test_isOk_OKMessageReturnsTrue |
pass | ||||
test_isOk_OKMessageWithAdditionPayloadReturnsTrue |
pass | ||||
test_isTunerRecording |
pass | ||||
test_negotiateProtocol_RaisesProtocolException_When_ClientVersion_NotSupported_By_Server |
pass | ||||
test_rescheduleNotify_Does_Something_Else_When_ScheduleId_missing |
pass | ||||
test_rescheduleNotify_Successful |
pass | ||||
test_setBookmark_ChannelIdInvalid |
pass | ||||
test_setBookmark_Success |
pass | ||||
test_transferFile_FileExistsOnBackend_Success |
pass | ||||
test_transferFile_When_file_does_not_exist_on_backend_Then_transfer_aborted |
pass | ||||
test_transferFile_When_partial_transfer_requested_Then_only_send_part_of_file |
pass
pt15.42: /tmp/test_partial_transfer_Br5MHG.mpg
|
||||
| mythboxtest.mythtv.test_conn.EventConnectionTest | 1 | 1 | 0 | 0 | Detail |
test_read_a_system_event |
pass
pt16.1: [u'BACKEND_MESSAGE', u'RECORDING_LIST_CHANGE UPDATE', u'Music Box', u'', u'A countdown of popular trends in music and the people who set them; London-born style of dubstep; hip-hop in Japanese culture, an interview with DJ Garth Trinidad.', u'Special', u'3358', u'#3358', u'#3358', u'#3358', u'3358_20100324010000.mpg', u'1653111260', u'1269417600', u'1269421200', u'0', u'athena', u'0', u'0', u'0', u'1', u'-3', u'766', u'0', u'0', u'0', u'1269417600', u'1269421200', u'17', u'Default', u'', u'EP01248436', u'SH012484360000', u'1329888145', u'0', u'2010-03-23', u'Default', u'0', u'0', u'Default', u'1', u'8', u'1', u'0']
|
||||
| mythboxtest.mythtv.test_conn.FunctionsTest | 1 | 1 | 0 | 0 | Detail |
test_createChainId |
pass | ||||
| mythboxtest.mythtv.test_inject_conn.InjectConnDecoratorTest | 4 | 4 | 0 | 0 | Detail |
test_multiple_calls_to_tls_resource_in_same_thread_allocates_only_one_resource |
pass | ||||
test_nesting_method_calls_to_tls_resources_in_same_thread_allocates_only_one_resources |
pass | ||||
test_pound_with_20_threads |
pass | ||||
test_resource_is_shared_by_methods_in_objects_of_differing_class_but_in_the_same_thread |
pass | ||||
| mythboxtest.mythtv.test_protocol.Protocol40Test | 2 | 2 | 0 | 0 | Detail |
test_decodeLongLong |
pass | ||||
test_encodeLongLong |
pass | ||||
| mythboxtest.mythtv.test_publish.MythEventPublisherTest | 1 | 1 | 0 | 0 | Detail |
test_event_publisher |
pass | ||||
| mythboxtest.mythtv.test_domain.BackendTest | 3 | 3 | 0 | 0 | Detail |
test_eq_False_by_type |
pass | ||||
test_eq_True_by_reference |
pass | ||||
test_eq_by_value |
pass | ||||
| mythboxtest.mythtv.test_domain.ChannelTest | 6 | 6 | 0 | 0 | Detail |
test_constructor |
pass | ||||
test_constructor_IconMissing |
pass | ||||
test_getSortableChannelNumber_When_channel_number_contains_dot_Then_return_channel_number_as_float |
pass | ||||
test_getSortableChannelNumber_When_channel_number_contains_underscore_Then_return_channel_number_as_float |
pass | ||||
test_getSortableChannelNumber_When_channel_number_doesnt_seem_like_a_number_Then_return_channel_id |
pass | ||||
test_getSortableChannelNumber_When_channel_number_is_already_sortable_Then_return_channel_number |
pass | ||||
| mythboxtest.mythtv.test_domain.CheckForDupesUsingTest | 1 | 1 | 0 | 0 | Detail |
test_access_to_static_constants_works |
pass | ||||
| mythboxtest.mythtv.test_domain.CommercialBreakTest | 5 | 5 | 0 | 0 | Detail |
test_constructor |
pass | ||||
test_constructor_StartAfterEndFailsAssertion |
pass | ||||
test_isDuring_AfterCommercialReturnsFalse |
pass | ||||
test_isDuring_BeforeCommercialReturnsFalse |
pass | ||||
test_isDuring_True |
pass | ||||
| mythboxtest.mythtv.test_domain.JobTest | 23 | 23 | 0 | 0 | Detail |
test_eq_FalseForInvalidType |
pass | ||||
test_eq_FalseForJobsWithDifferentIds |
pass | ||||
test_eq_FalseForNone |
pass | ||||
test_eq_TrueForJobsWithTheSameId |
pass | ||||
test_eq_TrueForSameObjectInstance |
pass | ||||
test_getCommFlagRate_Raises_StatusException_WhenRunningButCommFlagRateNotAvailableYet |
pass | ||||
test_getCommFlagRate_Running_Job_Returns_FPS |
pass | ||||
test_getPercentComplete_Finished_Job_Returns_100 |
pass | ||||
test_getPercentComplete_Pending_Job_Returns_0 |
pass | ||||
test_getPercentComplete_Raises_StatusException_WhenRunningButPercentCompletionNotAvailableYet |
pass | ||||
test_getPercentComplete_Running_Job_Returns_57 |
pass | ||||
test_getPositionInQueue_Position_Is_1_of_1 |
pass | ||||
test_getPositionInQueue_Position_Is_7_of_10 |
pass | ||||
test_getPositionInQueue_RaisesException_JobStatus_Not_Queued |
pass | ||||
test_isJobFor_ShouldReturnFalse_ChannelIds_DontMatch |
pass | ||||
test_isJobFor_ShouldReturnFalse_TimesDontMatch |
pass | ||||
test_isJobFor_ShouldReturnTrue |
pass | ||||
test_isUserJob |
pass | ||||
test_moveToFrontOfQueue_From_10_Of_10 |
pass | ||||
test_moveToFrontOfQueue_From_2_Of_2 |
pass | ||||
test_moveToFrontOfQueue_From_5_Of_10 |
pass | ||||
test_moveToFrontOfQueue_Raises_Exeption_When_Job_Not_Queued |
pass | ||||
test_str_ShouldConvertToString |
pass | ||||
| mythboxtest.mythtv.test_domain.ModuleFunctionsTest | 5 | 5 | 0 | 0 | Detail |
test_ctime2MythTime_BadInputRaisesValueError |
pass | ||||
test_ctime2MythTime_Zero_Returns_MinDate |
pass | ||||
test_dbTime2MythTime_ShouldConvertTimeDeltaToString |
pass | ||||
test_frames2seconds |
pass | ||||
test_seconds2frames |
pass | ||||
| mythboxtest.mythtv.test_domain.ProgramTest | 1 | 1 | 0 | 0 | Detail |
test_constructor |
pass | ||||
| mythboxtest.mythtv.test_domain.RecordedProgramTest | 18 | 18 | 0 | 0 | Detail |
test_eq_False_different_channelNumber_and_startttime |
pass | ||||
test_eq_False_different_channelNumber_same_startttime |
pass | ||||
test_eq_True_same_channelId_and_startttime |
pass | ||||
test_eq_True_self |
pass | ||||
test_formattedAirTime |
pass
pt28.5: RecordedProgram {channel = 0, start = 2012-02-21 21:00:00, end = 2012-02-21 21:30:00, file = 0, title = ''0'', sub = '0', desc = ''0'', hostname = 0}
|
||||
test_formattedDuration |
pass | ||||
test_formattedStartTime_1pm |
pass | ||||
test_getCommercials_ReturnsOneCommercial |
pass | ||||
test_getDuration_When_2_hour_duration_spans_midnight_into_next_day_Then_return_120mins |
pass | ||||
test_getDuration_When_duration_is_half_hour_Then_return_30mins |
pass | ||||
test_getDuration_When_start_and_end_times_same_Then_return_0mins |
pass | ||||
test_hasBookmark_False |
pass | ||||
test_hasBookmark_True |
pass | ||||
test_hasCommercials_False |
pass | ||||
test_hasCommercials_True |
pass | ||||
test_hashable |
pass | ||||
test_originalAirDate_When_available_Returns_date_as_string |
pass | ||||
test_originalAirDate_When_missing_Returns_None |
pass | ||||
| mythboxtest.mythtv.test_domain.RecordingScheduleTest | 6 | 6 | 0 | 0 | Detail |
test_enddate_DataFromNativeMySQL |
pass | ||||
test_endtime_DataFromNativeMySQL |
pass | ||||
test_episodeFilter_and_checkForDupesIn_read_from_and_written_to_dupin_field_correctly |
pass | ||||
test_hashable |
pass | ||||
test_startdate_DataFromNativeMySQL |
pass | ||||
test_starttime_DataFromNativeMySQL |
pass | ||||
| mythboxtest.mythtv.test_domain.TVProgramTest | 4 | 4 | 0 | 0 | Detail |
test_constructor |
pass | ||||
test_eq_Make_sure_bidirectional_equivalence_to_RecordedProgram_works |
pass | ||||
test_starttimeAsTime |
pass | ||||
test_starttime_TypeInDataDictIsADateTime |
pass | ||||
| mythboxtest.mythtv.test_domain.TunerTest | 9 | 9 | 0 | 0 | Detail |
test_getChannels_CachingWorks |
pass | ||||
test_hasChannel_False |
pass | ||||
test_hasChannel_True |
pass | ||||
test_isRecording_False |
pass | ||||
test_isRecording_True |
pass | ||||
test_isWatchingOrRecording_CardIdle |
pass | ||||
test_isWatchingOrRecording_CardNotIdleAndShowMatches |
pass | ||||
test_isWatchingOrRecording_CardNotIdleButShowDoesntMatch |
pass | ||||
test_toString |
pass | ||||
| mythboxtest.mythtv.test_domain.UserJobTest | 3 | 3 | 0 | 0 | Detail |
test_isActive_When_command_empty_The_return_false |
pass | ||||
test_isActive_When_command_none_Then_return_false |
pass | ||||
test_isActive_When_command_not_none_Then_return_true |
pass | ||||
| mythboxtest.ui.test_player.PositionTrackerTest | 3 | 3 | 0 | 0 | Detail |
test_constructor |
pass | ||||
test_functional |
pass | ||||
test_getHistory_howFarBack_bounds |
pass | ||||
| mythboxtest.ui.test_player.TrackingCommercialSkipperTest | 4 | 4 | 0 | 0 | Detail |
test_PlayerEntersCommBreakCloseToBeginningSkipsCommercial |
pass | ||||
test_PlayerNeverEntersAnyCommBreaks |
pass | ||||
test_PlayerSkippingAroundWhenEntersCommBreakDoesntSkipCommercial |
pass | ||||
test_RecordingWithNoCommBreaksDoesNothing |
pass | ||||
| mythboxtest.test_pool.EvictingPoolTest | 7 | 7 | 0 | 0 | Detail |
test_When_gt_maxAge_Then_resource_evicted |
pass | ||||
test_When_instantiated_and_no_interactions_Then_evictor_exits_gracefully |
pass | ||||
test_When_lt_maxAge_Then_resource_not_evicted |
pass | ||||
test_When_many_gt_maxAge_Then_all_evicted |
pass | ||||
test_When_many_lt_maxAge_Then_none_evicted |
pass | ||||
test_When_one_lt_and_one_gt_maxAge_Then_evict_only_gt |
pass | ||||
test_When_stressed_Then_dont_blow_up |
pass | ||||
| mythboxtest.test_pool.PoolTest | 12 | 12 | 0 | 0 | Detail |
test_checkin_after_shutdown_raises_exception |
pass | ||||
test_checkin_checkout |
pass | ||||
test_checkout_after_shutdown_raises_exception |
pass | ||||
test_grow_does_nothing_when_requested_size_less_than_or_equal_to_current_size |
pass | ||||
test_grow_expands_resource_pool_when_requested_size_greater_than_current_size |
pass | ||||
test_grow_shrink_combos |
pass | ||||
test_multiple_consumers |
pass | ||||
test_shrink_does_nothing_to_empty_pool |
pass | ||||
test_shrink_does_nothing_to_pool_when_available_is_zero |
pass | ||||
test_shrink_reclaims_unused_resources_with_existing_checkouts |
pass | ||||
test_shrink_reclaims_unused_resources_with_no_checkouts |
pass | ||||
test_state_on_construction |
pass | ||||
| mythboxtest.test_threadlocal.ThreadLocalTest | 4 | 4 | 0 | 0 | Detail |
test_3 |
pass | ||||
test_multiple_calls_to_tls_resource_in_same_thread_allocates_only_one_resource |
pass | ||||
test_nesting_method_calls_to_tls_resources_in_same_thread_allocates_only_one_resources |
pass | ||||
test_resource_is_shared_by_methods_in_objects_of_differing_class_but_in_the_same_thread |
pass | ||||
| mythboxtest.test_updater.UpdateCheckerTest | 1 | 1 | 0 | 0 | Detail |
test_run |
pass | ||||
| mythboxtest.test_filecache.FileCacheTest | 6 | 6 | 0 | 0 | Detail |
test_clear_When_cache_cleared_Then_file_no_longer_in_cache |
pass | ||||
test_get_When_file_in_cache_Then_return_filepath |
pass | ||||
test_get_When_file_not_in_cache_Then_retrieve_and_return_filepath |
pass | ||||
test_get_When_multiple_threads_want_the_same_resource_Then_first_thread_stores_resource_and_the_remaining_threads_block_and_return_cached_resource |
pass | ||||
test_init_When_rootDir_does_not_exist_Then_rootDir_is_created |
pass | ||||
test_init_When_rootDir_exists_as_file_Then_raise_error |
pass | ||||
| mythboxtest.test_filecache.FileResolverTest | 1 | 1 | 0 | 0 | Detail |
test_hash_performance |
pass | ||||
| mythboxtest.test_fanart.ChainDecoratorTest | 8 | 8 | 0 | 0 | Detail |
test_chain_When_decorated_func_returns_empty_list_Then_return_nextProviders_result |
pass | ||||
test_chain_When_decorated_func_returns_empty_list_and_nextProvider_none_Then_return_empty_list |
pass | ||||
test_chain_When_decorated_func_returns_non_empty_list_Then_return_non_empty_list |
pass | ||||
test_chain_When_decorated_func_returns_none_Then_return_nextProviders_result |
pass | ||||
test_chain_When_decorated_func_returns_none_and_nextProvider_none_Then_return_none |
pass | ||||
test_chain_When_decorated_func_returns_sequence_with_nones_Then_return_nextproviders_result |
pass | ||||
test_chain_When_decorated_func_returns_sequence_with_values_Then_return_sequence |
pass | ||||
test_chain_When_decorated_func_returns_value_Then_return_value |
pass | ||||
| mythboxtest.test_fanart.GoogleImageSearchProviderTest | 3 | 3 | 0 | 0 | Detail |
test_getPosters_When_pounded_by_many_threads_Then_doesnt_fail_miserably |
pass | ||||
test_getPosters_When_title_has_funny_chars_Then_dont_fail_miserably |
pass | ||||
test_getPosters_works |
pass | ||||
| mythboxtest.test_fanart.HttpCachingFanartProviderTest | 3 | 3 | 0 | 0 | Detail |
test_getPosters_When_next_link_in_chain_doesnt_find_posters_Then_dont_cache_anything |
pass | ||||
test_getPosters_When_next_link_in_chain_returns_posters_Then_cache_locally_on_filesystem |
pass | ||||
test_getPosters_When_next_provider_returns_posters_Then_cache_and_return_first_poster_and_add_remaining_to_work_queue |
pass | ||||
| mythboxtest.test_fanart.ImdbFanartProviderTest | 3 | 3 | 0 | 0 | Detail |
test_getPosters_When_pounded_by_many_threads_Then_doesnt_fail_miserably |
pass | ||||
test_getPosters_When_program_is_a_movie_Then_returns_fanart |
pass | ||||
test_getPosters_When_program_is_not_movie_Then_returns_empty_list |
pass | ||||
| mythboxtest.test_fanart.IntegrationTest | 1 | 1 | 0 | 0 | Detail |
test_end_to_end_tvdb_flow |
pass | ||||
| mythboxtest.test_fanart.OneStrikeAndYoureOutFanartProviderTest | 8 | 8 | 0 | 0 | Detail |
test_clear_When_struckout_not_empty_Then_empties_struckout_and_forwards_to_delegate |
pass | ||||
test_constructor_When_delegate_is_none_Then_raise_exception |
pass | ||||
test_getPosters_When_not_struck_out_and_delegate_returns_empty_list_Then_strike_out_and_return_nextProviders_result |
pass | ||||
test_getPosters_When_not_struck_out_and_delegate_returns_posters_Then_return_posters |
pass | ||||
test_getPosters_When_struck_out_Then_skip_delegate_and_return_nextProviders_result |
pass | ||||
test_getSeasonAndEpisode_When_not_struck_out_and_delegate_returns_empty_tuple_Then_strike_out_and_return_nextProviders_result |
pass | ||||
test_getSeasonAndEpisode_When_not_struck_out_and_delegate_returns_season_and_episode_Then_return_season_and_episode |
pass | ||||
test_getSeasonAndEpisode_When_struck_out_Then_skip_delegate_and_return_nextProviders_result |
pass | ||||
| mythboxtest.test_fanart.SpamSkippingFanartProviderTest | 4 | 4 | 0 | 0 | Detail |
test_getPosters_When_not_spam_Then_forwards_to_next |
pass | ||||
test_getPosters_When_spam_Then_returns_no_posters |
pass | ||||
test_hasPosters_When_not_spam_Then_forwards_to_next |
pass | ||||
test_hasPosters_When_spam_Then_true |
pass | ||||
| mythboxtest.test_fanart.SuperFastFanartProviderTest | 7 | 7 | 0 | 0 | Detail |
test_cache_consistent_across_sessions |
pass | ||||
test_createKey_When_program_title_contains_unicode_chars_Then_dont_blow_up |
pass | ||||
test_getPosters_When_next_link_in_chain_doesnt_find_posters_Then_dont_cache_anything |
pass | ||||
test_getPosters_When_posters_not_in_cache_and_returned_by_next_in_chain_Then_cache_locally_and_return_posters |
pass | ||||
test_getSeasonAndEpisode_When_found_in_cache_Then_return_cached_copy |
pass | ||||
test_getSeasonAndEpisode_When_not_in_cache_Then_ask_next_provider |
pass | ||||
test_pickling |
pass | ||||
| mythboxtest.test_fanart.TheMovieDbFanartProviderTest | 3 | 3 | 0 | 0 | Detail |
test_getPosters_When_pounded_by_many_threads_Then_doesnt_fail_miserably |
pass | ||||
test_getPosters_When_program_is_movie_Then_returns_posters |
pass | ||||
test_getPosters_When_program_is_not_movie_Then_returns_empty_list |
pass | ||||
| mythboxtest.test_fanart.TvRageProviderTest | 13 | 13 | 0 | 0 | Detail |
test_getSeasonAndEpisode_NBCNightlyNews_returns_None_cuz_TVRage_throws_KeyError |
pass | ||||
test_getSeasonAndEpisode_Success |
pass | ||||
test_getSeasonAndEpisode_Success_HouseHunters |
pass | ||||
test_getSeasonAndEpisode_When_match_not_found_using_original_airdate_Then_match_by_subtitle |
pass | ||||
test_getSeasonAndEpisode_When_original_airdate_and_subtitle_not_available_Then_return_Nones |
pass | ||||
test_getSeasonAndEpisode_When_show_not_found_Then_returns_none |
pass | ||||
test_getSeasonAndEpisode_dont_blowup_when_a_season_is_missing |
pass | ||||
test_getSeasonAndEpisode_succeeds_when_original_airdate_incorrect_and_one_day_ahead |
pass | ||||
test_getSeasonAndEpisode_succeeds_when_original_airdate_incorrect_and_one_day_behind |
pass | ||||
test_getSeasonAndEpisode_try_to_cache_output |
pass | ||||
test_love_and_hiphop_failure |
pass | ||||
test_pound_with_threads |
pass | ||||
test_works_with_TVProgram_not_just_RecordedProgram |
pass | ||||
| mythboxtest.test_fanart.TvdbFanartProviderTest | 14 | 14 | 0 | 0 | Detail |
test_getBackgrounds_When_program_is_not_movie_Then_returns_backgrounds |
pass | ||||
test_getBanners_When_program_is_not_movie_Then_returns_banners |
pass | ||||
test_getPosters_When_pounded_by_many_threads_Then_doesnt_fail_miserably |
pass | ||||
test_getPosters_When_pounded_by_many_threads_looking_up_same_program_Then_doesnt_fail_miserably |
pass | ||||
test_getPosters_When_program_is_movie_Then_returns_empty_list |
pass | ||||
test_getPosters_When_program_is_not_movie_Then_returns_posters |
pass | ||||
test_getPosters_When_title_has_funny_chars_Then_dont_fail_miserably |
pass | ||||
test_getPosters_When_title_has_override_Then_returns_posters_for_override |
pass | ||||
test_getSeasonAndEpisode_When_matches_original_airdate_Then_return_season_and_episode |
pass | ||||
test_getSeasonAndEpisode_When_no_matching_original_airdate_or_subtitle_Then_return_nones |
pass | ||||
test_getSeasonAndEpisode_When_original_airdate_not_available_Then_return_nones |
pass | ||||
test_getSeasonAndEpisode_When_original_airdate_not_available_and_subtitle_matches_Then_return_season_and_episode |
pass | ||||
test_getSeasonAndEpisode_When_search_by_original_airdate_and_subtitle_fails_Then_search_on_record_date |
pass | ||||
test_getSeasonAndEpisode_When_show_not_found_Then_returns_none |
pass | ||||
| mythboxtest.ui.test_toolkit.ModuleTest | 4 | 4 | 0 | 0 | Detail |
test_enterText_Should_DoNothing_When_UserCancelsOperation |
pass | ||||
test_enterText_Should_NotUpdateControlAndModel_When_UserEnteredTextFailsValidation |
pass | ||||
test_enterText_Should_UpdateModelAndControl_When_UserInputIsValid |
pass | ||||
test_try_loading_gui_screens |
pass | ||||
| mythboxtest.ui.test_upcoming.UpcomingRecordingsWindowTest | 8 | 8 | 0 | 0 | Detail |
test_formattedAirDate_When_previous_and_current_two_or_more_days_out_and_not_same_Then_return_airdate |
pass | ||||
test_formattedAirDate_When_previous_program_and_current_program_on_same_day_Then_return_empty_string |
pass | ||||
test_formattedAirDate_When_previous_program_is_none_and_current_program_airs_today_Then_return_today |
pass | ||||
test_formattedAirDate_When_previous_program_is_none_and_current_program_airs_tomorrow_Then_return_tomorrow |
pass | ||||
test_formattedAirDate_When_previous_program_is_none_and_current_program_airs_two_or_more_days_out_Then_return_airdate |
pass | ||||
test_formattedAirDate_When_previous_program_today_and_current_program_tomorrow_Then_return_tomorrow |
pass | ||||
test_formattedAirDate_When_previous_program_today_and_current_program_two_or_more_days_out_Then_return_airdate |
pass | ||||
test_formattedAirDate_When_previous_program_tomorrow_and_current_two_or_more_days_out_Then_return_airdate |
pass | ||||
| mythboxtest.ui.test_tvguide.PagerTest | 6 | 6 | 0 | 0 | Detail |
test_pageDown_numChannels_divisible_channelsPerPage |
pass | ||||
test_pageDown_numChannels_gt_channelsPerPage |
pass | ||||
test_pageDown_numChannels_lt_channelsPerPage |
pass | ||||
test_pageUp_numChannels_divisible_channelsPerPage |
pass | ||||
test_pageUp_numChannels_gt_channelsPerPage |
pass | ||||
test_pageUp_numChannels_lt_channelsPerPage |
pass | ||||
| mythboxtest.ui.test_recordings.RecordingsWindowTest | 2 | 2 | 0 | 0 | Detail |
test_When_group_title_contains_unicode_chars_Then_group_sorting_doesnt_break |
pass | ||||
test_When_program_title_contains_unicode_chars_Then_title_sorting_doesnt_break |
pass | ||||
| mythboxtest.test_bootstrapper.BootStrapperTest | 1 | 1 | 0 | 0 | Detail |
test_placeholder |
pass | ||||
| mythboxtest.test_feeds.FeedHoseTest | 2 | 2 | 0 | 0 | Detail |
test_getLatestEntries_None |
pass | ||||
test_getLatestEntries_Sorted_from_newest_to_oldest |
pass | ||||
| mythboxtest.test_feeds.TwitterFeedTest | 1 | 1 | 0 | 0 | Detail |
test_getEntries |
pass | ||||
| mythboxtest.test_settings.MythSettingsTest | 20 | 20 | 0 | 0 | Detail |
test_When_existing_setting_changed_to_different_value_Then_event_published_to_bus |
pass | ||||
test_When_setting_has_a_unicode_value_Then_saving_and_loading_should_still_work |
pass | ||||
test_constructor_LoadExistingSettingsFile |
pass | ||||
test_constructor_NonExistentSettingsFilesLoadsDefaults |
pass | ||||
test_getRecordingDirs_ManyDirectories |
pass | ||||
test_getRecordingDirs_SingleDirectory |
pass | ||||
test_saveSettings_LoadedDefaultsCreatesNewSettingsFile |
pass | ||||
test_toString |
pass | ||||
test_verifyBoolean_AllValuesThatShouldNotRaiseException |
pass | ||||
test_verifyBoolean_AllValuesThatShouldRaiseException |
pass | ||||
test_verifyMySQLConnectivity_InvalidUsernamePasswordThrowsSettingsException |
pass | ||||
test_verifyMySQLConnectivity_OK |
pass | ||||
test_verifyMySQLUser_EmptyStringThrowsSettingsException |
pass | ||||
test_verifyMySQLUser_OK |
pass | ||||
test_verifyMythTVConnectivity_OK |
pass | ||||
test_verifyRecordingDirs_EmptyStringThrowsSettingsException |
pass | ||||
test_verifyRecordingDirs_InvalidDirThrowsSettingsException |
pass | ||||
test_verifyRecordingDirs_OKManyDirectories |
pass | ||||
test_verifyRecordingDirs_OKSingleDirectory |
pass | ||||
test_verifyRecordingDirs_OneInvalidOutOfManyOKThrowsSettingsException |
pass | ||||
| mythboxtest.test_advanced.AdvancedSettingsTest | 16 | 16 | 0 | 0 | Detail |
test_constructor_When_seeded_with_xml_as_string |
pass | ||||
test_getSetting_When_empty_setting_but_setting_exists_Then_return_as_empty_str |
pass | ||||
test_getSetting_When_non_empty_nested_setting_Then_return_as_str |
pass | ||||
test_getSetting_When_non_empty_setting_Then_return_as_str |
pass | ||||
test_getSetting_When_setting_does_not_exist_Then_return_none |
pass | ||||
test_hasSetting_When_setting_does_not_exist_Then_returns_false |
pass | ||||
test_hasSetting_When_setting_exists_at_depth_eq_1_Then_returns_true |
pass | ||||
test_hasSetting_When_setting_exists_at_depth_gt_1_Then_returns_true |
pass | ||||
test_save_When_advancedsettings_file_does_exist_and_no_backup_exists_Then_backup_created |
pass | ||||
test_save_When_advancedsettings_file_does_not_exist_Then_backup_is_not_created |
pass | ||||
test_setSetting_When_nested_setting_does_not_exist_Then_create_it |
pass | ||||
test_setSetting_When_nested_setting_does_not_exist_but_part_of_its_xml_path_does_Then_create_it |
pass | ||||
test_setSetting_When_setting_does_not_exist_Then_create_it |
pass | ||||
test_setSetting_When_setting_exists_Then_update_it |
pass | ||||
test_setSetting_Works_for_many_settings |
pass | ||||
test_str_When_advancedsettings_file_does_not_exists_Then_constructor_will_initialize_a_new_dom |
pass | ||||
| mythboxtest.mythtv.test_resolver.MythChannelIconResolverTest | 3 | 3 | 0 | 0 | Detail |
test_store_When_channel_has_icon_Then_download_icon |
pass | ||||
test_store_When_channel_has_iconpath_but_filename_misspelled_Then_do_nothing |
pass | ||||
test_store_When_channel_has_no_icon_Then_do_nothing |
pass | ||||
| mythboxtest.mythtv.test_resolver.MythThumbnailResolverTest | 1 | 1 | 0 | 0 | Detail |
test_store_download_thumbnail |
pass | ||||
| Total | 390 | 390 | 0 | 0 | |