This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 121421 - RE Operation: Missing message in TestConditionIf test
Summary: RE Operation: Missing message in TestConditionIf test
Status: RESOLVED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-11-07 22:35 UTC by Sherry Zhou
Modified: 2009-01-26 18:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Zhou 2007-11-07 22:35:24 UTC
trunk build 20071106

 1. RE the java class that has the method below
 2. RE testConditionIf3 operation  
 -- Expected message 'public int size()'  in SQD does not show.  

This cause RE automation test 'REOperationTestConditionIF.testConditionIf3' fail.
 
     public void testConditionIf3(){
             List list = new LinkedList();
       Integer count = new Integer(0);
                   if( list != null){
           if( 0 < list.size()  && list.size() < 3) {
               if( list.get(0) == list.get(1)){
                   count = new Integer(1);
               }else if (list.get(0) == list.get(2)){
                   count = new Integer(2);
               }else if (list.get(1) == list.get(2)){
                   count = new Integer(3);
               }else{
                   count = new Integer(4);
               }
           }else {
               if  (0 < list.size()  && list.size() < 2){
                   if( list.get(0) == list.get(1)){
                       count = new Integer(5);
                   }
               }
           }
       }else{
           count = new Integer(6);
       }
   }
Comment 1 George Vasick 2007-11-13 00:44:19 UTC
Appears related to Issue 121394.
Comment 2 Sergey Petrov 2009-01-26 18:13:14 UTC
all four size methods are generated and visible in 6.5