varunkumarmnnit / otis-lib

Automatically exported from code.google.com/p/otis-lib
0 stars 0 forks source link

Enum map projection error #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Declare 2 different enum types with members that have similar endings (enum 
Type { incorrect, correct } )
2. Create the mapping in xml file.
3. Run a test that maps these types (both correct and incorrect)

What is the expected output? What do you see instead?
Expected to receive the specified mapping.
Received always the same (incorrect).

What version of the product are you using? On what operating system?
Latest version - Windows XP

Please provide any additional information below.
ProjectionBuilder.ExpandEnum checks enumValues to EndWith some string (in the 
example "correct" is always included in "WhateverNamespace.incorrect")
I forced the string to check against ("." + to) and works for me.

Original issue reported on code.google.com by jesus.li...@gmail.com on 21 Oct 2010 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by zdeslav....@gmail.com on 21 Oct 2010 at 2:30