Commit Graph
68 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar f0f4f4ae51 More mobile tests update 2013-02-14 13:06:49 +01:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Marek Safar e4bf05e45d Fix failing test 2012-08-10 08:09:07 +01:00
Marek Safar aa8ffef382 Fix 2.0 test only 2012-08-09 10:09:12 +01:00
Marek Safar 00ad3f4634 Fix failing test 2012-08-02 19:21:36 +01:00
Zoltan Varga 82bb1e41c5 2009-06-26 Zoltan Varga <[email protected]>
* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136942
2009-06-26 11:05:19 +00:00
Marek Safar ec8b83e800 Removed undefined hashcode comparison test
svn path=/trunk/mcs/; revision=107138
2008-07-03 09:13:21 +00:00
motym ea68180314 some tests comment out for target_jvm
svn path=/trunk/mcs/; revision=71798
2007-01-28 08:46:59 +00:00
Sebastien Pouliot 2c20953b45 remove C.WL
svn path=/trunk/mcs/; revision=67997
2006-11-16 13:51:07 +00:00
Miguel de Icaza 1ded59163d Improved the MonoTODO messages, as these will be developer visible
2006-11-16  Miguel de Icaza  <[email protected]>

	* Hashtable.cs: Serialize EqualityComparer.


svn path=/trunk/mcs/; revision=67996
2006-11-16 13:33:32 +00:00
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Raja R Harinath 2c5108143c Missed one more case.
svn path=/trunk/mcs/; revision=55230
2006-01-09 15:33:54 +00:00
Raja R Harinath 29caf0024e * HashMembershipConditionTest.cs (HashValue): Remove 1/256 chance
of false negative.

svn path=/trunk/mcs/; revision=55225
2006-01-09 15:13:01 +00:00
Sebastien Pouliot 2cd0bdf55b 2005-06-23 Sebastien Pouliot <[email protected]>
* ApplicationSecurityManagerCas.cs: New. CAS unit tests (2.0).
	* ApplicationSecurityManagerTest.cs: New. Unit tests (2.0).


svn path=/trunk/mcs/; revision=46439
2005-06-23 17:14:42 +00:00
Sebastien Pouliot 28c2d33a74 2005-06-20 Sebastien Pouliot <[email protected]>
* EvidenceTest.cs: Ensure that PermissionRequestEvidence doesn't
	show in Assembly and AppDomain evidences.


svn path=/trunk/mcs/; revision=46248
2005-06-20 16:45:38 +00:00
Sebastien Pouliot 5b1d3fdb2a 2005-06-16 Sebastien Pouliot <[email protected]>
* StrongNameTest.cs: Empty names are only verified in NET_2_0.


svn path=/trunk/mcs/; revision=46106
2005-06-16 19:33:22 +00:00
Ben Maurer 92a169f2b4 fix distcheck
svn path=/trunk/mcs/; revision=45826
2005-06-12 17:36:57 +00:00
Sebastien Pouliot 58795582ad 2005-06-10 Sebastien Pouliot <[email protected]>
* StrongNameMembershipConditionTest.cs: New. Unit tests for 
	StrongNameMembershipCondition.
	* StrongNameTest.cs: Added test case for empty name.


svn path=/trunk/mcs/; revision=45748
2005-06-10 11:59:24 +00:00
Sebastien Pouliot 45ad452e5a 2005-05-26 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Added unit tests for RemovePermissionSet and
	Recover methods.


svn path=/trunk/mcs/; revision=45071
2005-05-26 19:27:05 +00:00
Sebastien Pouliot 794c74488b Oops, Equals isn't working in 2.0
svn path=/trunk/mcs/; revision=44589
2005-05-16 20:27:08 +00:00
Sebastien Pouliot 13755a44f3 2005-05-16 Sebastien Pouliot <[email protected]>
* PolicyStatementTest.cs: New. Unit tests for PolicyStatement.


svn path=/trunk/mcs/; revision=44586
2005-05-16 19:45:37 +00:00
Raja R Harinath e0cfa4925e Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)


svn path=/trunk/mcs/; revision=44558
2005-05-16 12:23:26 +00:00
Sebastien Pouliot a27d2af1b0 2005-04-26 Sebastien Pouliot <[email protected]>
* ApplicationTrustTest.cs: New. Unit tests for ApplicationTrust (2.0).


svn path=/trunk/mcs/; revision=43631
2005-04-26 23:14:02 +00:00
Sebastien Pouliot 796bf88a02 2005-04-25 Sebastien Pouliot <[email protected]>
* FileCodeGroupTest.cs: Revoved tests for Scope property (2.0).
	* GacMembershipConditionTest.cs: Renamed Gac to GacInstalled (new name
	* GacTest.cs: Renamed Gac to GacInstalled (new name in beta2).
	in beta2).
	* IBuiltInEvidenceTest.cs: Renamed Gac to GacInstalled (new name in 
	beta2).
	* SiteTest.cs: Removed [Catogery("NotWorking")] from some 2.0 tests.
	* UrlTest.cs: Removed [Catogery("NotWorking")] from some 2.0 tests.
	* UrlMembershipConditionTest.cs: Removed [Catogery("NotWorking")] from
	some 2.0 tests.


svn path=/trunk/mcs/; revision=43552
2005-04-25 16:52:17 +00:00
Sebastien Pouliot 4d2bd7b85a 2005-03-18 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Remove non-corlib permission classes from the 
	policy XML string as this can fail for "make distcheck".


svn path=/trunk/mcs/; revision=41991
2005-03-18 14:38:22 +00:00
Ben Maurer c49708287c 0 failures here. YAY
svn path=/trunk/mcs/; revision=40871
2005-02-18 17:55:53 +00:00
Sebastien Pouliot 73d8f27357 2005-02-16 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Renamed the file created by the StoreLocation 
	test case to include the username. This way multiple users sharing
	/tmp cannot block the test execution (e.g. buildbot). Also tries to
	remove the file after the test.


svn path=/trunk/mcs/; revision=40768
2005-02-16 19:49:55 +00:00
Sebastien Pouliot 5188ef0cdc 2005-01-31 Sebastien Pouliot <[email protected]>
* HashTest.cs: Oops, changed "NotWorking" to "NotDotNet".


svn path=/trunk/mcs/; revision=39837
2005-01-31 13:00:25 +00:00
Sebastien Pouliot 60f8a0a16d 2005-01-30 Sebastien Pouliot <[email protected]>
* HashTest.cs: Changed [Ignore] to [Category("NotWorking")] to reduce
	nunit logs.


svn path=/trunk/mcs/; revision=39810
2005-01-30 20:09:00 +00:00
Sebastien Pouliot 7f4384ad6d 2005-01-10 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Removed [Ignore] from tests as they now execute
	properly on 2.0. For 1.x the tests are added to the NotDotNet category.


svn path=/trunk/mcs/; revision=38615
2005-01-10 13:56:20 +00:00
Nick Drochak 8067110646 2005/01/03 Nick Drochak <[email protected]>
* System.Globalization/TextInfoTest.cs
* System/BitConverterTest.cs.orig
* System/ConvertTest.cs
* System/TypeTest.cs
* System/AppDomainSetupTest.cs
* System/StringTest.cs
* System/BitConverterTest.cs
* System/AppDomainTest.cs
* System.Threading/ThreadTest.cs
* System.Security.Policy/ZoneTest.cs
* System.Runtime.Remoting/SynchronizationAttributeTest.cs
* System.Security.Permissions/FileIOPermissionTest.cs
* System.Security.Permissions/FileIOPermissionAttributeTest.cs
* System.Security.Permissions/SecurityPermissionTest.cs
* System.Reflection.Emit/TypeBuilderTest.cs
* System.Reflection/AssemblyTest.cs:

Make tests pass on MS DotNet

svn path=/trunk/mcs/; revision=38263
2005-01-03 04:29:52 +00:00
Sebastien Pouliot e2740655bb 2004-09-19 Alexis Christoforides <[email protected]>
* UnionCodeGroupTest.cs: Added ResolveWithChildren test.

svn path=/trunk/mcs/; revision=34074
2004-09-19 23:57:35 +00:00
Sebastien Pouliot 9378c69c13 2004-09-01 Sebastien Pouliot <[email protected]>
* HashTest.cs: Fixed tests so they execute without errors on both
	Fx 1.1 and Fx 2.0 (beta 1).
	* PublisherTest.cs: Fixed tests so they execute without errors on both
	Fx 1.1 and Fx 2.0 (beta 1). Converted tests to NUnit 2.2 format.
	* SiteTest.cs: Fixed tests so they execute without errors on both Fx
	1.1 and Fx 2.0 (beta 1).
	* StrongNameTest.cs: Fixed tests so they execute without errors on
	both Fx 1.1 and Fx 2.0 (beta 1). Converted tests to NUnit 2.2 format.
	* UrlTest.cs: Fixed tests so they execute without errors on both Fx
	1.1 and Fx 2.0 (beta 1). Converted tests to NUnit 2.2 format.

svn path=/trunk/mcs/; revision=33187
2004-09-01 21:43:52 +00:00
Sebastien Pouliot c621c39499 2004-09-01 Sebastien Pouliot <[email protected]>
* ZoneTest.cs: Added test to check that NoZone isn't included in the
	permission XML (returned by CreateIdentityPermission).

svn path=/trunk/mcs/; revision=33146
2004-09-01 12:07:28 +00:00
Sebastien Pouliot e6764ca344 2004-08-30 Sebastien Pouliot <[email protected]>
* SiteTest.cs: Added tests for CreateFromUrl. Updated AllChars for the
	differences in Fx 2.0.
	* UrlTest.cs: Unignore Url_InvalidSite and started changes to be
	compatible with NET_2_0.
	* ZoneTest.cs: Added tests for CreateFromUrl and ToString.

svn path=/trunk/mcs/; revision=33056
2004-08-30 19:05:17 +00:00
Sebastien Pouliot cbfc655c06 2004-08-26 Sebastien Pouliot <[email protected]>
* ApplicationDirectoryTest.cs: New. For NET_2_0 profile.
	* EvidenceTest.cs: Added more tests for 1.1 and new tests for 2.0.
	* FileCodeGroupTest.cs: Added more tests for Resolve,
	ResolveMatchingCodeGroups and new Fx 2.0 Scope property.
	* HashMembershipConditionTest.cs: New. Unit tests for hash membership.
	* HashTest.cs: New. Unit tests for hash.
	* IBuiltInEvidenceTest.cs: New. Unit tests for the internal
	IBuiltInEvidence interface. All tests are [Ignore]d for the
	* NetCodeGroupTest.cs: Ajusted PermissionSetName for Fx 2.0.
	* PermissionRequestEvidenceTest.cs: Ajusted existing tests for 2.0.
	Converted tests to NUnit 2.2 format. Converted to UNIX line endings.
	Added test to see that the original permission sets are copied but
	the instance copy can be changed (not copied on output).
	* PolicyLevelTest.cs: Added more tests for Resolve and
	ResolveMatchingCodeGroups.
	* UnionCodeGroupTest.cs: Added more properties validation in tests.

svn path=/trunk/mcs/; revision=32883
2004-08-26 14:34:25 +00:00
Sebastien Pouliot 580b2575b6 2004-08-24 Sebastien Pouliot <[email protected]>
* AllMembershipConditionTest.cs: Renamed GetHashCode and
	ToString tests to remove compiler warnings.
	* ApplicationDirectoryMembershipConditionTest.cs: Renamed GetHashCode
	and ToString tests to remove compiler warnings.
	* ApplicationMembershipConditionTest.cs: Renamed GetHashCode and
	ToString tests to remove compiler warnings.
	* DomainApplicationMembershipConditionTest.cs: Renamed GetHashCode and
	ToString tests to remove compiler warnings.
	* GacMembershipConditionTest.cs: Added some new unit tests for
	FromXml to match other *MembershipCondition classes.
	* PublisherMembershipConditionTest.cs: Renamed GetHashCode and
	ToString tests to remove compiler warnings.
	* SiteMembershipConditionTest.cs: Completed. Converted existing unit
	tests to NUnit 2.2 format.
	* UrlMembershipConditionTest.cs: Completed. Converted existing unit
	tests to NUnit 2.2 format.
	* ZoneMembershipConditionTest.cs: Added some new unit tests to match
	other *MembershipCondition classes.

svn path=/trunk/mcs/; revision=32768
2004-08-24 17:09:24 +00:00
Sebastien Pouliot 0e012823b6 2004-08-23 Sebastien Pouliot <[email protected]>
* AllMembershipConditionTest.cs: New. Unit tests in NUnit 2.2 format.
	* ApplicationDirectoryMembershipConditionTest.cs: New. Unit tests in
	NUnit 2.2 format.
	* ApplicationMembershipConditionTest.cs: New. Unit tests in NUnit 2.2
	format.
	* DomainApplicationMembershipConditionTest.cs: New. Unit tests in
	NUnit 2.2 format.
	* PublisherMembershipConditionTest.cs: Completed. Converted
	existing unit tests to NUnit 2.2 format.

svn path=/trunk/mcs/; revision=32728
2004-08-23 20:01:18 +00:00
Sebastien Pouliot 5cb4c33484 2004-08-12 Sebastien Pouliot <[email protected]>
* ZoneMembershipConditionTest.cs: Fixed tests that where failing too
	soon, i.e. not where I expected them to ;).
	* ZoneTest.cs: Added tests for Zone.Equals (null).

svn path=/trunk/mcs/; revision=32290
2004-08-12 23:01:19 +00:00
Sebastien Pouliot 34b3978bd1 2004-08-11 Sebastien Pouliot <[email protected]>
* UnionCodeGroupTest.cs: Added unit tests for Resolve. Converted
	existing unit tests to NUnit 2.2 format.

svn path=/trunk/mcs/; revision=32204
2004-08-11 13:14:38 +00:00
Sebastien Pouliot c894be6da9 2004-08-10 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Added new policy resolution tests (related to
	Zone). Converted existing unit tests to NUnit 2.2 format.

svn path=/trunk/mcs/; revision=32178
2004-08-10 20:15:49 +00:00
Sebastien Pouliot 6619acec63 2004-08-04 Sebastien Pouliot <[email protected]>
* GacMembershipConditionTest.cs: New. Unit tests in NUnit 2.2 format.
	* GacTest.cs: New. Unit tests in NUnit 2.2 format.

svn path=/trunk/mcs/; revision=31903
2004-08-04 22:08:45 +00:00
Sebastien Pouliot 6a0c3b591a 2004-08-03 Sebastien Pouliot <[email protected]>
* ZoneMembershipConditionTest.cs: New. Unit tests in NUnit 2.2 format.

svn path=/trunk/mcs/; revision=31878
2004-08-04 18:53:52 +00:00
Sebastien Pouliot 5556cbeef3 2003-08-02 Sebastien Pouliot <[email protected]>
* UnionCodeGroupTest.cs: Added tests for ResolveMatchingCodeGroups.

svn path=/trunk/mcs/; revision=31752
2004-08-02 22:45:49 +00:00
Sebastien Pouliot fc84e62f34 2003-05-20 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs, StrongNameTest.cs: SetUp is now public (required
	for new nunit).

svn path=/trunk/mcs/; revision=27797
2004-05-21 01:22:17 +00:00
Sebastien Pouliot 7b23e7c548 2004-02-09 Sebastien Pouliot <[email protected]>
* PolicyLevelTest.cs: Ignored test Reset as the functionality isn't
	yet present in Mono.
	* UrlMembershipConditionTest.cs: Ignored the site related test as the
	functionality isn't yet present in Mono.
	* UrlTest.cs: Ignored the site related test as the functionality isn't
	yet present in Mono.

svn path=/trunk/mcs/; revision=22905
2004-02-09 18:19:37 +00:00
Sebastien Pouliot 597f8a1f6d 2004-01-28 Sebastien Pouliot <[email protected]>
* PermissionRequestEvidenceTest.cs: Added ToString () assertions
	to existing tests.
	* PublisherMembershipConditionTest.cs: Replaced "\r\n" with
	Environment.NewLine.
	* StrongNameTest.cs: Replaced "\r\n" with Environment.NewLine.

svn path=/trunk/mcs/; revision=22565
2004-01-28 04:59:40 +00:00
Sebastien Pouliot 28c0123404 2004-01-26 Sebastien Pouliot <[email protected]>
* CodeGroupTest.cs: Replaced "\r\n" with Environment.NewLine.

svn path=/trunk/mcs/; revision=22523
2004-01-27 02:59:02 +00:00
David Sheldon 5957758377 2004-01-25 David Sheldon <[email protected]>
* UrlTest.cs:  Changed "\r\n" in strings to use
       Environment.NewLine.

svn path=/trunk/mcs/; revision=22477
2004-01-25 18:56:46 +00:00