Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dshvidchenko
Copy link

This is take #2, the first one failed code review - sorry to waste your time.

In this version, I made it working exactly the same way as in MS 4.5 implementation.

Thank you!

@monoadmin
Copy link

Hello! I'm the build bot for the Mono project. I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use the nameSpace field here, instead add a private setter to the ResourceType.Namespace property and use that.

@akoeplinger
Copy link
Member

Can you provide a unit test that covers these changes in ResourceTypeTest.cs?

The commit message should also be updated to more clearly state the purpose of this change instead of just "small implementation ..."

Thanks!

@dshvidchenko
Copy link
Author

Alexander,

Should I close my current poll request to submit those changes?
Do I need to start from scratch in my branch – removing the previous push? (and how can I do this? Not really familiar with git)

Regarding unit test, I looked at:
System.Data.Services/Test/System.Data.Services.Tests.csproj

  • it does not include test sources from:
    System.Data.Services/Test/System.Data.Services.Providers
  • and the former location does not have its own project file to compile those tests.
    So, ResourceTypeTests.cs is never compiled & run.

Thanks,
Dmitriy

From: Alexander Köplinger [mailto:[email protected]]
Sent: Monday, August 04, 2014 2:56 PM
To: mono/mono
Cc: Dmitriy Shvidchenko
Subject: Re: [mono] Take #2 - small implementation for not implemented member functions. (#1191)

Can you provide a unit test that covers these changes in ResourceTypeTest.cshttps://github.com/mono/mono/blob/master/mcs/class/System.Data.Services/Test/System.Data.Services.Providers/ResourceTypeTest.cs?

The commit message should also be updated to more clearly state the purpose of this change instead of just "small implementation ..."

Thanks!


Reply to this email directly or view it on GitHubhttps://github.com//pull/1191#issuecomment-51101832.

@akoeplinger
Copy link
Member

You don't need to close this PR, instead you can modify your local branch, squash the changes and then force-push to GitHub to have it show up here. Here's a short guide that has more details: https://gist.github.com/janjongboom/7194742 (feel free to ask if anything is unclear).

Regarding unit tests: the .csproj in mcs/class/System.Data.Services/Test/ you mentioned is likely a left-over and should be cleaned up, as the only one that matters is mcs/class/System.Data.Services/System.Data.Services-tests-net_XX.csproj

@dshvidchenko
Copy link
Author

Ok, thank you very much!

Unfortunately, I won’t be able to make all those changes today – we are in agile here, I bet you know what I mean!

I hope, I will have some spare time later this week, so will try to look at the unit tests setup first, and see whether I can include this file (ResourceTypeTests.cs) & add new one for ResourceProperty class as well.

Thanks,
Dmitriy

From: Alexander Köplinger [mailto:[email protected]]
Sent: Tuesday, August 05, 2014 11:02 AM
To: mono/mono
Cc: Dmitriy Shvidchenko
Subject: Re: [mono] Take #2 - small implementation for not implemented member functions. (#1191)

You don't need to close this PR, instead you can modify your local branch, squash the changes and then force-push to GitHub to have it show up here. Here's a short guide that has more details: https://gist.github.com/janjongboom/7194742 (feel free to ask if anything is unclear).

Regarding unit tests: the .csproj in mcs/class/System.Data.Services/Test/ you mentioned is likely a left-over and should be cleaned up, as the only one that matters is mcs/class/System.Data.Services/System.Data.Services-tests-net_XX.csproj


Reply to this email directly or view it on GitHubhttps://github.com//pull/1191#issuecomment-51209915.

@akoeplinger
Copy link
Member

No problem, we're here for the long run ;-)

dshvidchenko and others added 22 commits August 8, 2014 17:32
Added class ExposedEncoder to test the virtual method Encoder.Convert behavior.
Test UTF8Encoder.Convert override.
EncodingEncoder and EncodingDecoder override Encoder.Convert.
The Convert overrides allow retrieval of chars/bytes buffers with the same size as .NET.
Since NET_4_0 and NET_4_5 share the same ToolsVersion (4.0) there seems no
way to distinguish the appropriate framework .targets file, so I ended up
to add the missing members as internal for 4.0.
…ne support

This optimization is activated in the ldvirtftn + delegate case, and is deactivated in the case where the architecture does not support it (mono_arch_get_delegate_virtual_invoke_impl return NULL)
This makes difference when the build has started from a solution especially
via command line with /p option. Those command-line-passed properties need
to be inherited to each project, but they weren't.
xbuild worked fine here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.