Commit Graph

455 Commits

Author SHA1 Message Date
sbohlen
6ee2ae5ee2 SPRNET-1372
Initial support for native .NET 4 compilation introduced
2010-09-24 21:27:51 +00:00
sbohlen
70d2b5413f SPRNET-1226
Update docs to reflect the requirement for a non-null, non-empty string cache key.  Added guard clauses in the BaseCacheAttribute constructor to prevent passing null or empty string as the cache key argument.  Tests added to ensure guard clauses behave as expected.
2010-09-22 17:48:41 +00:00
bbaia
55d0c40aa8 CachedAopProxyFactory doesn't take into account the ProxyTargetAttributes property for cache key generation [SPRNET-1371] 2010-09-22 10:21:20 +00:00
bbaia
bc3e560ad3 Add 'when' condition to the Reference Validator (SPRNET-1370) 2010-09-22 09:26:05 +00:00
markpollack
423ec64916 SPRNET-1365 - Update to ActiveMQ NMS 1.4
SPRNET-1369 - NmsTemplate was not attempting to start the connection when calling RecieveAndConvert
2010-09-22 04:00:24 +00:00
sbohlen
247092ebb3 fixing broken build due to new NUnit update and stale assembly binding redirects (this time with binding redirect syntax that should be understood by .NET 1.1!) 2010-09-21 19:54:58 +00:00
sbohlen
bd46aeb575 fixing broken build due to new NUnit update and stale assembly binding redirects 2010-09-21 19:42:15 +00:00
sbohlen
2b7f0f5f94 SPRNET-1368
Patch Applied.  Elegant (if straightforward!) fix.  Nice find re: the exposed error condition.
2010-09-21 19:34:54 +00:00
sbohlen
20196ec91f test state reset moved to SetUp() method to ensure all tests can be run together 2010-09-21 19:18:30 +00:00
markpollack
6f43fd3e5f SPRNET-1367 - Remove dependency of unit tests on DotNetMock framework
Spring.Core.Tests completed
2010-09-21 13:26:11 +00:00
markpollack
1e031f6a81 SPRNET-1367 - Remove dependency of unit tests on DotNetMock framework
Spring.Core.Tests completed
2010-09-21 13:24:55 +00:00
markpollack
dac1c093c9 SPRNET-1367 - Remove dependency of unit tests on DotNetMock framework
Start Spring.Aop.Tests
2010-09-21 13:13:54 +00:00
markpollack
b9d38ec34e SPRNET-1367 - Remove dependency of unit tests on DotNetMock framework
Spring.Core.Tests completed
2010-09-21 05:18:13 +00:00
markpollack
139ce90484 update to nunit 2.5.7.10213
initial pass at compilation using .net 4.0 (not just side-by-side support)
2010-09-21 02:41:32 +00:00
sbohlen
d195229a46 SPRNET-1315
Unable to devise a failing test that evidences the issue, but added several tests that demonstrate that its (seemingly)not possible to create the problem described in this issue.  If a failing test is ultimately submitted, we can investigate further.
2010-09-15 13:20:38 +00:00
sbohlen
a372007797 SPRNET-1338
Fixing broken build; delegate syntax in test incompatible with pre-.NET 2.0 :(
2010-09-07 22:55:00 +00:00
sbohlen
1133dbfc70 SPRNET-1338
Commit failing test case for recurring concurrency bug in re: AbstractObjectFactory; finally have a 100% reproducible failing test case to work against now.  Next up, of course, will be the harder part of making the test pass... :)
2010-09-07 22:48:04 +00:00
sbohlen
955e65b450 upd 2010 csproj files in response to r1035 and r1036 commits 2010-09-07 13:31:14 +00:00
markpollack
71eddc839d SPRNET-1363 - Refactor OnMessage processing in MessageListenerAdapter to be better support listener method dispatching logic in subclasses. 2010-09-06 20:31:12 +00:00
markpollack
52ebf1c17d Enable warning as error compilation option for Spring.Messaging.Tests.2008 2010-09-06 19:48:21 +00:00
markpollack
bf4b0fb551 some misc test code cleanup 2010-09-06 19:46:13 +00:00
markpollack
8cee3e2719 some misc test code cleanup 2010-09-06 19:03:18 +00:00
sbohlen
c62a66a852 SPRNET-1330
-wrapped modifications to nestingCount in Interlock.Increment and Interlock.Decrement calls
-wrapped calls to decrement nestingCount with protection against it decrementing to < 0
2010-08-27 19:09:47 +00:00
sbohlen
7626d3f38e SPRNET-1337
-Applied recommended fix from forum post
-Added new unit test to validate that handlers are acting in parallel once new patch introduced
2010-08-27 17:00:05 +00:00
sbohlen
3e8527e160 SPRNET-1277
Added additional option of <database: ... /> as well as <db: ... /> as a wellknown namespace since inconsistency between different places in the documentation mentions BOTH yet only <db: ... /> was actually a registered wellknown namespace (meaning any attempts to use <database:  ... /> namespace would only work if the parser for that namespace was explicitly configured by the user)
2010-08-26 15:49:39 +00:00
sbohlen
f9ec394370 SPRNET-1360
Improve exception messages in the case where the DynamicProxyManager attempts to register a Proxy using an already-registered name but pointing to a DIFFERENT type (this is usually a configuration error associated with attempting to export two or more services from two or more config sources that accidentally share a single common name)
2010-08-23 17:15:43 +00:00
sbohlen
3c6e30253d Fixing broken build (error was caused by having two DIFFERENT tests in the same assembly reuse the same service name so the typenames of the dynamic types created by the proxying engine collided). Second test changed to use Guid-generated service name for the registration of its service so no future collisions should be possible. 2010-08-20 20:46:46 +00:00
sbohlen
7ef83af370 SPRNET-1262
-add tests to verify proper behavior from service exporter when applying declarative attributes to exported services
-relocate recent ConstructorInstantiationInfo class into Utils namespace
2010-08-20 20:04:55 +00:00
sbohlen
6d2410dc5d update 2010 projects to reflect new files introduced 2010-08-19 18:07:40 +00:00
markpollack
2aee3148ca SPRNET-1358 : Allow for ignoring of resources not found in PropertyFileVariableSource
SPRNET-1356 : Introduce IPriorityOrdered interface to ensure correct ordering among IObjectFactoryPostProcessors
SPRNET-1355 : TypeAlias usage with other IObjectFactoryPostProcessor object definitions not working.

