Поймал редкий баг. После копирования большого проекта из одного Eclipse проекта в другой, отпали все flexunit тесты, и начал получать неприятное ошибки в каждом:
Ошибка
method not implemented org.flexunit.internals.runners.statements::IAsyncHandlingStatement/org.flexunit.internals.runners.statements:IAsyncHandlingStatement::handleBindableNextSequence() over-binding 0 in org.flexunit.internals.runners.statements::ExpectAsync method not implemented org.flexunit.internals.runners.statements::IAsyncHandlingStatement/org.flexunit.internals.runners.statements:IAsyncHandlingStatement::asyncResponder() over-binding 0 in org.flexunit.internals.runners.statements::ExpectAsync
в стеке
VerifyError: Error #1053: Illegal override of ExpectAsync in org.flexunit.internals.runners.statements.ExpectAsync. at global$init at org.flexunit.runners::BlockFlexUnit4ClassRunner/withPotentialAsync(BlockFlexUnit4ClassRunner.as:336) at org.flexunit.runners::BlockFlexUnit4ClassRunner/withDecoration(BlockFlexUnit4ClassRunner.as:345) at org.flexunit.runners::BlockFlexUnit4ClassRunner/methodBlock(BlockFlexUnit4ClassRunner.as:297) at org.flexunit.runners::BlockFlexUnit4ClassRunner/runChild(BlockFlexUnit4ClassRunner.as:129) at org.flexunit.internals.runners::ChildRunnerSequencer/executeStep(ChildRunnerSequencer.as:82) at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete(StatementSequencer.as:134) at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer.as:108) at org.flexunit.internals.runners.statements::StatementSequencer/executeStep(StatementSequencer.as:97) at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete(StatementSequencer.as:134) at org.flexunit.token::AsyncTestToken/sendResult(AsyncTestToken.as:118) at org.flexunit.internals.runners.statements::AsyncStatementBase/sendComplete(AsyncStatementBase.as:76) at org.flexunit.internals.runners.statements::StatementSequencer/sendComplete(StatementSequencer.as:165) at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete(StatementSequencer.as:138) at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer.as:108) at org.flexunit.internals.runners.statements::StatementSequencer/executeStep(StatementSequencer.as:97) at org.flexunit.internals.runners.statements::StatementSequencer/handleChildExecuteComplete(StatementSequencer.as:134) at org.flexunit.internals.runners.statements::StatementSequencer/evaluate(StatementSequencer.as:108) at org.flexunit.runners::ParentRunner/run(ParentRunner.as:416) at org.flexunit.runner::FlexUnitCore/beginRunnerExecution(FlexUnitCore.as:245) at org.flexunit.token::AsyncListenersToken/sendReady(AsyncListenersToken.as:96) at org.flexunit.runner.notification.async::AsyncListenerWatcher/sendReadyNotification(AsyncListenerWatcher.as:148) at org.flexunit.runner.notification.async::AsyncListenerWatcher/handleListenerReady(AsyncListenerWatcher.as:163) at flash.events::EventDispatcher/dispatchEventFunction at flash.events::EventDispatcher/dispatchEvent at flexunit.flexui::FlexUnit4TestRunner/handleConnect(FlexUnit4TestRunner.as:315) at flash.events::EventDispatcher/dispatchEventFunction at flash.events::EventDispatcher/dispatchEvent at flash.net::XMLSocket/reflectEvent
Решение
Проблема оказалась в конфликте библиотек flexUnit, среди исходников затесались их разные версии (flex и as3)Единственное упоминание аналогичной проблемы: http://forums.adobe.com/thread/659296. Починил удалением лишних swc-шек.
Комментариев нет:
Отправить комментарий