[Catalyst] Test failures in Catalyst-trunk/Catalyst-Plugin-Authentication-Store-DBIC
Paul Makepeace
lists.rawmode.org at paulm.com
Sun Feb 26 20:01:50 CET 2006
(This is perl, v5.8.6 built for darwin-thread-multi-2level)
If I can supply anything else let me know - most stuff is current out of
trunk where applicable.
prove -vb t/08authz-dbic.t t/09authz-cdbi.t
t/08authz-dbic....1..8
ok 1 - request ok
not ok 2 - user is an admin
# Failed test 'user is an admin'
# in t/08authz-dbic.t at line 64.
# got: ''
# expected: 'ok'
ok 3 - request ok
ok 4 - user is not an admin
ok 5 - request ok
not ok 6 - user is an admin and a user
# Failed test 'user is an admin and a user'
# in t/08authz-dbic.t at line 76.
# got: ''
# expected: 'ok'
ok 7 - request ok
ok 8 - user is not an admin and a user
# Looks like you failed 2 tests of 8.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 2, 6
Failed 2/8 tests, 75.00% okay
t/09authz-cdbi....1..8
[Sun Feb 26 18:54:59 2006] [catalyst] [error] Caught exception in TestApp->user_login "username is not a column of TestApp::Model::CDBI::UserRole at blib/lib/Catalyst/Plugin/Authentication/Store/DBIC/User.pm line 16"
ok 1 - request ok
not ok 2 - user is an admin
# Failed test 'user is an admin'
# in t/09authz-cdbi.t at line 69.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
# <head>
# <meta http-equiv="Content-Language" content="en" />
# <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
# <title>TestApp</title>
# <script type="text/javascript">
# <!--
# function toggleDump (dumpElement) {
# var e = document.getElementById( dumpElement );
# if (e.style.display == "none") {
# e.style.display = "";
# }
# else {
# e.style.display = "none";
# }
# }
# -->
# </script>
# <style type="text/css">
# body {
# font-family: "Bitstream Vera Sans", "Trebuchet MS", Verdana,
# Tahoma, Arial, helvetica, sans-serif;
# color: #ddd;
# background-color: #eee;
# margin: 0px;
# padding: 0px;
# }
# :link, :link:hover, :visited, :visited:hover {
# color: #ddd;
# }
# div.box {
# position: relative;
# background-color: #ccc;
# border: 1px solid #aaa;
# padding: 4px;
# margin: 10px;
# -moz-border-radius: 10px;
# }
# div.error {
# background-color: #977;
# border: 1px solid #755;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.infos {
# background-color: #797;
# border: 1px solid #575;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.name {
# background-color: #779;
# border: 1px solid #557;
# padding: 8px;
# margin: 4px;
# -moz-border-radius: 10px;
# }
# code.error {
# display: block;
# margin: 1em 0;
# overflow: auto;
# }
# div.name h1, div.error p {
# margin: 0;
# }
# h2 {
# margin-top: 0;
# margin-bottom: 10px;
# font-size: medium;
# font-weight: bold;
# text-decoration: underline;
# }
# h1 {
# font-size: medium;
# font-weight: normal;
# }
# /* from http://users.tkk.fi/~tkarvine/linux/doc/pre-wrap/pre-wrap-css3-mozilla-opera-ie.html */
# /* Browser specific (not valid) styles to make preformatted text wrap */
# pre {
# white-space: pre-wrap; /* css-3 */
# white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
# white-space: -pre-wrap; /* Opera 4-6 */
# white-space: -o-pre-wrap; /* Opera 7 */
# word-wrap: break-word; /* Internet Explorer 5.5+ */
# }
# </style>
# </head>
# <body>
# <div class="box">
# <div class="error"></div>
# <div class="infos"><pre>
# (en) Please come back later
# (de) Bitte versuchen sie es spaeter nocheinmal
# (at) Konnten's bitt'schoen spaeter nochmal reinschauen
# (no) Vennligst prov igjen senere
# (dk) Venligst prov igen senere
# (pl) Prosze sprobowac pozniej
# </pre>
# </div>
# <div class="name"></div>
# </div>
# </body>
# </html>
# '
# expected: 'ok'
[Sun Feb 26 18:54:59 2006] [catalyst] [error] Caught exception in TestApp->user_login "username is not a column of TestApp::Model::CDBI::UserRole at blib/lib/Catalyst/Plugin/Authentication/Store/DBIC/User.pm line 16"
ok 3 - request ok
not ok 4 - user is not an admin
# Failed test 'user is not an admin'
# in t/09authz-cdbi.t at line 75.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
# <head>
# <meta http-equiv="Content-Language" content="en" />
# <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
# <title>TestApp</title>
# <script type="text/javascript">
# <!--
# function toggleDump (dumpElement) {
# var e = document.getElementById( dumpElement );
# if (e.style.display == "none") {
# e.style.display = "";
# }
# else {
# e.style.display = "none";
# }
# }
# -->
# </script>
# <style type="text/css">
# body {
# font-family: "Bitstream Vera Sans", "Trebuchet MS", Verdana,
# Tahoma, Arial, helvetica, sans-serif;
# color: #ddd;
# background-color: #eee;
# margin: 0px;
# padding: 0px;
# }
# :link, :link:hover, :visited, :visited:hover {
# color: #ddd;
# }
# div.box {
# position: relative;
# background-color: #ccc;
# border: 1px solid #aaa;
# padding: 4px;
# margin: 10px;
# -moz-border-radius: 10px;
# }
# div.error {
# background-color: #977;
# border: 1px solid #755;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.infos {
# background-color: #797;
# border: 1px solid #575;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.name {
# background-color: #779;
# border: 1px solid #557;
# padding: 8px;
# margin: 4px;
# -moz-border-radius: 10px;
# }
# code.error {
# display: block;
# margin: 1em 0;
# overflow: auto;
# }
# div.name h1, div.error p {
# margin: 0;
# }
# h2 {
# margin-top: 0;
# margin-bottom: 10px;
# font-size: medium;
# font-weight: bold;
# text-decoration: underline;
# }
# h1 {
# font-size: medium;
# font-weight: normal;
# }
# /* from http://users.tkk.fi/~tkarvine/linux/doc/pre-wrap/pre-wrap-css3-mozilla-opera-ie.html */
# /* Browser specific (not valid) styles to make preformatted text wrap */
# pre {
# white-space: pre-wrap; /* css-3 */
# white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
# white-space: -pre-wrap; /* Opera 4-6 */
# white-space: -o-pre-wrap; /* Opera 7 */
# word-wrap: break-word; /* Internet Explorer 5.5+ */
# }
# </style>
# </head>
# <body>
# <div class="box">
# <div class="error"></div>
# <div class="infos"><pre>
# (en) Please come back later
# (de) Bitte versuchen sie es spaeter nocheinmal
# (at) Konnten's bitt'schoen spaeter nochmal reinschauen
# (no) Vennligst prov igjen senere
# (dk) Venligst prov igen senere
# (pl) Prosze sprobowac pozniej
# </pre>
# </div>
# <div class="name"></div>
# </div>
# </body>
# </html>
# '
# expected: ''
[Sun Feb 26 18:54:59 2006] [catalyst] [error] Caught exception in TestApp->user_login "username is not a column of TestApp::Model::CDBI::UserRole at blib/lib/Catalyst/Plugin/Authentication/Store/DBIC/User.pm line 16"
ok 5 - request ok
not ok 6 - user is an admin and a user
# Failed test 'user is an admin and a user'
# in t/09authz-cdbi.t at line 81.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
# <head>
# <meta http-equiv="Content-Language" content="en" />
# <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
# <title>TestApp</title>
# <script type="text/javascript">
# <!--
# function toggleDump (dumpElement) {
# var e = document.getElementById( dumpElement );
# if (e.style.display == "none") {
# e.style.display = "";
# }
# else {
# e.style.display = "none";
# }
# }
# -->
# </script>
# <style type="text/css">
# body {
# font-family: "Bitstream Vera Sans", "Trebuchet MS", Verdana,
# Tahoma, Arial, helvetica, sans-serif;
# color: #ddd;
# background-color: #eee;
# margin: 0px;
# padding: 0px;
# }
# :link, :link:hover, :visited, :visited:hover {
# color: #ddd;
# }
# div.box {
# position: relative;
# background-color: #ccc;
# border: 1px solid #aaa;
# padding: 4px;
# margin: 10px;
# -moz-border-radius: 10px;
# }
# div.error {
# background-color: #977;
# border: 1px solid #755;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.infos {
# background-color: #797;
# border: 1px solid #575;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.name {
# background-color: #779;
# border: 1px solid #557;
# padding: 8px;
# margin: 4px;
# -moz-border-radius: 10px;
# }
# code.error {
# display: block;
# margin: 1em 0;
# overflow: auto;
# }
# div.name h1, div.error p {
# margin: 0;
# }
# h2 {
# margin-top: 0;
# margin-bottom: 10px;
# font-size: medium;
# font-weight: bold;
# text-decoration: underline;
# }
# h1 {
# font-size: medium;
# font-weight: normal;
# }
# /* from http://users.tkk.fi/~tkarvine/linux/doc/pre-wrap/pre-wrap-css3-mozilla-opera-ie.html */
# /* Browser specific (not valid) styles to make preformatted text wrap */
# pre {
# white-space: pre-wrap; /* css-3 */
# white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
# white-space: -pre-wrap; /* Opera 4-6 */
# white-space: -o-pre-wrap; /* Opera 7 */
# word-wrap: break-word; /* Internet Explorer 5.5+ */
# }
# </style>
# </head>
# <body>
# <div class="box">
# <div class="error"></div>
# <div class="infos"><pre>
# (en) Please come back later
# (de) Bitte versuchen sie es spaeter nocheinmal
# (at) Konnten's bitt'schoen spaeter nochmal reinschauen
# (no) Vennligst prov igjen senere
# (dk) Venligst prov igen senere
# (pl) Prosze sprobowac pozniej
# </pre>
# </div>
# <div class="name"></div>
# </div>
# </body>
# </html>
# '
# expected: 'ok'
[Sun Feb 26 18:54:59 2006] [catalyst] [error] Caught exception in TestApp->user_login "username is not a column of TestApp::Model::CDBI::UserRole at blib/lib/Catalyst/Plugin/Authentication/Store/DBIC/User.pm line 16"
ok 7 - request ok
not ok 8 - user is not an admin and a user
# Failed test 'user is not an admin and a user'
# in t/09authz-cdbi.t at line 87.
# got: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
# <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
# <head>
# <meta http-equiv="Content-Language" content="en" />
# <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
# <title>TestApp</title>
# <script type="text/javascript">
# <!--
# function toggleDump (dumpElement) {
# var e = document.getElementById( dumpElement );
# if (e.style.display == "none") {
# e.style.display = "";
# }
# else {
# e.style.display = "none";
# }
# }
# -->
# </script>
# <style type="text/css">
# body {
# font-family: "Bitstream Vera Sans", "Trebuchet MS", Verdana,
# Tahoma, Arial, helvetica, sans-serif;
# color: #ddd;
# background-color: #eee;
# margin: 0px;
# padding: 0px;
# }
# :link, :link:hover, :visited, :visited:hover {
# color: #ddd;
# }
# div.box {
# position: relative;
# background-color: #ccc;
# border: 1px solid #aaa;
# padding: 4px;
# margin: 10px;
# -moz-border-radius: 10px;
# }
# div.error {
# background-color: #977;
# border: 1px solid #755;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.infos {
# background-color: #797;
# border: 1px solid #575;
# padding: 8px;
# margin: 4px;
# margin-bottom: 10px;
# -moz-border-radius: 10px;
# }
# div.name {
# background-color: #779;
# border: 1px solid #557;
# padding: 8px;
# margin: 4px;
# -moz-border-radius: 10px;
# }
# code.error {
# display: block;
# margin: 1em 0;
# overflow: auto;
# }
# div.name h1, div.error p {
# margin: 0;
# }
# h2 {
# margin-top: 0;
# margin-bottom: 10px;
# font-size: medium;
# font-weight: bold;
# text-decoration: underline;
# }
# h1 {
# font-size: medium;
# font-weight: normal;
# }
# /* from http://users.tkk.fi/~tkarvine/linux/doc/pre-wrap/pre-wrap-css3-mozilla-opera-ie.html */
# /* Browser specific (not valid) styles to make preformatted text wrap */
# pre {
# white-space: pre-wrap; /* css-3 */
# white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
# white-space: -pre-wrap; /* Opera 4-6 */
# white-space: -o-pre-wrap; /* Opera 7 */
# word-wrap: break-word; /* Internet Explorer 5.5+ */
# }
# </style>
# </head>
# <body>
# <div class="box">
# <div class="error"></div>
# <div class="infos"><pre>
# (en) Please come back later
# (de) Bitte versuchen sie es spaeter nocheinmal
# (at) Konnten's bitt'schoen spaeter nochmal reinschauen
# (no) Vennligst prov igjen senere
# (dk) Venligst prov igen senere
# (pl) Prosze sprobowac pozniej
# </pre>
# </div>
# <div class="name"></div>
# </div>
# </body>
# </html>
# '
# expected: ''
# Looks like you failed 4 tests of 8.
dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 2, 4, 6, 8
Failed 4/8 tests, 50.00% okay
Failed 2/2 test scripts, 0.00% okay. 6/16 subtests failed, 62.50% okay.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/08authz-dbic.t 2 512 8 2 25.00% 2 6
t/09authz-cdbi.t 4 1024 8 4 50.00% 2 4 6 8
--
Paul Makepeace .............................. http://paulm.com/inchoate/
"What is this itchy rash on my groin? A goats beard."
-- http://paulm.com/toys/surrealism/
More information about the Catalyst
mailing list