hprange / wounit

The WOUnit framework contains a set of utilities for testing WebObjects applications using JUnit 4.7 or later capabilities.
http://hprange.github.io/wounit/
Apache License 2.0
19 stars 18 forks source link

Fix binary incompatibility between Wonder 6 and 7 #51

Closed hprange closed 6 years ago

hprange commented 6 years ago

The signature of some methods of the ERXArrayUtilities class is binary incompatible between Wonder 6 and 7. See stack trace below:

java.lang.NoSuchMethodError: er.extensions.foundation.ERXArrayUtilities.arrayMinusArray(Ljava/util/Collection;Ljava/util/Collection;)Lcom/webobjects/foundation/NSArray;
    at com.wounit.rules.MockEditingContext.saveChanges(MockEditingContext.java:324)

Let's inline the incompatible code from Wonder into WOUnit and make everybody happy!