@czadra: Thanks for making all the tests use a consistent way to find the SDK. 
In your template-unittest.properties file, it seems like the four lines for 
setting the properties shouldn't be commented out with #, since anybody making 
a copy will have to uncomment these lines. Also, is there any reason why some 
of the example Windows paths use \\ and others use // ? If a single / works, I 
think that's the simplest.

Also, last Friday I made the 'eclipse' target run the 'copy.sdk' target, 
without remembering that 'main' runs' 'eclipse'. So 'ant main' (and therefore 
'ant') is currently copying the SDK. Can we stop doing that now?

@jbalsas: Thanks for making 'ant tests' run the SWC-building tests. However, 
some of them fail for me:

functional.tests:
    [junit] unittest.properties not found
    [junit] Env - FLEX_HOME = D:\Apache\incubator\flex\sdk\branches\develop
    [junit] Env - PLAYERGLOBAL_HOME = D:/Apache/prerequisites/player
    [junit] Env - AIR_HOME = D:/Apache/prerequisites/AdobeAIRSDK
    [junit] Env - FLASHPLAYER_DEBUGGER = 
D:/Apache/prerequisites/fp_11.1.102.63_archive/11_1r102_63_32bit_debug/flashplayer11_1r102_63_win_sa_debug_32bit.exe
    [junit] Running f.SDKSWCTests
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\airframework\compile-config.xml
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\airframework\src\mx\core\WindowedApplication.as:3513
    [junit] Error: Implicit coercion of a value with static type Object to a 
possibly unrelated type DisplayObject.
    [junit]             const win:DisplayObject = e.target;
    [junit]                                       ^
    [junit]
    [junit] Expected: is <0>
    [junit]      got: <1>
    [junit] )
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\apache\compile-config.xml
    [junit]
    [junit] 2795 bytes written to 
C:\Users\gosmith.ADOBENET\apache6960283897331585088.swc in 0.204 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\authoringsupport\compile-config.xml
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\authoringsupport\src\AuthoringSupportClasses.as:41
    [junit] Error: Access of possibly undefined property com.
    [junit] com.adobe.viewsource.ViewSource
    [junit] ^
    [junit]
    [junit] Expected: is <0>
    [junit]      got: <1>
    [junit] )
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\automation\compile-config.xml
    [junit]
    [junit] 222031 bytes written to 
C:\Users\gosmith.ADOBENET\automation826051595714317936.swc in 1.033 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\automation_agent\compile-config.xml
    [junit]
    [junit] 92486 bytes written to 
C:\Users\gosmith.ADOBENET\automation_agent8444353713056428228.swc in 0.808 
seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\automation_air\compile-config.xml
    [junit]
    [junit] 33505 bytes written to 
C:\Users\gosmith.ADOBENET\automation_air3230476853949970118.swc in 0.932 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\automation_airspark\compile-config.xml
    [junit]
    [junit] 20236 bytes written to 
C:\Users\gosmith.ADOBENET\automation_airspark3586066025946163224.swc in 0.746 
seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\automation_dmv\compile-config.xml
    [junit]
    [junit] 190945 bytes written to 
C:\Users\gosmith.ADOBENET\automation_dmv7706242387563503746.swc in 0.799 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\automation_flashflexkit\compile-config.xml
    [junit]
    [junit] 12002 bytes written to 
C:\Users\gosmith.ADOBENET\automation_flashflexkit1312505718849999629.swc in 
0.491 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\core\compile-config.xml
    [junit]
    [junit] 3159 bytes written to 
C:\Users\gosmith.ADOBENET\core2880352323301640809.swc in 0.532 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\flash-integration\compile-config.xml
    [junit]
    [junit] 29024 bytes written to 
C:\Users\gosmith.ADOBENET\flash-integration6836137019897693988.swc in 0.547 
seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\framework\compile-config.xml
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1398
    [junit] Warning: variable definition duplicates function parameter: events.
    [junit]                                             var events:Array = 
updatedItems[j].events;
    [junit]                                                 ^
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:111
    [junit] Warning: Initializer value 3144134277 for type 'int' must be 
between -2147483648 and 2147483647 inclusive. An initial value of -1150833019 
will be used instead.
    [junit]             var h1:int = 0xbb67ae85;
    [junit]                          ^
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:113
    [junit] Warning: Initializer value 2773480762 for type 'int' must be 
between -2147483648 and 2147483647 inclusive. An initial value of -1521486534 
will be used instead.
    [junit] 1005597 bytes written to 
C:\Users\gosmith.ADOBENET\framework7466335620323240831.swc in 3.345 seconds
    [junit]             var h3:int = 0xa54ff53a;
    [junit]                          ^
    [junit] Expected: is <0>
    [junit]
    [junit]      got: <4>
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\framework\src\mx\utils\SHA256.as:115
    [junit] )
    [junit] Warning: Initializer value 2600822924 for type 'int' must be 
between -2147483648 and 2147483647 inclusive. An initial value of -1694144372 
will be used instead.
    [junit]             var h5:int = 0x9b05688c;
    [junit]                          ^
    [junit]
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\halo\compile-config.xml
    [junit]
    [junit] 41238 bytes written to 
C:\Users\gosmith.ADOBENET\halo8889190254724156442.swc in 0.127 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\mobilecomponents\compile-config.xml
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\mobilecomponents\src\spark\components\View.as:441
    [junit] Error: Call to a possibly undefined method Event.
    [junit]             dispatchEvent(new Event("navigatorChanged"));
    [junit]                               ^
    [junit]
    [junit] Expected: is <0>
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\mobilecomponents\src\spark\components\View.as:982
    [junit] Error: Type was not found or was not a compile-time constant: Event.
    [junit]      got: <2>
    [junit]     private function application_resizeHandler(event:Event):void
    [junit] )
    [junit]                                                      ^
    [junit]
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\rpc\compile-config.xml
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\rpc\src\mx\rpc\xml\SchemaMarshaller.as:156
    [junit] Warning: variable definition duplicates function parameter: value.
    [junit]             var value:* = unmarshaller(rawValue, type, restriction);
    [junit] 391894 bytes written to 
C:\Users\gosmith.ADOBENET\rpc4020703131199917066.swc in 1.269 seconds
    [junit]                 ^
    [junit] Expected: is <0>
    [junit]
    [junit]      got: <1>
    [junit] )
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\spark_dmv\compile-config.xml
    [junit]
    [junit] 15497 bytes written to 
C:\Users\gosmith.ADOBENET\spark_dmv4247945619694088249.swc in 0.755 seconds
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\tool\compile-config.xml
    [junit]
    [junit] 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\tool\src\mx\automation\tool\ToolAdapter.as:1903
    [junit] Warning: variable definition duplicates function parameter: message.
    [junit]                     var message:String = "WARNING....... somebody 
called setLastError. This was not tested for Marshalling";
    [junit]                         ^
    [junit] 110637 bytes written to 
C:\Users\gosmith.ADOBENET\tool8024309300705680535.swc in 1.045 seconds
    [junit]
    [junit] Expected: is <0>
    [junit]      got: <1>
    [junit] )
    [junit] Loading configuration: 
D:\Apache\incubator\flex\sdk\branches\develop\frameworks\projects\tool_air\compile-config.xml
    [junit]
    [junit] 130905 bytes written to 
C:\Users\gosmith.ADOBENET\tool_air3903286668148252506.swc in 1.083 seconds
    [junit] Tests run: 18, Failures: 6, Errors: 0, Time elapsed: 18.424 sec
    [junit] Test f.SDKSWCTests FAILED

Do they pass for you? If a test doesn't pass, I'd like to @Ignore it until it 
passes so that 'ant tests' has all passes.

- Gordon

Reply via email to