| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CodeBuild::TestCase; | ||
| 3 | use Moose; | ||
| 4 | has DurationInNanoSeconds => (is => 'ro', isa => 'Int', request_name => 'durationInNanoSeconds', traits => ['NameInRequest']); | ||
| 5 | has Expired => (is => 'ro', isa => 'Str', request_name => 'expired', traits => ['NameInRequest']); | ||
| 6 | has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']); | ||
| 7 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); | ||
| 8 | has Prefix => (is => 'ro', isa => 'Str', request_name => 'prefix', traits => ['NameInRequest']); | ||
| 9 | has ReportArn => (is => 'ro', isa => 'Str', request_name => 'reportArn', traits => ['NameInRequest']); | ||
| 10 | has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']); | ||
| 11 | has TestRawDataPath => (is => 'ro', isa => 'Str', request_name => 'testRawDataPath', traits => ['NameInRequest']); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::CodeBuild::TestCase | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::CodeBuild::TestCase object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { DurationInNanoSeconds => $value, ..., TestRawDataPath => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::TestCase object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->DurationInNanoSeconds | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Information about a test case created using a framework such as NUnit | ||
| 44 | or Cucumber. A test case might be a unit test or a configuration test. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 DurationInNanoSeconds => Int | ||
| 50 | |||
| 51 | The number of nanoseconds it took to run this test case. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Expired => Str | ||
| 55 | |||
| 56 | The date and time a test case expires. A test case expires 30 days | ||
| 57 | after it is created. An expired test case is not available to view in | ||
| 58 | CodeBuild. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 Message => Str | ||
| 62 | |||
| 63 | A message associated with a test case. For example, an error message or | ||
| 64 | stack trace. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 Name => Str | ||
| 68 | |||
| 69 | The name of the test case. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 Prefix => Str | ||
| 73 | |||
| 74 | A string that is applied to a series of related test cases. CodeBuild | ||
| 75 | generates the prefix. The prefix depends on the framework used to | ||
| 76 | generate the tests. | ||
| 77 | |||
| 78 | |||
| 79 | =head2 ReportArn => Str | ||
| 80 | |||
| 81 | The ARN of the report to which the test case belongs. | ||
| 82 | |||
| 83 | |||
| 84 | =head2 Status => Str | ||
| 85 | |||
| 86 | The status returned by the test case after it was run. Valid statuses | ||
| 87 | are C<SUCCEEDED>, C<FAILED>, C<ERROR>, C<SKIPPED>, and C<UNKNOWN>. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 TestRawDataPath => Str | ||
| 91 | |||
| 92 | The path to the raw data file that contains the test result. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, describing an object used in L<Paws::CodeBuild> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |