Commit Graph
18 Commits
Author SHA1 Message Date
Marek Habersack c102aaa08b Revert 100737, it's not needed anymore.
svn path=/trunk/mcs/; revision=100756
2008-04-15 18:57:20 +00:00
Marek Habersack aa49e1ebc6 2008-04-15 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: test update for the PrivateBinPath
	change in ApplicationHost (a work-around for an IOMAP bug).

2008-04-15  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: restore Bin;bin to PrivateBinPath, as a
	work-around for an IOMAP bug. Fixes bugs #379890 and #379888

svn path=/trunk/mcs/; revision=100737
2008-04-15 15:53:34 +00:00
Marek Habersack 94dc72ad1d 2008-03-13 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust test for the PrivateBinPath
	change in ApplicationHost.
2008-03-13  Marek Habersack  <[email protected]>

	* HttpApplicationFactory.cs: use HttpApplication.BinDirs to
	create watchers for binary application directories.

	* HttpApplication.cs: 
	Remove the BinDirectories enumerator property, replaced with a
	BinDirectory one returning a string with path to the binary
	directory.
2008-03-13  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
	checking whether we're running in a case-insensitive environment.
	Revert to the single-bin-dir behavior when setting the
	PrivateBinPath - the directories are sought for in the order given
	by HttpApplication.BinDirs and the first existing directory is set
	as the value of PrivateBinPath. If none of those are found,
	PrivateBinPath defaults to "bin" (and "/app/full/path/bin" in the
	2.0 profile)
2008-03-13  Marek Habersack  <[email protected]>

	* TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
	exists, use HttpApplication.BinDirectory instead.

svn path=/trunk/mcs/; revision=98211
2008-03-13 21:30:12 +00:00
Marek Habersack 33ee579205 2007-11-03 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust ConstructorTest for
	AppDomainSetup.PrivateBinPath changes.
2007-11-03  Marek Habersack  <[email protected]>

	* ApplicationHost.cs: AppDomainSetup.PrivateBinPath is a list of
	full paths on 2.0.
2007-11-03  Marek Habersack  <[email protected]>

	* HttpApplication.cs: removed unused internal PrivateBinPath
	property.

	* HttpRuntime.cs: BinDirectory returns a path that ends with the
	directory separator character.


svn path=/trunk/mcs/; revision=88756
2007-11-02 23:02:36 +00:00
Marek Habersack bbea67463d 2007-08-24 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: use ; as the separator in the
            PrivateBinPath test.

2007-08-24  Marek Habersack  <[email protected]>

            * ApplicationHost.cs: use ; as the separator with PrivateBinPath.


svn path=/trunk/mcs/; revision=84766
2007-08-23 23:27:16 +00:00
Marek Habersack fcc675453f 2007-08-21 Marek Habersack <[email protected]>
* ApplicationHostTest.cs: adjust the test for the PrivateBinPath
        changes.

2007-08-21  Marek Habersack  <[email protected]>

        * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
        to get the provider settings type.

2007-08-21  Marek Habersack  <[email protected]>

        * HttpApplicationFactory.cs: watch for changes in all the
        private binary directories for the current application domain.

        * HttpApplication.cs: turn the PrivateBinPath property into an
        internal enumerable, so that code throughout the assembly can
        iterate over the list of private bin directories configured for
        the application domain.
        Added a new internal method LoadTypeFromPrivateBin, for sharing
        with other parts of the assembly.

2007-08-21  Marek Habersack  <[email protected]>

        * SimpleWebHandlerParser.cs: use HttpApplication.PrivateBinPath
        enumerator when loading or adding assemblies from binary
        directories. Remove unused PrivateBinPath property.

        * ControlBuilder.cs: remove unused PrivateBinPath property.

        * TemplateParser.cs: use HttpApplication.PrivateBinPath when
        adding assemblis and loading types.

2007-08-21  Marek Habersack  <[email protected]>

        * ApplicationHost.cs: AppDomainSetup.PrivateBinPath should contain
        a list of paths relative to AppDomainSetup.ApplicationBase, not a
        full path.
        We no longer check if the bin directories exist, the user can
        create them while the application is running.

2007-08-21  Marek Habersack  <[email protected]>

        * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
        it's unused.

2007-08-21  Marek Habersack  <[email protected]>

        * BuildProvider.cs: use HttpApplication.PrivateBinPath enumerator
        to look up assemblies in the binary path(s).

svn path=/trunk/mcs/; revision=84589
2007-08-21 21:13:54 +00:00
Gonzalo Paniagua Javier c6ab8d6e16 2006-03-23 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequestTest.cs: new tests for PathInfo and disabled a test
	that throws a nullref under MS.

	* ApplicationHostTest.cs: fixed 2 assertions to expect what MS does.


svn path=/trunk/mcs/; revision=58393
2006-03-23 22:08:48 +00:00
Gonzalo Paniagua Javier 9287fab5ca 2006-02-02 Gonzalo Paniagua Javier <[email protected]>
* HostingEnvironmentTest.cs: tests for MapPath.


svn path=/trunk/mcs/; revision=56497
2006-02-02 22:19:42 +00:00
Gonzalo Paniagua Javier 5a1b044f86 2006-02-01 Gonzalo Paniagua Javier <[email protected]>
* VirtualPathProviderTest.cs: tests for GetFileHash.


svn path=/trunk/mcs/; revision=56422
2006-02-01 21:35:05 +00:00
Gonzalo Paniagua Javier 3ba5628d91 2006-02-01 Gonzalo Paniagua Javier <[email protected]>
* HostingEnvironmentTest.cs: new tests.


svn path=/trunk/mcs/; revision=56411
2006-02-01 19:48:51 +00:00
Gonzalo Paniagua Javier 8af6385846 2006-01-25 Gonzalo Paniagua Javier <[email protected]>
* VirtualPathProviderTest.cs: new tests.


svn path=/trunk/mcs/; revision=56083
2006-01-25 23:10:15 +00:00
Gonzalo Paniagua Javier 3cc0ae7d45 new tests by Robert Jordan
svn path=/trunk/mcs/; revision=53598
2005-11-28 22:45:16 +00:00
Gonzalo Paniagua Javier bf758d56df 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHostTest.cs: disabled a test.


svn path=/trunk/mcs/; revision=50926
2005-09-28 05:46:36 +00:00
Sebastien Pouliot 3972b5eece 2005-09-21 Sebastien Pouliot <[email protected]>
* SimpleWorkerRequestTest.cs: When in doubt write more tests...


svn path=/trunk/mcs/; revision=50420
2005-09-21 21:22:16 +00:00
Sebastien Pouliot 3ec4b8af6f 2005-09-18 Sebastien Pouliot <[email protected]>
* SimpleWorkerRequestTest.cs: Ensure a trailing / in the expected path
	as GetAppPathTranslated must have one (while most directory methods
	don't append one).


svn path=/trunk/mcs/; revision=50211
2005-09-18 23:59:13 +00:00
Sebastien Pouliot d2481767f0 2005-09-13 Sebastien Pouliot <[email protected]>
* SimpleWorkerRequestTest.cs: Added a test case (GetUriPath) that was 
	failing in the CAS tests (but wasn't CAS related).
	* SimpleWorkerRequestCas.cs: Ignore the ctor(string,string,TextWriter)
	test as I don't have a working test case. Simplify GetUriPath check
	so it doesn't fail.


svn path=/trunk/mcs/; revision=49992
2005-09-14 00:28:40 +00:00
Sebastien Pouliot 3840f98020 2005-09-10 Sebastien Pouliot <[email protected]>
* AppDomainFactoryCas.cs: New. CAS unit tests for AppDomainFactory.
	* ApplicationHostCas.cs: New. CAS unit tests for ApplicationHost.
	* ISAPIRuntimeCas.cs: New. CAS unit tests for ISAPIRuntime.
	* SimpleWorkerRequestCas.cs: New. CAS unit tests for 
	SimpleWorkerRequest.
	* SimpleWorkerRequestTest.cs: Added a few (unworking) test cases for
	GetPathInfo method.


svn path=/trunk/mcs/; revision=49863
2005-09-10 14:06:15 +00:00
Miguel de Icaza d947afc6fe Tests
svn path=/trunk/mcs/; revision=48933
2005-08-26 22:51:44 +00:00