Directory proposal/myrmidon/src/testcases/org/apache/myrmidon/components/deployer/

Directory Created:
2002-02-02 12:51
Directory Deleted:
2002-04-17 10:49
Total Files:
0
Deleted Files:
4
Lines of Code:
0

Browse with ViewVC

[root]/proposal/myrmidon/src/testcases/org/apache/myrmidon/components/deployer

                                         test (0 files, 0 lines)

Lines of Code

proposal/myrmidon/src/testcases/org/apache/myrmidon/components/deployer/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 23 (100.0%) 183 (100.0%) 7.9
adammurdoch 11 (47.8%) 147 (80.3%) 13.3
donaldp 12 (52.2%) 36 (19.7%) 3.0

Most Recent Commits

donaldp 2002-04-17 10:49

zappity zap

0 lines of code changed in:

adammurdoch 2002-03-15 02:48

TypeManager changes:



* Reverted TypeManager to reference roles by name, rather than type.



* DefaultTypeManager now uses the RoleManager to determine a role's type, to

use for doing instanceof checks.



* DefaultMasterConverter, InstantiatingServiceManager, and VfsManager no

longer look up a TypeFactory in their service() method.



* Added ROLE field to several interfaces.

5 lines of code changed in:

donaldp 2002-03-01 08:54

restyle via IDEA

4 lines of code changed in:

adammurdoch 2002-02-25 10:42

Replaced usage of Avalon Context with Myrmidon specific Context:



* Moved read-only property and resolve methods from TaskContext to new Context

interface. TaskContext now extends the new Context interface.



* Changed the Configurer methods to use the new Context. Both implementations

use the supplied Context to do property resolution.



* Renamed TaskContext.getPropertys() -> getProperties().



* Moved PropertyUtil from configurer to workspace package, as that is now

the only place it is used.



* Changed PropertyUtil to work with the new Context.



RoleManager:



* A default implementation for a role can now be specified. Currently

can only do this programatically.



DefaultMasterConverter:



* Removed MasterConverter interface. It is now identified by the Converter

role.



* Now caches the converter instances.



* Changed the converter search algorithm to traverse the *source* class

hierarchy, including all interfaces. Chooses the most specialised

conversion, and fails if there is more than one such choice.



DefaultConfigurer:



* Attempts to convert references, if the type does not match the expected type.



* Changed handling of nested elements, for named adders/setters:

* If the method type can be mapped to a role, and that role has a default

implementation, then use that default implementation.

* Otherwise, if the method type is an interface, fail.

* Otherwise, create an instance using no-args constructor.



* Changed handling of nested elements, for typed adders/setters:

* If the method type can be mapped to a role, and the element name is

a type of that role, then use that role to create the instance.

* Otherwise, use the type factory for the generic data-type role.

* Attempt to convert the instance if it is not of the expected type.



* Added a bunch of test cases for new functionality.



* Renamed all the ConfigTest classes to have descriptive names.



Misc:



* Renamed package framework.factorys -> framework.factories.



* Made tests work when fork = false.

7 lines of code changed in:

adammurdoch 2002-02-21 12:52

Changes to RoleManager:



* A class may now be explicitly associated with a role, rather than being

implicit in the role name.



* Added RoleInfo to bundle up role meta-info.



* Reworked the methods of RoleManager.



* Added test-cases for DefaultRoleManager.



* Make tests compile again.

4 lines of code changed in:

donaldp 2002-02-21 11:06

Rename myrmidons ServiceManager stuff to AntServiceManager



Refactored the codebase to use Avalons ServiceManager rather than ComponentManager. The reason for this is that the ComponentManager required that contained objects implement the Component interface while the ServiceManager constructs do not have this requirement.



This makes it much easier to extract parts of Myrmidon without any dependency on Ant/Avalon

3 lines of code changed in:

donaldp 2002-02-21 10:16

Moved Converter architecture into aut hierarchy as it is completely decoupled from rest of ant

4 lines of code changed in:

donaldp 2002-02-21 09:45

Update to latest converter architecture

1 lines of code changed in:

  • proposal/myrmidon/src/testcases/org/apache/myrmidon/components/deployer: TestConverter1.java (+1 -1)
adammurdoch 2002-02-21 03:23

* Added AbstractProjectTest, which allows a sub-class test case to execute

targets from project files.



* AbstractMyrmidonTest.getTestResource() now asserts that the resource exists.

0 lines of code changed in:

adammurdoch 2002-02-10 02:34

Changes to DefaultDeployer:



* Got rid of <converters> element from antlib descriptor. Converters are

now defined in the <types> element.



* Moved (most of) the role-specific knowledge from Deployment back to DefaultDeployer.



* Split out ClassLoader management into DefaultClassLoaderManager. This is

living in the deployer package for now.



* Tidied-up the component set-up and clean-up in DefaultEmbeddor. Added

the ClassLoaderManager component.



* Added test for TypeDeployer.deployAll().



Changes to unit tests:



* Added AbstractMyrmidonTest, which takes care of locating test resources.



* Changed the VFS, type factory, and deployer tests to use AbstractMyrmidonTest.

113 lines of code changed in:

donaldp 2002-02-03 03:50

Update test to correct bug introduced

8 lines of code changed in:

donaldp 2002-02-03 03:46

Convert to use immutable type

14 lines of code changed in:

donaldp 2002-02-03 02:35

Rename ComponentTestBase to AbstractComponentTest and make AbstractComponentTest abstract.

2 lines of code changed in:

adammurdoch 2002-02-02 12:51

* 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.

18 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT