Quantcast
Channel: Adobe Community : Popular Discussions - FlexUnit
Viewing all articles
Browse latest Browse all 25673

Multiple Tests with same class name but different packages

$
0
0

this doesn't seem to work in FU 4.1RC1.

 

here is a code snippet from the TestRunner.mxml app that is produced:

 

 

import Pages.Company.Filter.TrayPresenterTest;

import Pages.Transaction.Filter.TrayPresenterTest;

 

         publicfunction runTests() : void {

            var core : FlexUnitCore = new FlexUnitCore();

            core.addListener(new CIListener());

 

var request:Request = Request.qualifyClasses.apply(

null,

[TrayPresenterTest,TrayPresenterTest]

);

            core.run(request);

         }

 

i get the following error:

 

/Users/jlage/Development/workspace/hmcp/build/TestRunner.mxml: Error: Can not resolve a multiname reference unambiguously. Pages.Company.Filter:TrayPresenterTest (from /Users/jlage/Development/workspace/hmcp/src/test/flex/Pages/Company/Filter/TrayPresenterT est.as) and Pages.Transaction.Filter:TrayPresenterTest (from /Users/jlage/Development/workspace/hmcp/src/test/flex/Pages/Transaction/Filter/TrayPresen terTest.as) are available.

 

 

is there a way to force the generated app to use the fully qualified class name?  or do they have to be globally unique?


Viewing all articles
Browse latest Browse all 25673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>