[Mono-bugs] [Bug 590750] ProvideCorrectArgumentsToFormattingMethodsRule fired false positive

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 29 22:05:16 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=590750

http://bugzilla.novell.com/show_bug.cgi?id=590750#c6


--- Comment #6 from Sebastien Pouliot <spouliot at novell.com> 2010-03-30 02:05:15 UTC ---
2 tests fails under Mono - I'll look at them soon

Test Case Failures:
1)
Test.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsTest.FailOnMethodWithBadFormattingAndArrayParameter
:   ProvideCorrectArgumentsToFormattingMethodsRule failed on System.Void
Test.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsTest/FormattingCases::MethodWithBadFormattingAndArrayParameter():
result should be Failure but got Success.
  Expected: Failure
  But was:  Success

at
Test.Rules.Fixtures.RuleTestFixture`2[TRule,TMetadataToken].RunRuleAndCheckResults
(.TMetadataToken token, RuleResult expectedResult, Nullable`1
expectedDefectCount) [0x00008] in
/home/poupou/svn/mono-tools/gendarme/rules/Test.Rules/Fixtures/RuleTestFixture.cs:112
at
Test.Rules.Fixtures.RuleTestFixture`2[TRule,TMetadataToken].AssertRuleFailure
(.TMetadataToken token) [0x00000] in
/home/poupou/svn/mono-tools/gendarme/rules/Test.Rules/Fixtures/RuleTestFixture.cs:93
at
Test.Rules.Fixtures.MethodRuleTestFixture`1[Gendarme.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsRule].AssertRuleFailure[FormattingCases]
(System.String method) [0x00000] in
/home/poupou/svn/mono-tools/gendarme/rules/Test.Rules/Fixtures/MethodRuleTestFixture.cs:149
at
Test.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsTest.FailOnMethodWithBadFormattingAndArrayParameter
() [0x00000] in
/home/poupou/svn/mono-tools/gendarme/rules/Gendarme.Rules.Correctness/Test/ProvideCorrectArgumentsToFormattingMethodsTest.cs:242
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x000d0] in
/home/poupou/svn/branches/2-6/mcs/class/corlib/System.Reflection/MonoMethod.cs:213

2)
Test.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsTest.FailOnMethodWithBadFormattingAndIFormatProvider
:   ProvideCorrectArgumentsToFormattingMethodsRule failed on System.Void
Test.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsTest/FormattingCases::MethodWithBadFormattingAndIFormatProvider():
result should be Failure but got Success.
  Expected: Failure
  But was:  Success

at
Test.Rules.Fixtures.RuleTestFixture`2[TRule,TMetadataToken].RunRuleAndCheckResults
(.TMetadataToken token, RuleResult expectedResult, Nullable`1
expectedDefectCount) [0x00008] in
/home/poupou/svn/mono-tools/gendarme/rules/Test.Rules/Fixtures/RuleTestFixture.cs:112
at
Test.Rules.Fixtures.RuleTestFixture`2[TRule,TMetadataToken].AssertRuleFailure
(.TMetadataToken token) [0x00000] in
/home/poupou/svn/mono-tools/gendarme/rules/Test.Rules/Fixtures/RuleTestFixture.cs:93
at
Test.Rules.Fixtures.MethodRuleTestFixture`1[Gendarme.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsRule].AssertRuleFailure[FormattingCases]
(System.String method) [0x00000] in
/home/poupou/svn/mono-tools/gendarme/rules/Test.Rules/Fixtures/MethodRuleTestFixture.cs:149
at
Test.Rules.Correctness.ProvideCorrectArgumentsToFormattingMethodsTest.FailOnMethodWithBadFormattingAndIFormatProvider
() [0x00000] in
/home/poupou/svn/mono-tools/gendarme/rules/Gendarme.Rules.Correctness/Test/ProvideCorrectArgumentsToFormattingMethodsTest.cs:260
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x000d0] in
/home/poupou/svn/branches/2-6/mcs/class/corlib/System.Reflection/MonoMethod.cs:213

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list