ftrifin / xtext-utils

Automatically exported from code.google.com/p/xtext-utils
0 stars 0 forks source link

Add option to completely disable the serializer #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ignoreSerializationDifferences() still runs the IResource.Save()...

Sometimes we do not want to test the Serializer at all, hence should have a 
possibility to suppress serialization completely...

`testFileNoSerializer(...)` should not run the serializer at all

{{{
ignoreSerializationDifferences();
testFile(...)
}}} ...

Original issue reported on code.google.com by lcorneliussen@googlemail.com on 28 Jul 2011 at 1:42

GoogleCodeExporter commented 9 years ago
{{{
ignoreSerializationDifferences(); // should still run the serializer, but not 
compare results
testFile(...)
}}}

{{{
suppressSerialization(); // should not run the serializer at all
testFile(...)
}}}

Original comment by lcorneliussen@googlemail.com on 28 Jul 2011 at 1:44

GoogleCodeExporter commented 9 years ago
Added suppressSerialization() method

Original comment by karsten....@googlemail.com on 2 Aug 2011 at 3:35