Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. C:\cpanrun-5.8\build\5-8-0\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t\01-columns.t t\02-Film.t t\03-subclassing.t t\04-lazy.t t\05-Query.t t\06-hasa.t t\07-Move.t t\08-inheritcols.t t\09-has_many.t t\10-mysql.t t\11-triggers.t t\12-filter.t t\13-constraint.t t\14-might_have.t t\15-accessor.t t\16-reserved.t t\17-data_type.t t\18-has_a.t t\19-set_sql.t t\21-iterator.t t\22-deflate_order.t t\97.pod.t t\98-failure.t t\99-misc.t t\01-columns..........1..35 ok 1 - State table() ok 2 - State primary() ok 3 - State Primary:name ok 4 - State Essential:name, abbreviation ok 5 - State All:population, rain, snowfall, name, abbreviation, capital ok 6 - CD primary() ok 7 - CD primary:artist ok 8 - CD all:length, artist, title ok 9 - CD essential:artist ok 10 - No Nonsense group ok 11 - Error thrown ok 12 - is_column deprecated ok 13 - find_column Rain ok 14 - find_column rain ok 15 - !find_column HGLAGAGlAG ok 16 - No Rain accessor set up ok 17 - Rainfall accessor set up ok 18 - with correct alias ok 19 - (not by colname) ok 20 - (not normalized) ok 21 - overriden mutator ok 22 - with alias ok 23 - overridden accessor set up ok 24 - with alias ok 25 - (not normalized) ok 26 - overriden mutator ok 27 - with alias ok 28 - Huh not in groups ok 29 - Rain and Capital = 2 groups ok 30 - - Other ok 31 - - Weather ok 32 - Need primary key for retrieve ok 33 - A columns ok 34 - A::B columns ok 35 - A::C columns ok t\02-Film.............1..90 ok 1 - Construct Film table ok 2 - set_db() ok 3 - Driver set correctly ok 4 - Can't retrieve nothing ok 5 - retrieve needs parameters ok 6 - Can't get id with no object ok 7 - Can't get title with no object ok 8 - create needs a hashref ok 9 - The object isa Film ok 10 - Title() get ok 11 - Director() get ok 12 - Rating() get ok 13 - NumExplodingSheep() get ok 14 - find_or_create ok 15 - doesn't create a new one prepare_cached(INSERT INTO Movies (title, director, rating, numexplodingsheep) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1c4ec44) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 16 - Add Gone With The Wind ok 17 - The object isa Film ok 18 - Fetch it back again ok 19 - The object isa Film ok 20 - NumExplodingSheep() get again ok 21 - NumExplodingSheep() set ok 22 - numexplodingsheep() set ok 23 - Rating() get again ok 24 - Rating() set ok 25 - We have 2 films in total ok 26 - update() ok 27 - update() again ok 28 - retrieve() again ok 29 - Correct title ok 30 - and Director ok 31 - and Rating ok 32 - and sheep ok 33 - copy() produces a film ok 34 - Title correct ok 35 - Director correct ok 36 - Rating correct ok 37 - Sheep correct ok 38 - We have 2 Bladerunners ok 39 - Ordered correctly ok 40 - We have 2 Bladerunners ok 41 - Ordered correctly ok 42 - Only one Bladerunner is a 15 ok 43 - Inline SQL ok 44 - Correct film ok 45 - Correct film ok 46 - Inline SQL ok 47 - Correct film ok 48 - Correct film prepare_cached(INSERT INTO Movies (title, director) VALUES (?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fe1df8) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 prepare_cached(INSERT INTO Movies (title, director) VALUES (?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fe1df8) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 49 - 3 Films by Elaine May ok 50 - Ishtar doesn't deserve an entry any more ok 51 - Ishtar no longer there ok 52 - In fact, delete all films by Elaine May ok 53 - 0 Films by Elaine May ok 54 - Got a deprecated warning ok 55 - No problems with deletes ok 56 - search returns one film ok 57 - ... the correct one ok 58 - search_like returns 3 films ok 59 - the correct ones ok 60 - search where attribute is null returns 2 films DBIx::ContextualFetch::db=HASH(0x1f77b5c)->disconnect invalidates 6 active statement handles (either destroy statement handles or call finish on them before disconnecting) at t\02-Film.t line 205. ok 61 - the correct ones closing dbh with active statement handles at t\02-Film.t line 205. ok 62 - auto reconnection ok 63 - set new Director ok 64 - discard_changes() ok 65 - Class based AutoCommit ok 66 - No warnings so far ok 67 - DESTROY without update warns prepare_cached(UPDATE Movies SET numexplodingsheep = ? WHERE title=? ) statement handle DBIx::ContextualFetch::st=HASH(0x1f7797c) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 68 - Object based AutoCommit ok 69 - Create 0 ok 70 - Retrieve 0 ok 71 - Title OK ok 72 - Rating OK ok 73 - changed column needs reloaded ok 74 - but we still have the title prepare_cached(UPDATE Movies SET rating = ? WHERE title=? ) statement handle DBIx::ContextualFetch::st=HASH(0x1fe1b4c) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 75 - changed column needs reloaded ok 76 - but no longer have the title ok 77 - stringify ok 78 - Can change stringify column ok 79 - And still stringifies correctly ok 80 - Can have multiple stringify columns ok 81 - And still stringifies correctly ok 82 - Provide stringify_self() prepare_cached(INSERT INTO Movies (title, rating) VALUES (?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1f9a304) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 83 - Add a deleting Film ok 84 - The object isa DeletingFilm ok 85 - The object isa Film ok 86 - Fetch it back again ok 87 - It destroys itself Undefined subroutine &Scalar::Util::refaddr called at t\02-Film.t line 327. # Looks like you planned 90 tests but only ran 87. # Looks like your test died just after 87. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 88-90 Failed 3/90 tests, 96.67% okay t\03-subclassing......1..6 ok 1 - subclass db_Main() ok 2 - has the same columns ok 3 - subclass retrieve ok 4 - The object isa Film::Threat ok 5 - The object isa Film ok 6 - subclass get() ok t\04-lazy.............1..25 ok 1 - Pri ok 2 - Essential ok 3 - things ok 4 - horizon ok 5 - vertical ok 6 - All ok 7 - this (Essential Primary things) ok 8 - that (things) ok 9 - Retrieve by Primary ok 10 - Gets primary ok 11 - Gets other essential ok 12 - But other things ok 13 - nor eep ok 14 - nor orp ok 15 - nor oop ok 16 - Fetch eep ok 17 - Gets orp too ok 18 - But still not oop ok 19 - nor that ok 20 - Retrieve by Primary ok 21 - Don't have oop ok 22 - Don't have oop - even after getting eep ok 23 - create needs a hashref at t\04-lazy.t line 67 # ok 24 - theother is not a column of Lazy at t\04-lazy.t line 72 # ok 25 - andanother is not a column of Lazy at t\04-lazy.t line 77 # ok t\05-Query............1..19 prepare_cached(INSERT INTO Movies (title, rating) VALUES (?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1f69c74) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 prepare_cached(INSERT INTO Movies (title, rating) VALUES (?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1f69c74) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 prepare_cached(INSERT INTO Actor (film, name, id, salary) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fab95c) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 prepare_cached(INSERT INTO Actor (film, name, id, salary) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fab95c) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 prepare_cached(INSERT INTO Actor (film, name, id, salary) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fab95c) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 prepare_cached(INSERT INTO Actor (film, name, id, salary) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fab95c) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 prepare_cached(INSERT INTO Actor (film, name, id, salary) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fab95c) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 1 - ** Full where in query ok 2 - No errors ok 3 - The object isa Actor ok 4 - ** Placeholder in query ok 5 - No errors ok 6 - The object isa Actor ok 7 - ** Add restriction ok 8 - No errors ok 9 - The object isa Actor ok 10 - ** Join ok 11 - No errors ok 12 - The object isa Actor ok 13 - 2 Films with 15 rating ok 14 - 3 Actors in film 1 ok 15 - 2 of them underpaid ok 16 - Cross table search ok 17 - The object isa Actor ok 18 - Fully qualified tables ok 19 - The object isa Actor ok t\06-hasa.............1..24 ok 1 - We have Bad Taste ok 2 - Bad taste hasa() director ok 3 - ... which is not an object ok 4 - Link Director table ok 5 - create Director ok 6 - Bad taste now hasa() director ok 7 - The object isa Director ok 8 - ... and is the correct director ok 9 - We have a new director ok 10 - He co-directed ok 11 - Didnt interfere with each other ok 12 - 1 Film directed by Peter Jackson ok 13 - Bad Taste ok 14 - inheriting hasa() ok 15 - inheriting hasa() ok 16 - ... correctly ok 17 - Can't deflate codirector: Bad Taste is not a Director at C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\Class-DBI-Frozen-301\blib\lib/Class/DBI/Frozen/301/Relationship/HasA.pm line 87 # ok 18 - Director_accessor ok 19 - Director ok 20 - CoDirector ok 21 - CoDirector_accessor ok 22 - The object isa Foo ok 23 - The object isa Film ok 24 - Object in after_create trigger isa Film ok t\07-Move.............1..23 ok 1 - Fetch Bad Taste again ok 2 - deprecated warnings ok 3 - Can only move to a related class ok 4 - deprecated warnings ok 5 - move() ok 6 - it's a different film ok 7 - with the same id() ok 8 - with the same rating() ok 9 - with the same sheep ok 10 - deprecated warnings ok 11 - Move it ok 12 - it's a different film ok 13 - with the same id() ok 14 - with the same rating() ok 15 - with the same sheep ok 16 - deprecated warnings ok 17 - Move up ok 18 - it's a different film ok 19 - with the correct title ok 20 - and different rating ok 21 - (correct rating) ok 22 - deprecated warnings ok 23 - Can't move to an unrelated class at t\07-Move.t line 55 # ok t\08-inheritcols......1..3 ok 1 - A columns ok 2 - A::B columns ok 3 - A::C columns ok t\09-has_many.........1..30 ok 1 - Actor primary OK ok 2 - Actor table set-up OK ok 3 - and have a suitable method in Film ok 4 - We have Bad Taste ok 5 - create Actor ok 6 - PVJ name ok ok 7 - No film ok 8 - Set film ok 9 - Now film ok 10 - Bad taste has one actor ok 11 - - the correct one ok 12 - add_to_actors must be object method ok 13 - add_to_actors takes hash prepare_cached(INSERT INTO Actor (film, name, id, salary) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fab510) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 14 - add_to_actors ok 15 - PJ ok ok 16 - PVJ still ok ok 17 - - so now we have 2 ok 18 - PJ first ok 19 - PVJ first ok 20 - One actor from restricted (sorted) has_many ok 21 - It's PJ ok 22 - No errors prepare_cached(INSERT INTO Actor (film, name, id, salary) VALUES (?, ?, ?, ?) ) statement handle DBIx::ContextualFetch::st=HASH(0x1fab510) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 23 - Actor can't SELECT id # FROM Actor # WHERE film = ? AND 2 = ? AND 3 = ? # : Cannot call execute with a reference (HASH(0x1fedd48)) # at C:\cpanrun-5.8\depot\main\contrib-patched\perl\CPAN\src\Class-DBI-Frozen-301\blib\lib/Class/DBI/Frozen/301/Relationship/HasMany.pm line 118 # ok 24 - - so we still only have 2 actors ok 25 - We have 2 actors in bad taste prepare_cached(DELETE FROM Actor WHERE id=? ) statement handle DBIx::ContextualFetch::st=HASH(0x1fedc34) still Active at C:/cpanrun-5.8/build/5-8-0/site/lib/Ima/DBI.pm line 398 ok 26 - Delete bad taste ok 27 - - after deleting there are no actors ok 28 - 'main' cannot alter the value of 'name' on objects of class 'Actor' at t\09-has_many.t line 103 # ok 29 - 'main' cannot access the value of 'name' on objects of class 'Actor' at t\09-has_many.t line 105 # ok 30 - Arnie's still Arnie ok t\10-mysql............DBI connect('test','',...) failed: Access denied for user 'ODBC'@'localhost' (using password: NO) at t/testlib/MyBase.pm line 10 1..0 # Skip Need MySQL for this test Free to wrong pool 15d2d10 not 80103 during global destruction.