Peter Donald
f76be89106
Add in unit tests for the TypeFactory classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271202 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5f5f39118b
Refactored dependecy tests so that myrmidon can not depend on antlib or the old ant tree.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271197 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ed9fb8b039
Update test to correct bug introduced
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271113 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d79128e782
Convert to use immutable type
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271111 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
bbb41d5a55
Renamed abstract VFS tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271101 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b429428ae6
Rename ComponentTestBase to AbstractComponentTest and make AbstractComponentTest abstract.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271099 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
2705071ab4
Move DefaultFileSystemManager to impl package, to get rid of circular package dependency.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271094 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
050083f8cf
Add in files used to test bzip functionality
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271075 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
021c159b9d
Add in unit test for bzip input/output streams
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271074 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
87ceed8170
* Added TypeDefinition and sub-classes, which are passed to TypeDeployer to
explicitly deploy a type. These replace the multi-arg deployX() methods.
* ConverterDef now sub-classes AbstractTypeDef.
* Changed AbstractTypeDef to use TypeDefinition objects, and to configure
them using the configurer. Removed all setX() methods from AbstractTypeDef
and sub-classes.
* Added some units tests for DefaultDeployer.
* Moved component set-up from DefaultConfigurerTest -> super class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271072 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
04e443acbe
Move across Stefans zip unit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271065 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e05e852a39
Add in a unit test that validates the dependency relationships between different packages.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271064 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
1e702432eb
Added VFS proposal.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271053 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
0061dd12cf
Got rid of some detail from an error message, so that the mesage
is independent of the method introspection order. This is to get
the unit tests to pass with the IBM JVM.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271031 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
bc34bb06ca
Allow typelibs to define custom roles:
* Add TypeDeployer interface, which allows control over the deployment of
types from a typelib.
* Add RoleManager.addNameRoleMapping().
* TypeManager methods now take a role Class object, rather than role name.
* Replace implicit role and type deployment in DefaultRoleManager.initialize()
and DefaultDeployer.initialize() with explicit createDeployer( ClassLoader )
method.
* DefaultDeployer now keeps track of the ClassLoader created for each typelib.
* Moved all ClassLoader creation to DefaultDeployer, for the time being.
* ConverterDef and AbstractTypeDef now use Deployer, rather than
deploying manually.
* Fixed DefaultMasterConverter for the case where destination is an interface,
and there is no appropriate converter registered.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271030 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a6621ddf39
Test Configurable objects are handled correctly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270978 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ed7685cd6f
Add in the ability for types to automagicall instantiated based on registration into TypeManager as previously discussed.
Also added unit tests to verify everything works as expected
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270976 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a99711a13e
Add some more tests to check recently added features of Configurer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270974 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
34ad9105d9
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270973 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d3d4e01d01
Update test to work with current error messages
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270972 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ac5c79a80f
Updated test case to reflect latest changes
Submitted By: "Adam Murdoch" <adammurdoch_ml@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270848 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6e89a86896
* Created a unit test suite. Added some tests for DefaultConfigurer.
Submitted By: "Adam Murdoch" <adammurdoch_ml@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270823 13f79535-47bb-0310-9956-ffa450edef68
24 years ago