leekelleher
3af7958940
Updated references for alias conventions constants across the solution.
2013-03-18 17:55:02 +00:00
Shannon Deminick
2b750843c5
Fixed up base web test, removes RequiresDbSetup in place of new database behavior - NoDatabasePerFixture.
...
Fixed issue with another test... no idea how it didn't show up failing before.
Fixes issue with string extensions and an infinite loop when the string to strip is empty/null.
2013-03-15 11:28:05 +06:00
leekelleher
37860b4015
Replaced all hard-coded GUID references to use the new Constants.
2013-03-14 22:00:37 +00:00
Shannon Deminick
33c5c41a31
Added better support for clearing the db schema for test. Added more support for different db behaviors for tests, now to update
...
the behaviors where necessary as this will speed things up quite a lot.
2013-03-14 02:43:17 +04:00
Shannon Deminick
245591c31f
Fixed up another test inconsistency
2013-03-13 18:52:15 +04:00
Shannon Deminick
50b05d25f5
Added BaseUmbracoApplicationTests and fixed up dispose on the ApplicationContext to ensure the db object is disposed and doesn't
...
reset the PluginManager (as this shouldn't really need to be done). Cleaned up all unit tests so they follow the same structure and
uses this base class where necessary and eliminates a lot of duplicate code.
2013-03-13 18:31:07 +04:00
Shannon Deminick
f79d046a87
Merge with 6.0.3
2013-03-05 22:19:31 +06:00
Shannon Deminick
82d645a0f7
Merge with 4.11.6
2013-03-05 22:18:53 +06:00
Shannon Deminick
a765f36d24
Adds unit tests for DynamicNode and DynamicPublishedContent, fixes both when querying for recursive properties.
...
Fixes: #U4-1839
2013-03-05 21:00:16 +06:00
Shannon Deminick
b5cbe63a4e
Back merged from 6.1 the changes required for #U4-1822 and #U4-1797
2013-03-02 02:43:22 +06:00
Shannon Deminick
4882df43bd
Back merged from 6.1 the changes required for #U4-1822 and #U4-1797
2013-03-02 01:50:53 +06:00
Shannon Deminick
010893a73a
Fixes: #U4-1822, #U4-1797 - Is helpers and indexes on result collections using IPublishedContent or DynamicPublishedContent were incorrect,
...
added unit tests to support issues and fixes.
2013-03-02 01:02:38 +06:00
Shannon Deminick
2ebfbd5d08
Fixed one test with merging
2013-02-22 10:34:43 +06:00
Shannon Deminick
567be2aecf
Fixed up merge issues
2013-02-22 07:08:45 +06:00
Shannon Deminick
6a6ac99c34
Merge with 6.0.1
2013-02-22 06:58:44 +06:00
Shannon Deminick
d68b4d97f6
Fixing merge issues
2013-02-22 06:43:52 +06:00
Shannon Deminick
96a62b57fb
Merge with 4.11.5
2013-02-22 06:21:12 +06:00
Shannon Deminick
cf4781153e
Fixes: #U4-873, #U4-888 - fixes media sorting in razor + MVC. Updates Nunit libs and Examine lib. Adds unit tests to
...
support new sorting fixes. Fixes up a few other issues with the legacy ExamineBackedMedia class, it will now handle all data
stored in Examine. Simplifies the Examine internal index sets to include all data.
2013-02-22 04:12:24 +06:00
Shannon Deminick
f2071379fc
Merge with 4.11.5
2013-02-21 22:40:24 +06:00
Shannon Deminick
a9947cda48
Merge with 6.0.1
2013-02-21 22:22:23 +06:00
Shannon Deminick
5f28f279e0
Merge with 4.11.5
2013-02-21 22:03:42 +06:00
Shannon Deminick
828dc64035
Backports fix for FullpathToRoot in GlobalSettings... not sure how some unit tests have been working this whole time.
...
Changes UseLegacySchema default value to false... was set to true!?
un-ignores LookupByNiceUrl tests and still ensures it doesn't require a database to test by passing in an optional parameter
to LookupByNiceUrl to specify if we want to include domain lookups or not (default is true)
2013-02-21 22:02:56 +06:00
Shannon Deminick
271b0691e2
Fixed up merge
2013-02-21 21:33:21 +06:00
Shannon Deminick
cf46df441a
Merge with 6.0.1
2013-02-21 21:17:47 +06:00
Shannon Deminick
1aa137e9da
merge fix
2013-02-21 21:13:21 +06:00
Shannon Deminick
042eb47c17
Merge with 4.11.5
2013-02-21 21:02:11 +06:00
Shannon Deminick
0b74164a8e
New base test class for anything relating to published content/media, un-ignores strongly typed tests.
2013-02-21 21:01:00 +06:00
Shannon Deminick
f8760b34b8
Merge with 6.0.1
2013-02-21 06:10:25 +06:00
Shannon Deminick
fd795e14c6
Merge with 4.11.5
2013-02-21 05:52:42 +06:00
Shannon Deminick
f2d105d8b9
Fixed #U4-814 and got all possible unit tests that were not working for DynamicNode but were working for
...
DynamicPublishedContent working. And fixed up the DynamicPublishedContent unit tests as these weren't working at all...
but seemed to say they did on the build server. strange.
2013-02-21 05:44:44 +06:00
Shannon Deminick
9d95c04ab6
Fixed #U4-814 and got all possible unit tests that were not working for DynamicNode but were working for
...
DynamicPublishedContent working.
2013-02-21 05:13:08 +06:00
Shannon Deminick
d622f76393
Fixed #U4-814 and got all possible unit tests that were not working for DynamicNode but were working for
...
DynamicPublishedContent working.
2013-02-21 05:02:06 +06:00
Shannon Deminick
e71dd3008d
Merge
2013-02-20 06:39:09 +06:00
Shannon Deminick
b47f9e87f1
Fixed up merging and unit test structures so taht BaseWebTest uses BaseDatabaseFactoryTests.
...
Fixed up Examine unit test issues
2013-02-20 02:50:08 +06:00
Shannon Deminick
dddc308167
Merge with 6.0.1
2013-02-20 00:44:04 +06:00
Shannon Deminick
0751aff31f
Fixes more of #U4-1706 and adds another unit test. Ensures we never return items from the recycle bin even if the indexes exist. Updated logic to ensure
...
items don't get indexed even if they are saved and currently exist in the recycle bin and ensures that indexes are removed on both trashed
and deleted.
2013-02-20 00:13:35 +06:00
Shannon Deminick
a2ea20de70
un-ignores PublishedMedia tests. Streamlines BaseWebTest so now we only have one place for database init logic (will
...
enhance this more today). Changed ExamineEvents to not delete indexes on trashed and changed PublishedMediaStore to ignore
nodes in the recycle bin path... and now to write unit tests for that.
2013-02-19 22:46:44 +06:00
Shannon Deminick
3bfa1be60c
Patch applied for #U4-1636
2013-02-19 22:14:08 +06:00
Shannon Deminick
8d38cf3c44
Applying patch for #U4-1636
2013-02-19 22:11:55 +06:00
Shannon Deminick
a3a9ab069a
Applying patch for #U4-1636
2013-02-19 22:09:55 +06:00
Shannon Deminick
9324ab8e0e
Merge with 6.0.1
2013-02-19 04:11:30 +06:00
Shannon Deminick
73bd0137e3
Merge with 4.11.5
2013-02-19 03:57:24 +06:00
Sebastiaan Janssen
d1b75eac08
Update wrong config path in unit tests
2013-02-18 10:31:17 -01:00
Shannon Deminick
9fba3fa673
Fixes some resetting being done in test init... should only be done in teardown.
2013-02-15 19:23:16 +06:00
Morten Christensen
a399a8766d
Correcting the order of calls in the test SetUp of StronglyTypedQueryTests
2013-02-06 12:53:47 -01:00
Shannon Deminick
77bffa69fd
Couple more changes to DynamicXml
2013-02-06 03:58:53 +06:00
Shannon Deminick
3be13f57cf
un-breaks #U4-1636 - now we have some different ways to return the raw xml values. will post on the issue.
2013-02-06 03:37:28 +06:00
Shannon Deminick
db79b95d22
Fixes a bunch more unit tests due to resolution issues.
2013-02-05 05:08:43 +06:00
Shannon Deminick
bac2b7643f
Moves UmbracoUserControl to it's correct home and obsoletes the old one (even though its really new)
...
Publicizes UmbracoControl.
2013-02-05 05:00:16 +06:00
Shannon Deminick
11449688ba
Fixes: #U4-1636 - We still use DynamicXml but we don't make a call to StripDashesInElementOrAttributeNames before creating the DynamicXml object, instead the
...
DynamicXml object itself will test whether the stripped values match or not. Have updated/created unit tests to confirm this functionality.
2013-02-05 04:29:01 +06:00