Commit Graph
36 Commits
Author SHA1 Message Date
Marek Safar 762b050917 Merge tests from mobile branch 2013-02-26 16:28:36 +01:00
Marek Safar 915b61a66d Mobile tests update 2013-02-15 16:35:41 +01:00
Marek Safar f0f4f4ae51 More mobile tests update 2013-02-14 13:06:49 +01:00
Rodrigo Kumpera f378e23a3f Since NET_2_1 implies NET_4_* now, take this into account and simplify our ifdefs. 2013-02-11 18:41:51 -05:00
Sebastien Pouliot 2bd0b5aa2d Fix IsolatedStorageFile directory creation/deletion with rooted paths. Fix bug #5011 2012-05-22 14:37:13 -04:00
Sebastien Pouliot 1a843974f3 Fix bug #4101 when using a deep hierarchy of directories in isolated storage. 2012-03-27 08:39:34 -04:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Sebastien Pouliot 0466ae48a3 Adjust corlib unit tests to reduce failures when executed on the NET_2_1 profile 2011-09-09 13:43:15 -04:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Carlos Alberto Cortez 9203abab62 2010-06-16 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: New test for two instances calling
	Remove.


svn path=/trunk/mcs/; revision=159018
2010-06-16 12:20:46 +00:00
Carlos Alberto Cortez 36c7d7e3cb * IsolatedStorageFileTest.cs: New test for GetUserStoreForSite.
2010-06-07  Carlos Alberto Cortez <[email protected]>


svn path=/trunk/mcs/; revision=158613
2010-06-08 00:00:34 +00:00
Carlos Alberto Cortez 943e8bd67d * IsolatedStorageFileTest.cs: New test for DeleteFile.
2010-06-07  Carlos Alberto Cortez <[email protected]>


svn path=/trunk/mcs/; revision=158594
2010-06-07 17:46:29 +00:00
Carlos Alberto Cortez 3583a493d4 2010-06-07 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: Update our tests to catch/report the new
	exceptions fired in 4.0, as well as a new test to assert that
	GetDirectoryNames fires an ArgumentException if '..' is passed as part
	of the path.


svn path=/trunk/mcs/; revision=158590
2010-06-07 15:01:11 +00:00
Carlos Alberto Cortez d03437b48f 2010-06-06 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: Include check for paths outside our
	storage root in our tests for MoveFile, MoveDirectory and CopyFile.


svn path=/trunk/mcs/; revision=158567
2010-06-06 18:22:51 +00:00
Carlos Alberto Cortez 59380ef8ce 2010-06-04 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: New test case for Remove.


svn path=/trunk/mcs/; revision=158479
2010-06-04 15:26:35 +00:00
Carlos Alberto Cortez 999644f3ce 2010-06-02 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: Augment our test cases for MoveFile and
	MoveDirectory.


svn path=/trunk/mcs/; revision=158356
2010-06-02 18:30:45 +00:00
Carlos Alberto Cortez 4a18b84d75 2010-05-31 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageTest.cs:
	* IsolatedStorageFileTest.cs: New tests for AvailableFreeSpace, Quota,
	UsedSize and IncreaseQuotaTo.


svn path=/trunk/mcs/; revision=158224
2010-05-31 15:57:12 +00:00
Carlos Alberto Cortez 45958d1860 * IsolatedStorageFileTest.cs: New test case for CopyFile.
2010-05-27  Carlos Alberto Cortez <[email protected]>


svn path=/trunk/mcs/; revision=158050
2010-05-27 17:21:10 +00:00
Carlos Alberto Cortez ab34f43b6d 2010-05-27 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: New test case for GetCreationTime.


svn path=/trunk/mcs/; revision=158031
2010-05-27 13:01:16 +00:00
Carlos Alberto Cortez 9f89310275 2010-05-26 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileStreamTest.cs: New test cases for constructor
	obtaining a closed/disposed IsolatedStorageFile.


svn path=/trunk/mcs/; revision=157969
2010-05-26 15:52:22 +00:00
Carlos Alberto Cortez b2c81e0142 2010-05-24 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: New test cases for CreateFile,
	MoveDirectory and MoveFile.


svn path=/trunk/mcs/; revision=157817
2010-05-25 01:02:42 +00:00
Carlos Alberto Cortez 7df5a35b66 2010-05-23 Carlos Alberto Cortez <[email protected]>
* IsolatedStorageFileTest.cs: New test cases for DirectoryExists and
	FileExists.


svn path=/trunk/mcs/; revision=157785
2010-05-23 16:19:40 +00:00
Sebastien Pouliot e540bfd0e7 2008-12-23 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileTest.cs: Add test case when null values are used
	in GetStore. Fix bug #430932


svn path=/trunk/mcs/; revision=122042
2008-12-23 16:22:20 +00:00
Sebastien Pouliot d7fe9b67d7 2008-04-18 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileTest.cs: Add test cases for creating sub-
	directories and to delete them (bug #376188)


svn path=/trunk/mcs/; revision=101173
2008-04-18 21:55:41 +00:00
Sebastien Pouliot bb6ca8b249 2008-03-28 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileTest.cs: Add test cases for creating directory 
	(bug #372377) and also getting delaing with subdirectories.


svn path=/trunk/mcs/; revision=99233
2008-03-28 19:12:44 +00:00
Sebastien Pouliot 39165e0939 2008-01-17 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileTest.cs: Added test case against regression of
	bug #354539


svn path=/trunk/mcs/; revision=93210
2008-01-17 22:01:27 +00:00
Sebastien Pouliot fb2f7aae79 2007-11-06 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileStreamTest.cs: Test case for rooted paths by Jay
	Miller (bug #324983).


svn path=/trunk/mcs/; revision=89016
2007-11-06 18:16:38 +00:00
Sebastien Pouliot 16fcfff832 2005-06-14 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileCas.cs: Added MaximumSize unit tests.


svn path=/trunk/mcs/; revision=45972
2005-06-14 14:23:03 +00:00
Gonzalo Paniagua Javier 613b65936d tricky namespace name. Otherwise conflicts with the class name and the compiler complains
svn path=/trunk/mcs/; revision=45461
2005-06-06 02:17:21 +00:00
Gonzalo Paniagua Javier 66ab5425d3 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
* IsolatedStorageFileStreamTest.cs:
	* IsolatedStorageFileTest.cs:
	* IsolatedStorageTest.cs: fixed namespace names and removed NotWorking
	for a test that now works.


svn path=/trunk/mcs/; revision=45460
2005-06-06 02:02:24 +00:00
Sebastien Pouliot aff0608e00 2005-05-18 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileStreamCas.cs: Added tests to test stack 
	propagation for BeginRead and BeginWrite.


svn path=/trunk/mcs/; revision=44684
2005-05-18 14:42:59 +00:00
Sebastien Pouliot b476d13394 2005-03-24 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileStreamCas.cs: Added reflection-based unit tests 
	to test LinkDemand on Handle and SafeFileHandle (2.0) properties.


svn path=/trunk/mcs/; revision=42239
2005-03-24 20:53:40 +00:00
Sebastien Pouliot 5317deca88 2005-03-15 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileStreamCas.cs: New. CAS unit tests for 
	IsolatedStorageFileStream.
	* IsolatedStorageFileCas.cs: New. CAS unit tests for 
	IsolatedStorageFile.


svn path=/trunk/mcs/; revision=41858
2005-03-15 21:11:50 +00:00
Sebastien Pouliot e7037beecc Fix compilation for NET_2_0
svn path=/trunk/mcs/; revision=39867
2005-01-31 19:06:41 +00:00
Sebastien Pouliot dc66bb0572 2005-01-31 Sebastien Pouliot <[email protected]>
* IsolatedStorageFileStreamTest.cs: New. Unit tests for 
	IsolatedStorageFileStream.
	* IsolatedStorageFileTest.cs: New. Unit tests for IsolatedStorageFile.
	* IsolatedStorageTest.cs: New. Unit tests for IsolatedStorage abstract
	class.

svn path=/trunk/mcs/; revision=39865
2005-01-31 18:58:11 +00:00