Tapper Team > Tapper-Reports-Web > Tapper::Reports::Web::Controller::Tapper::Testruns

Download:
Tapper-Reports-Web-4.1.2.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.2   Source  

NAME ^

Tapper::Reports::Web::Controller::Tapper::Testruns

DESCRIPTION ^

Catalyst Controller.

index

Prints a list of a testruns together with their state, start time and end time. No options, not return values.

TODO: Too many testruns, takes too long to display. Thus, we need to add filter facility.

get_test_list_from_precondition

Utility function to extract testprograms from a given (sub-) precondition.

get_testrun_overview

This function reads and parses all precondition of a testrun to generate a summary of the testrun which will then be shown as an overview. It returns a hash reference containing: * name * arch * image * test

@param testrun result object

@return hash reference

new_create

This function handles the form for the first step of creating a new testrun.

get_hostnames

Get an array of all hostnames that can be used for a new testrun. Note: The array contains array that contain the hostname twice (i.e. (['host', 'host'], ...) because that is what the template expects.

@return success - ref to array of [ hostname, hostname ]

parse_macro_precondition

Parse the given file as macro precondition and return a has ref containing required, optional and mcp_config fields.

@param catalyst context @param string - file name

@return success - hash ref @return error - string

handle_precondition

Check whether each required precondition has a value, uploads files and so on.

@param Catalyst context @param config hash

@return success - list of precondition ids @return error - error message

fill_usecase

Creates the form for the last step of creating a testrun. When this form is submitted and valid the testrun is created based on the gathered data. The function is used directly by Catalyst which therefore cares for params and returns.

NAME ^

Tapper::Reports::Web::Controller::Tapper::Testruns - Catalyst Controller

METHODS ^

index

AUTHOR ^

Steffen Schwigon,,,

LICENSE ^

This program is released under the following license: freebsd

AUTHOR ^

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License
syntax highlighting: