Directory continuum-core/src/test/java/org/apache/maven/continuum/buildqueue/

Total Files:
1
Deleted Files:
0
Lines of Code:
158

Browse with ViewVC

[root]/continuum-core/src/test/java/org/apache/maven/continuum/buildqueue

Lines of Code

continuum-core/src/test/java/org/apache/maven/continuum/buildqueue/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 21 (100.0%) 218 (100.0%) 10.3
trygvis 14 (66.7%) 140 (64.2%) 10.0
evenisse 4 (19.0%) 43 (19.7%) 10.7
brett 3 (14.3%) 35 (16.1%) 11.6

Most Recent Commits

evenisse 2007-01-04 16:50

Fix license header from my previous commit

0 lines of code changed in:

evenisse 2007-01-04 14:35

Update license

32 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+32-10)
evenisse 2006-05-16 11:26

Merge with branch rev. 406599

10 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+10-10)
evenisse 2005-10-21 14:28

[CONTINUUM-361] Scheduler use now the correct build definition

[CONTINUUM-362] User can choose whiwh build definition is the default. The default build definition will be use when user will force a build.

1 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+1-1)
brett 2005-08-18 09:20

switch to trigger instead of forced flag

21 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+21-28)
brett 2005-08-17 18:34

rename ContinuumProject to Project

2 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+2-3)
brett 2005-08-12 03:45

replacement model and tests. Have commented out some tests that address the old model in the core until I can migrate it in

12 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+12-12)
trygvis 2005-07-24 16:01

o Cleaning up a bit, preparing for next round of changes.

- Removing scmUrl from the project construction in the test cases.

o Adding actions to validate and store the project groups.

4 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+4-4)
trygvis 2005-07-22 03:49

Doing some refactoring, making all methods in the Store return the object added

instead of it's key.

7 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+7-4)
trygvis 2005-07-18 01:00

o Moving useful stuff from AbstractContinuumStoreTest to AbstractContinuumTest.

4 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+4-11)
trygvis 2005-07-17 23:52

o Copying the ModelloJPoxContinuumStoreTest to AbstractContinuumTest and made

both the Modello and JDO test cases extend this class.

o Adding ContinuumObjectNotFoundException.

o Centralizing the lookup of ContinuumStore to make it easier to switch out the

implementation.

o Removing empty test configuration files.

o Fixing a bug in the Maven 1 project builder where a project would get added

to the project building result even if the builder threw a exception.

o Fixing a bug in DefaultContinuum where a Maven 1 project would be added even

if there was warnings while building the project.

2 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+2-1)
trygvis 2005-07-08 11:06

o Setting svn:eol-style=native and svn:keywords="Author Date Id Revision".

0 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(changed)
trygvis 2005-06-14 13:52

o Renaming makeProject() and addProject() to makeMavenTwoProject() and

addMavenTwoProject() to better reflect reality.

4 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+4-4)
trygvis 2005-06-12 11:47

Continuum

o Upgrading to JDO 2. Going with Modello alpha-3-SNAPSHOT.



Continuum Model

o Making the configuration a part of the project. These are really

deprecated and should go away.

o The ContinuumBuildResult is a part of the ContinuumBuild.

o The UpdateScmResult is a part of the ContinuumBuild.

o The ScmFile collections are a part of the CheckedOutScmResult and

UpdateScmResult.

o The ContinuumProject object and other objects that has subclasses should

be made abstract.



Continuum API

o Changed addMavenOneProject( url ) and addMavenTwoProject( url ) to

return the ContinuumProjectBuildingResult object. This was done to give

the client access to the result of the adding operation. Currently it

only uses it to get hang of the project ids added. Changed

addXXXProject( XXXProject ) to return the project id of the project

added.



All of these methods should return the same object encapsulating the

result of the operation but it should probably not be

ContinuumProjectBuildingResult objects. TBD.



Continuum Core

o Depracating methods that not work directly on a model class. These

should be removed before the alpha. Removed any references to them where

this was easy to do. Still need a pass to clean it up completly thus

they're still there.



o Removed lots of JDO test configurations. Changed the configuration in

src/main/resources to contain a configuration useful for testing. This

should probably be moved to src/test/resources and the core should by

default miss this configuration.



Continuum XML-RPC Interface

o Removing methods only available though direct usage of ContinuumCore in

the XML-RPC client. The XML-RPC interface now directly relates to the

Contiuum component only.



o Updating the excludes when transforming a object to a hashtable as JDO

now complains if we're accessing fields that's not detached instead of

returning null or just a empty collection.



Continuum XML-RPC Python Integration Tests and Client

o Reworked the continuum module. It now contains a Continuum class that

can be instanciated with a URL. This increases resusability of this

module. Reorganized the methods to match the XML-RPC interface.



o Adding AntProject as this is required when adding Ant projects.

Currently adding Maven 1 and 2 projects though a URL so those and the

shell project will be added later.



o Updating the continuum Python module to match the XML-RPC interface one

to one. Updating the ITs to match the new client API.



The Ant and Shell parts of the ITs are currenly broken as they're not

properly implemented in the core.

0 lines of code changed in:

trygvis 2005-05-19 10:32

o Fixing broken tests.

7 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+7-11)
trygvis 2005-05-18 21:34

o Setting svn:keywords=Id on all Java, XML and Velocity files.

0 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(changed)
trygvis 2005-05-06 08:30

Fixing CONTINUUM-110: "do not add a build result when no build occurs"

o Removing the "build executed" flag from the build.

o When enqueuing a project the build id won't be returned.

o The internal passing of ContinuumBuild objects have been removed as it's not

created until a build actually is executed. The BuildProjectTask is now the

context for a build containing the project id and the force flag.

45 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+45-52)
trygvis 2005-05-04 15:36

o Fixing CONTINUUM-100: "Add the ability to force a build"

o Adding a "forced" flag to ContinuumBuild.

o Adding a force parameter to Continuum.buildProject() and

ContinuumXmlRpc.buildProject().

o Updated the BuildProjectTask and task evaluator to obey the forced flag.

o Updated the socket and alarm triggers with the new API, they will both not

force the build.

52 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+52-22)
trygvis 2005-05-04 10:35

o Removing the old build queue code, it's all handled by plexus-taskqueue now.

o Switching the build queue tests to use the task queue instead.

15 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(+15-10)
trygvis 2005-05-02 18:17

Fixes CONTINUUM-60: checkout in background

o The background check outs are implemented with a CheckOutProjectTask and

COPTExecutor reading from the check out TaskQueue.

o Adding two more states: "checking out" and "updating".

o Adding a "project state guard" that's consulted by the ContinuumStore to

ensure that the project is in a legal state at all times. This might not be

the ideal solution to this problem but it's good enough for now.

o Updated some test to use the utility methods from

ModelloJPoxContinuumStoreTest to create projects it's a bit more complicated

now with the extra state transitions required to create a "new" project.

o Updating the integration tests as the tests have to wait for the check out to

complete before continuing.

o Cleaned up the exception handling in Continuum a bit, making all exception

instanciation go through a method to be able to centralize all logging. This

implies that the core will log every exception it throws.

o Removed all logging from the ContinuumXmlRpc interface as the core does it

now. The XML RPC clients will still get any exceptions returned as before.

0 lines of code changed in:

  • continuum-core/src/test/java/org/apache/maven/continuum/buildqueue: BuildQueueTest.java(changed)
Generated by StatSVN 0.3.2-SNAPSHOT