Mikhail Loenko wrote:
Hi Richard
Do you know, why these beans tests contain package 'sun.beans'?
What kind of classes are there?
Thanks,
Mikhail
2006/4/17, Richard Liang <[EMAIL PROTECTED]>:
Mikhail Loenko (JIRA) wrote:
[
http://issues.apache.org/jira/browse/HARMONY-88?page=comments#action_12373811 ]
Mikhail Loenko commented on HARMONY-88:
---------------------------------------
auth, crypto, and security parts integrated in revision 392891
Hello,
Beans tests are not in SVN yet. :-)
Contribution of code and unit tests for jndi, logging, prefs and sql plus unit
tests only for beans, crypto, math, regex and security
--------------------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-88
URL: http://issues.apache.org/jira/browse/HARMONY-88
Project: Harmony
Type: New Feature
Components: Contributions
Environment: Win32 and Linux
Reporter: George Harley
Assignee: Mikhail Loenko
Attachments: 01.crypto.and.security.test.integration.sh,
01.harmony.88.integration.sh, 01.harmony.88.integration.sh,
02.crypto.and.security.test.integration.diff, 02.harmony.88.integration.diff,
02.harmony.88.integration.diff, Harmony-Contribution.zip
Zip file containing implementation and unit test code for the following Harmony
components :
* jndi
* logging
* prefs
* sql
In addition there is unit test code only for the following Harmony components :
* beans
* crypto
* math
* regex
* security
The contents of this zip have been laid out with the current classlib directory
structure of the Apache Harmony SVN repository in mind. A version of
enhanced/classlib/trunk/make/build-java.xml is included containing new Ant
targets to compile the new implementation plus tests code, and then run the
tests.
Native code, plus makefiles are included to build a shared library that is
required to support the prefs implementation on the win.IA32 platform.
Not all of the unit test classes are capable of being compiled when the Ant
target "compile-tests" in <EXTRACT_DIR>/Harmony/make/build-java.xml is run. This
is because the current contents of the Harmony trunk do not satisfy all of the
dependencies of some classes. This issue affects the unit test code for the
following set of components ...
* beans (needs beans implementation in trunk)
* crypto (needs crypto implementation in trunk)
* logging (needs beans implementation in trunk)
* jndi (needs applet implementation in trunk)
* sql (needs rmi implementation in trunk)
As a temporary measure, the lines of Ant script in
<EXTRACT_DIR>/Harmony/make/build-java.xml that compile the above test code
have been commented out with explanations.
--
Richard Liang
China Software Development Lab, IBM
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
These test cases are used to test if the beans implementation can load
user-defined BeanInfos and PropertyEditors of which default location is
"sun.beans...." in RI. IMHO, these test cases are unnecessary. Because
it's said "The default value is implementation-dependent". Any comments?
Thanks a lot. :-)
You may wan to refer to the spec of
java.beans.PropertyEditorManager.getEditorSearchPath:
/*Returns:*/
/The array of package names that will be searched in order to
find property editors. /
/ The default value for this array is implementation-dependent,
e.g. Sun implementation initially sets to {"sun.beans.editors"}./
and java.beans.Introspector.getBeanInfoSearchPath
/*Returns:*/
/The array of package names that will be searched in order to
find BeanInfo classes. The default value for this array is
implementation-dependent; e.g. Sun implementation initially sets
to {"sun.beans.infos"}./
--
Richard Liang
China Software Development Lab, IBM