#17 utshowresults example in doc fails

Closed-Fixed
utAssert (5)
5
2013-10-12
2002-12-21
Bill Pribyl
No

The utassert docs say one can call utassert.showresults
and then run simple scripts without calling
utplsql.test. However the following script in the docs
does not work. It is unclear to me whether this is a
doc bug or a functionality bug.

Here is a simpler case.

set serveroutput on size 1000000
BEGIN
utAssert.showresults;
utAssert.eq ('Test', 1, 1);
END;
/

BEGIN
*
ERROR at line 1:
ORA-02291: integrity constraint
(UTP.UTR_ERROR_OUTCOME_FK) violated - parent key not found
ORA-06512: at "UTP.UTRERROR", line 118
ORA-06512: at "UTP.UTRERROR", line 293
ORA-06512: at "UTP.UTROUTCOME", line 115
ORA-01400: cannot insert NULL into
("UTP"."UTR_OUTCOME"."RUN_ID")
ORA-06512: at "UTP.UTRESULT2", line 65
ORA-06512: at "UTP.UTASSERT2", line 148
ORA-06512: at "UTP.UTASSERT2", line 543
ORA-06512: at "UTP.UTASSERT", line 130
ORA-06512: at line 3

Discussion

  • Chris Rimmer

    Chris Rimmer - 2003-05-18
    • assigned_to: nobody --> chrisrimmer
     
  • Chris Rimmer

    Chris Rimmer - 2003-05-22
    • status: open --> closed
     
  • Chris Rimmer

    Chris Rimmer - 2003-05-22

    Logged In: YES
    user_id=353735

    Removed from documentation.

     
  • Paul Walker

    Paul Walker - 2013-10-12
    • Status: closed --> Closed-Fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks