In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Lazily load UsingTask tasks.
* UsingTask.cs (Evaluate): Register 'this' with task database,
but don't load it yet. Register only if condition evaluates to true.
Move the load logic to ..
(Load): .. here. Register with the specified task database.
* TaskDatabase.cs (RegisterUsingTask): Store the UsingTask instance
in a table keyed by task name, but don't load it yet.
(GetTypeFromClassName): Try to load UsingTask if task is not already
loaded. Move loading logic to ..
(GetTypeFromClassNameInternal): .. here.
(CopyTasks): Copy the usingTasks table also.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* UsingTaskTest.cs (TestLazyLoad{1,2,3}): New.
(TestAssemblyNameOrAssemblyFileConditionFalse): New.
(TestDuplicate1): New.
* TargetTest (CheckLoggedMessageHead): Moved to TestMessageLogger,
use that.
In class/Microsoft.Build.Engine/Test/resources:
* TestTasks.cs (Another.SameTask): New.
(Other.SameTask): New.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* TestMessageLogger.cs (CheckLoggedMessageHead): Move here from
* TaskBatchingTest.cs: .. here. Track api change.
svn path=/trunk/mcs/; revision=127830
* UsingTaskCollectionTest.cs, UsingTaskTest.cs: Updated names.
* ProjectTest.cs: Moved most of the old tests to various/.
* Consts.cs: Added.
svn path=/trunk/mcs/; revision=61956
* BuildPropertyGroupTest.cs: Added some tests.
* UsingTaskCollectionTest.cs: Added very simple test.
* UsingTaskTest.cs: Added test that's loading SimpleTask.dll task from
Test/resources/. Test/resources/SimpleTask.cs should be compiled
before running tests. I need to find out how to add it to Makefile.
svn path=/trunk/mcs/; revision=61714