Пример #1
0
def update_9(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        test/test_action_non_interval.py
        test/test_all_collisions.py : puede no ser representativo; agregado z para ver si cuadrado rinde
        test/test_draw_resolution.py
        test/test_interpreter_layer.py : weak test, interpreter not exercised
        test/test_menu_bottom_right.py : todos los de menu no prueban automaticamente la logica
        test/test_menu_centered.py
        test/test_menu_fixed_position.py
        test/test_menu_items.py
        test/test_menu_rotated.py
        test/test_menu_top_left.py
        test/test_particle_explosion.py
        test/test_particle_fire.py
        test/test_particle_fireworks.py
        test/test_particle_flower.py
        test/test_particle_galaxy.py
        test/test_particle_meteor.py
        test/test_particle_smoke.py
        test/test_particle_spiral.py
        test/test_particle_sun.py
        test/test_schedule.py
        test/test_unscaled_win_resize.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(
        db, filename_persist, candidates, snapshots_dir,
        snapshots_reference_dir)

    return checked_in, unknown, move_failed
Пример #2
0
def update_19(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        test/test_aspect_16_9_to_fullscreen.py
        test/test_aspect_4_3_to_fullscreen.py
        test/test_aspect_ratio_on_resize.py
        test/test_coords.py
        test/test_custom_on_resize.py
        test/test_entry_menu_item.py
        test/test_handler.py
        test/test_multiplex_layer.py
        test/test_parallax.py
        test/test_platformer.py
        test/test_rect.py
        test/test_rotate_reverse.py
        test/test_scrolling_manager_without_tiles.py
        test/test_scrolling_manager_without_tiles_autoscale.py
        test/test_tiles.py
        test/test_tiles_autotest.py
        test/test_tmx.py
        test/test_tmx_autotest.py
        test/test_schedule_actions.py
        test/test_target.py
        test/test_sublayer_events.py
        test/test_subscene_events.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(
        db, filename_persist, candidates, snapshots_dir,
        snapshots_reference_dir)

    return checked_in, unknown, move_failed
Пример #3
0
def update_19(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        test/test_aspect_16_9_to_fullscreen.py
        test/test_aspect_4_3_to_fullscreen.py
        test/test_aspect_ratio_on_resize.py
        test/test_coords.py
        test/test_custom_on_resize.py
        test/test_entry_menu_item.py
        test/test_handler.py
        test/test_multiplex_layer.py
        test/test_parallax.py
        test/test_platformer.py
        test/test_rect.py
        test/test_rotate_reverse.py
        test/test_scrolling_manager_without_tiles.py
        test/test_scrolling_manager_without_tiles_autoscale.py
        test/test_tiles.py
        test/test_tiles_autotest.py
        test/test_tmx.py
        test/test_tmx_autotest.py
        test/test_schedule_actions.py
        test/test_target.py
        test/test_sublayer_events.py
        test/test_subscene_events.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(db,
                                        filename_persist, candidates,
                                        snapshots_dir, snapshots_reference_dir)    

    return checked_in, unknown, move_failed
Пример #4
0
def update_9(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        test/test_action_non_interval.py
        test/test_all_collisions.py : puede no ser representativo; agregado z para ver si cuadrado rinde
        test/test_draw_resolution.py
        test/test_interpreter_layer.py : weak test, interpreter not exercised
        test/test_menu_bottom_right.py : todos los de menu no prueban automaticamente la logica
        test/test_menu_centered.py
        test/test_menu_fixed_position.py
        test/test_menu_items.py
        test/test_menu_rotated.py
        test/test_menu_top_left.py
        test/test_particle_explosion.py
        test/test_particle_fire.py
        test/test_particle_fireworks.py
        test/test_particle_flower.py
        test/test_particle_galaxy.py
        test/test_particle_meteor.py
        test/test_particle_smoke.py
        test/test_particle_spiral.py
        test/test_particle_sun.py
        test/test_schedule.py
        test/test_unscaled_win_resize.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(db,
                                        filename_persist, candidates,
                                        snapshots_dir, snapshots_reference_dir)    

    return checked_in, unknown, move_failed
Пример #5
0
def update_21(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
    test/test_label_changing.py
    test/test_batch2.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=":")
    checked_in, unknown, move_failed = hl.update_testrun__pass(
        db, filename_persist, candidates, snapshots_dir, snapshots_reference_dir
    )

    return checked_in, unknown, move_failed
Пример #6
0
def update_23(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder (but the second script should be
    updated for better autotest)
    """
    text = """
        test/test_fadeto.py
        test/test_draw_elbows2.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(
        db, filename_persist, candidates, snapshots_dir,
        snapshots_reference_dir)

    return checked_in, unknown, move_failed
Пример #7
0
def update_23(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder (but the second script should be
    updated for better autotest)
    """
    text = """
        test/test_fadeto.py
        test/test_draw_elbows2.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(db,
                                        filename_persist, candidates,
                                        snapshots_dir, snapshots_reference_dir)    

    return checked_in, unknown, move_failed
Пример #8
0
def update_21(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        test/test_label_changing.py
        test/test_batch2.py
        test/test_scalexy.py
        test/test_shader_examples.py
    """
    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(
        db, filename_persist, candidates, snapshots_dir,
        snapshots_reference_dir)

    return checked_in, unknown, move_failed
Пример #9
0
def update_3(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        : Snapshots inspected, 'pass'

        test/test_accel_amplitude.py
        test/test_accel_deccel_amplitude.py
        test/test_acceldeccel.py
        test/test_accelerate.py
        test/test_accelerate_speed.py
        test/test_anchor_sprites.py
        test/test_anchors.py
        test/test_animation.py
        test/test_base.py
        test/test_batch.py
        test/test_batch3.py
        test/test_bezier.py
        test/test_camera_orbit_reuse.py
        test/test_camera_orbit_with_grid.py
        test/test_compose.py
        test/test_draw_elbows.py
        test/test_draw_elbows2.py
        test/test_draw_endcaps.py
        test/test_draw_line.py
        test/test_draw_parameter.py
        test/test_draw_pushpop.py
        test/test_draw_rotate.py
        test/test_fadeout.py
        test/test_fadeout_layer.py
        test/test_fadeouttiles_bl.py
        test/test_fadeouttiles_down.py
        test/test_fadeouttiles_tr.py
        test/test_fadeouttiles_up.py
        test/test_flip.py
        test/test_flip_x.py
        test/test_flip_x_3d.py
        test/test_flip_y.py
        test/test_flip_y_3d.py
        test/test_fluent.py
        test/test_hierarchy2.py
        test/test_htmllabel.py
        test/test_htmllabel_opacity.py
        test/test_jump.py
        test/test_label.py
        test/test_label_opacity.py
        test/test_layeractions.py
        test/test_layersublayer.py
        test/test_lerp.py
        test/test_place.py
        test/test_remove.py
        test/test_repeat.py
        test/test_rich_label.py
        test/test_rotate.py
        test/test_rotateto.py
        test/test_scaleby.py
        test/test_scaleby2.py
        test/test_scaleto.py
        test/test_scene_add_rotated.py
        test/test_scene_add_translated.py
        test/test_scene_rotate.py
        test/test_scene_scale.py
        test/test_sceneactions.py
        test/test_sequence.py
        test/test_sequence1.py
        test/test_sequence2.py
        test/test_sequence3.py
        test/test_sequence4.py
        test/test_sequence5.py
        test/test_sequence6.py
        test/test_show.py
        test/test_shuffletiles.py
        test/test_shuffletiles_fullscreen.py
        test/test_shuffletiles_reverse.py
        test/test_skeleton.py
        test/test_spawn.py
        test/test_speed.py
        test/test_sprite.py
        test/test_wavestiles3d.py
        test/test_wavestiles3d_fullscreen.py
        test/test_wavestiles3d_reversed.py

        : Second round
        test/test_bezier_direct.py : changed code for better snapshot
        test/test_blink.py : changed test, changed library code
        test/test_callfunc.py
        test/test_callfuncs.py
        test/test_corner_swap.py 
        test/test_decorator.py
        test/test_hide.py
        test/test_hierarchy.py
        test/test_layer_rotate.py
        test/test_loop.py
        test/test_moveby.py
        test/test_moveto.py
        test/test_repeat2.py
        test/test_scene_add_scaled.py : agregue z explicito porque color layer no se veia en interactivo
        test/test_togglevisibility.py

        : third round
        test/test_fadein.py
        """

    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(
        db, filename_persist, candidates, snapshots_dir,
        snapshots_reference_dir)

    return checked_in, unknown, move_failed
Пример #10
0
def update_6(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        : Snapshots inspected, 'pass'

        test/test_cocosz.py
        test/test_delay.py
        test/test_draw.py
        test/test_liquid_16_x_16.py
        test/test_move_corner_down.py
        test/test_move_corner_up.py
        test/test_multiple_grid_effects.py
        test/test_transition_corner_move.py
        test/test_transition_envelope.py
        test/test_transition_fade.py
        test/test_transition_fadebl.py
        test/test_transition_fadetr.py
        test/test_transition_fadeup.py
        test/test_transition_flip_angular.py
        test/test_transition_flipx.py
        test/test_transition_flipy.py
        test/test_transition_movein_t.py
        test/test_transition_shrink_grow.py
        test/test_transition_shuffle.py 
        test/test_transition_slidein_l.py
        test/test_transition_splitcols.py
        test/test_transition_splitrows.py
        test/test_transition_turnofftiles.py
        test/test_quadmoveby.py
        test/test_reuse_grid.py
        test/test_reverse.py
        test/test_reverse_time.py
        test/test_ripple3d.py
        test/test_shader.py
        test/test_shaky3d.py
        test/test_shakytiles3d.py
        test/test_shattered_tiles_3d.py
        test/test_skeleton_anim.py
        test/test_skeleton_bitmap_skin.py
        test/test_skew_horizontal.py
        test/test_skew_vertical.py
        test/test_sprite_aabb.py
        test/test_stop_grid.py
        test/test_transform_anchor.py
        test/test_turnoff_tiles.py
        test/test_twirl.py
        test/test_waves.py
        test/test_waves3d.py
        test/test_waves_horizontal.py
        test/test_waves_vertical.py
        test/test_world_coordinates.py
        test/test_fadeto.py
        test/test_grid_effect_in_layer.py
        test/test_grid_effect_in_sprite.py
        test/test_transition_jumpzoom.py
        test/test_lens_3d.py
        test/test_transition_rotozoom.py
        """

    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(
        db, filename_persist, candidates, snapshots_dir,
        snapshots_reference_dir)

    return checked_in, unknown, move_failed
Пример #11
0
def update_3(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        : Snapshots inspected, 'pass'

        test/test_accel_amplitude.py
        test/test_accel_deccel_amplitude.py
        test/test_acceldeccel.py
        test/test_accelerate.py
        test/test_accelerate_speed.py
        test/test_anchor_sprites.py
        test/test_anchors.py
        test/test_animation.py
        test/test_base.py
        test/test_batch.py
        test/test_batch3.py
        test/test_bezier.py
        test/test_camera_orbit_reuse.py
        test/test_camera_orbit_with_grid.py
        test/test_compose.py
        test/test_draw_elbows.py
        test/test_draw_elbows2.py
        test/test_draw_endcaps.py
        test/test_draw_line.py
        test/test_draw_parameter.py
        test/test_draw_pushpop.py
        test/test_draw_rotate.py
        test/test_fadeout.py
        test/test_fadeout_layer.py
        test/test_fadeouttiles_bl.py
        test/test_fadeouttiles_down.py
        test/test_fadeouttiles_tr.py
        test/test_fadeouttiles_up.py
        test/test_flip.py
        test/test_flip_x.py
        test/test_flip_x_3d.py
        test/test_flip_y.py
        test/test_flip_y_3d.py
        test/test_fluent.py
        test/test_hierarchy2.py
        test/test_htmllabel.py
        test/test_htmllabel_opacity.py
        test/test_jump.py
        test/test_label.py
        test/test_label_opacity.py
        test/test_layeractions.py
        test/test_layersublayer.py
        test/test_lerp.py
        test/test_place.py
        test/test_remove.py
        test/test_repeat.py
        test/test_rich_label.py
        test/test_rotate.py
        test/test_rotateto.py
        test/test_scaleby.py
        test/test_scaleby2.py
        test/test_scaleto.py
        test/test_scene_add_rotated.py
        test/test_scene_add_translated.py
        test/test_scene_rotate.py
        test/test_scene_scale.py
        test/test_sceneactions.py
        test/test_sequence.py
        test/test_sequence1.py
        test/test_sequence2.py
        test/test_sequence3.py
        test/test_sequence4.py
        test/test_sequence5.py
        test/test_sequence6.py
        test/test_show.py
        test/test_shuffletiles.py
        test/test_shuffletiles_fullscreen.py
        test/test_shuffletiles_reverse.py
        test/test_skeleton.py
        test/test_spawn.py
        test/test_speed.py
        test/test_sprite.py
        test/test_wavestiles3d.py
        test/test_wavestiles3d_fullscreen.py
        test/test_wavestiles3d_reversed.py

        : Second round
        test/test_bezier_direct.py : changed code for better snapshot
        test/test_blink.py : changed test, changed library code
        test/test_callfunc.py
        test/test_callfuncs.py
        test/test_corner_swap.py 
        test/test_decorator.py
        test/test_hide.py
        test/test_hierarchy.py
        test/test_layer_rotate.py
        test/test_loop.py
        test/test_moveby.py
        test/test_moveto.py
        test/test_repeat2.py
        test/test_scene_add_scaled.py : agregue z explicito porque color layer no se veia en interactivo
        test/test_togglevisibility.py

        : third round
        test/test_fadein.py
        """

    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(db,
                                        filename_persist, candidates,
                                        snapshots_dir, snapshots_reference_dir)    

    return checked_in, unknown, move_failed
Пример #12
0
def update_6(db, filename_persist, snapshots_dir, snapshots_reference_dir):
    """
    This files 'pass', register them as such and move their snapshots
    to the reference snapshots folder
    """
    text = """
        : Snapshots inspected, 'pass'

        test/test_cocosz.py
        test/test_delay.py
        test/test_draw.py
        test/test_liquid_16_x_16.py
        test/test_move_corner_down.py
        test/test_move_corner_up.py
        test/test_multiple_grid_effects.py
        test/test_transition_corner_move.py
        test/test_transition_envelope.py
        test/test_transition_fade.py
        test/test_transition_fadebl.py
        test/test_transition_fadetr.py
        test/test_transition_fadeup.py
        test/test_transition_flip_angular.py
        test/test_transition_flipx.py
        test/test_transition_flipy.py
        test/test_transition_movein_t.py
        test/test_transition_shrink_grow.py
        test/test_transition_shuffle.py 
        test/test_transition_slidein_l.py
        test/test_transition_splitcols.py
        test/test_transition_splitrows.py
        test/test_transition_turnofftiles.py
        test/test_quadmoveby.py
        test/test_reuse_grid.py
        test/test_reverse.py
        test/test_reverse_time.py
        test/test_ripple3d.py
        test/test_shader.py
        test/test_shaky3d.py
        test/test_shakytiles3d.py
        test/test_shattered_tiles_3d.py
        test/test_skeleton_anim.py
        test/test_skeleton_bitmap_skin.py
        test/test_skew_horizontal.py
        test/test_skew_vertical.py
        test/test_sprite_aabb.py
        test/test_stop_grid.py
        test/test_transform_anchor.py
        test/test_turnoff_tiles.py
        test/test_twirl.py
        test/test_waves.py
        test/test_waves3d.py
        test/test_waves_horizontal.py
        test/test_waves_vertical.py
        test/test_world_coordinates.py
        test/test_fadeto.py
        test/test_grid_effect_in_layer.py
        test/test_grid_effect_in_sprite.py
        test/test_transition_jumpzoom.py
        test/test_lens_3d.py
        test/test_transition_rotozoom.py
        """

    candidates = doers.scripts_names_from_text(text, end_mark=':')
    checked_in, unknown, move_failed = hl.update_testrun__pass(db,
                                        filename_persist, candidates,
                                        snapshots_dir, snapshots_reference_dir)    

    return checked_in, unknown, move_failed