bugLiberty Eiffel - Bugs: bug #40073, TEST_CONVERSION1 meaning

 
 

bug #40073: TEST_CONVERSION1 meaning

Submitter:  Paolo Redaelli <Tybor>
Submitted:  Fri 20 Sep 2013 02:56:49 PM UTC
   
 
Category:  ET Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  Tybor Open/Closed:  Closed
Release:  bell Fixed Release:  None
Planned Release:  adler
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Sep 2013 10:54:20 AM UTC, comment #1: 

Usually in such a case I replace ANY by ABSTRACT_STRING.

Cyril Adrian <cadrian>
Group administrator
Fri 20 Sep 2013 02:56:49 PM UTC, original submission:  

The meaning of test class TEST_CONVERSION1 is quite foggy to me....

https://github.com/LibertyEiffel/Liberty/blob/master/test/lib/numeric/integer/test_conversion1.e

What's the purpose of such a class? It's like this at least since 2007...

class TEST_CONVERSION1

create {}
   make

feature {ANY}
   make is
      do
         ---- Original:
         -- conv(1);
         -- New:
         conv("toto")
      end

   conv (x: ANY) is
      do
      end

   assert (b: BOOLEAN) is
      do
         cpt := cpt + 1
         if not b then
            std_output.put_string("TEST_INTEGER: ERROR Test # ")
            std_output.put_integer(cpt)
            std_output.put_string("%N")
         end
      end

   cpt: INTEGER

end -- class TEST_CONVERSION1

Paolo Redaelli <Tybor>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ramack (Updated the item)
  • -email is unavailable- added by Tybor (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-08-27 ramack StatusNeed Info Fixed
        Open/ClosedOpen Closed
        ReleaseNone bell

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code