mockolate

How do I get Flexunit, FlexMojos and Mockolate to work together?

痴心易碎 提交于 2019-12-13 22:12:35
问题 For the past two days, I've been trying to get get FlexUnit, FlexMojos, and Mockolate to work together so that I can run tests in TeamCity, but I have not been having any luck. I have one project on Teamcity currently that uses FlexMojos and the FlexMojos-flexunit that works, however that project is not using Mockolate. The pom for that project looks like this: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:/

Mockolate: Suddenly getting VerifyError: illegal override

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 07:08:38
问题 I started using mockolate to write my unit tests a few weeks back, and up 'till now it's worked great. All of a sudden, last night, I started getting errors like the following on every test that uses mockolate: VerifyError: Error #1053: Illegal override of IContextMenuBuilder17E13646AD898E2616969BF920CF08CD49997F2F in asmock.generated.IContextMenuBuilder17E13646AD898E2616969BF920CF08CD49997F2F. at global$init() In reading, it seems like this error is typically due to different swfs/swcs being