work started on SPRNET-1262 

fix 2003/2005 solution builds
2010-08-19 14:56:55 +00:00
sbohlen
e793a01220 SPRNET-1262
added test to demonstrate proper functionality when passing CustomAttributeBuilder instance to the proxy builder
2010-08-18 16:06:58 +00:00
sbohlen
dfc45053fb misc updates to cleanup VS2010 projects and tests 2010-08-17 18:41:44 +00:00
sbohlen
11bb25277b remove EMS-related projects from VS2010 solution so that sln can be loaded + built by those without TIBCO EMS installed/available 2010-08-17 13:52:02 +00:00
sbohlen
16c5d60584 create VS2010 project for Spring.Messaging.Ems.Tests 2010-08-17 13:49:10 +00:00
sbohlen
3466cdf3b2 update Spring.Messaging.Ems.2010.csproj to reference 2010 versions of Core, Aop, and Data 2010-08-17 13:43:22 +00:00
bbaia
85a6c2266b Unit Test reproducing SPRNET-1262 2010-08-17 10:19:00 +00:00
sbohlen
b2dc1821b9 SPRNET-1107
-Confirmed fix is present in the trunk; added explicit test to validate expected behavior
2010-08-11 16:41:52 +00:00
sbohlen
d119d8f535 SPRNET-1364
Verified as resolved in SPRNET-1214 (which is a superset of this issue) but added new tests specifically for this reported use-case
2010-08-09 21:17:57 +00:00
lahma
f81b98696a Fix VS2010 project files 2010-08-09 19:37:00 +00:00
sbohlen
fb81403684 SPRSPRNET-998
Fixing broken build (inferred array typing and in-line initialization are also no-nos under .NET 2.0...you'd think I'd start to be catching on to this by now, eh?) /slaps self on back of hand/
2010-08-09 15:42:55 +00:00
sbohlen
36f6310fb4 SPRNET-998
Reduced the ambition of the method designed to create the array of constructor args so that it no longer attempts any type-casting.  The method takes type object and returns type object so creating typed arrays in the middle of the method isn't needed and leads to several so-called edge-conditions depending on constructor arg types such as the enum array indicated by this issue.
2010-08-06 21:53:42 +00:00
sbohlen
11816bf43b SPRNET-694
-updated so-called "anonymous child containers" to be assigned deterministic naming of the form "parent/nestedContainer1/nestedContainer2/nestedContainer3/etc"
-prior changes already prevent the actual error reported in this issue by throwing if two contexts are attempted to be registered with the same names
2010-08-04 19:56:30 +00:00
markpollack
904167ec0f SPRNET-1306 - Exception parsing concurrency attribute in ems listener-container config 2010-08-03 17:10:50 +00:00
sbohlen
2c65cd280e SPRNET-984
-modified CreateAbsolutePath method to respect FQ urls as 'relativePath' argument
2010-08-03 16:17:25 +00:00
sbohlen
b351bc2f21 SPRNET-1271
-cannot reproduce
-added unit tests around the HandlerMap class' MapPath() method so that if a subsequent example of the behavior reported in this issue is provided we can properly test against it
2010-08-03 15:14:41 +00:00
bbaia
9998999a95 REST client API: Dev (SPRNET-1345) 2010-08-03 15:03:38 +00:00
sbohlen
dfd305a58d SPRNET-1122
-change behavior of RegularExpressionValidator.Validate(...) method to depend almost entirely on the regex match in re: its boolean return
2010-08-02 19:30:38 +00:00
sbohlen
ba0966d4b5 SPRNET-1124
fixing broken build from inadvertent use of still more non-.NET 1.1-compatible elements in code (and a broken test due to changes in .NET 1.1 SP1)
2010-07-29 20:01:35 +00:00
sbohlen
6fbf4b3366 SPRNET-1124
fixing broken build from inadvertent introduction of anonymous delegates...ANOTHER something obviously unsupported under .NET 1.1
2010-07-29 16:09:12 +00:00
bbaia
5ba5b8bc50 REST client API: Fix build in VS2008 (SPRNET-1345) 2010-07-29 08:34:29 +00:00