Skip to content

Instantly share code, notes, and snippets.

@nicomen
Created August 16, 2012 10:41
Show Gist options
  • Save nicomen/3369164 to your computer and use it in GitHub Desktop.
Save nicomen/3369164 to your computer and use it in GitHub Desktop.
t/apiv2.333_api_CI_autoprove.t ........................
1..31
ok 1 - use Catalyst::Test;
ok 2 - Schema isa Startsiden::Build::Database::Schema
Could not open file '/meta.yml': Permission denied at /usr/local/share/perl/5.10.1/TAP/Harness/Archive.pm line 335
ok 3 - /api/v2/ci/1/register
ok 4 - /api/v2/ci/1/register JSON content
ok 5 - /api/v2/ci/1/register returned ok
ok 6 - 1029 passing tests
ok 7 - Ci isa Startsiden::Build::Database::Schema::Ci
ok 8 - id
ok 9 - Has a current ci isa Startsiden::Build::Database::Schema::CiHistory
ok 10 - correct buildlog
ok 11 - Has statuses isa DBIx::Class::ResultSet
ok 12 - Has right number of statuses
not ok 13
# Failed test at t/apiv2.333_api_CI_autoprove.t line 45.
# got: '1..14
# ok 1 - use Catalyst::Test;
# ok 2 - use Startsiden::Build::Database::Controller::SuperAdmin;
# ok 3 - use Test::WWW::Mechanize::Catalyst;
# ok 4 - Created mech object
# ok 5 - Logged in
# ok 6 - superadmin ok
# ok 7 - Title is "Super Admin"
# ok 8 - Followed link with "url=http://localhost/superadmin/add_user"
# ok 9 - Title is "Super Admin - Add user"
# ok 10 - The object isa HTML::Form
# ok 11
# ok 12 - Content contains "Added user user_test"
# ok 13 - The object isa Startsiden::Build::Database::Schema::User
# ok 14 - Password ok'
# expected: '1..4
# ok 1 - right class isa Startsiden::Build::Database::Schema
# ok 2 - Created testdir ok
# ok 3 - Created database ok
# ok 4 - Testdir removed ok'
not ok 14
# Failed test at t/apiv2.333_api_CI_autoprove.t line 51.
# got: 't/controller_SuperAdmin.t'
# expected: 't/00_testlib.t'
ok 15 - right svn log
not ok 16 - Right statuses
# Failed test 'Right statuses'
# at t/apiv2.333_api_CI_autoprove.t line 60.
# Structures begin differing at:
# $got->[0] = '14'
# $expected->[0] = '4'
# 14, 2, 49, 5, 10, 9, 34, 17, 7, 16, 3, 0, 3, 1, 15, 78, 16, 3, 10, 87, 24, 20, 27, 18, 2, 1, 4, 94, 7, 10, 2, 9, 3, 18, 5, 25, 12, 59, 136, 73, 24, 2, 2, 18, 3, 4, 15, 18, 15
Could not open file '/meta.yml': Permission denied at /usr/local/share/perl/5.10.1/TAP/Harness/Archive.pm line 335
ok 17 - /api/v2/ci/1/register
ok 18 - /api/v2/ci/1/register JSON content
ok 19 - /api/v2/ci/1/register returned ok
ok 20 - One broken
ok 21 - Right statuses
ok 22 - /api/v2/ci/1/register
ok 23 - /api/v2/ci/1/register JSON content
ok 24 - /api/v2/ci/1/register returned ok
ok 25 - Unknown status
ok 26 - No statuses
ok 27 - /api/v2/ci/1/register
ok 28 - /api/v2/ci/1/register JSON content
ok 29 - /api/v2/ci/1/register returned ok
ok 30 - Unknown status, since we only uploaded json
ok 31 - json correct
# Looks like you failed 3 tests of 31.
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/31 subtests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment