
Dicop::Data::Testcase - a test case for a job

use Dicop::Data::Testcase;

perl5.005, Dicop, Dicop::Item, Dicop::Base, Math::String

Exports nothing on default.

For a description of fields a testcase has, see doc/Objects.pod.

Return a field of the object as an ASCII string suitable for HTML output:
$object->get_as_string('client_name');
Return a field of the object as an hexified string, or as a fallback, as normal string via get_as_string. The hexify happens only for certain special fields, all other are returned as simple strings:
$object->get_as_hex('client_name');
Return the value of a specified field of the object:
$object->get('foo');
$txt = $job->extra_fields();
If the jobtype for that job mandates extra fields, will return a text listing.
See Dicop::Data::Job.
This routine is used to include them into the chunk description file.
my $response = $object->extra_files($job, $arch);
Returns a string containing a respone for the client with all the extra files needed to work on the given testcase on the given architecture.
Applies self-check and crumbles if there are errors in internal data structure.

None known yet.

(c) Bundesamt fuer Sicherheit in der Informationstechnik 1998-2006
DiCoP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
See http://www.bsi.de/ for more information.