ericzile / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

C# UnitTest issues (invalid config, incorrect doc, no csproj) #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1) There is an Ant build script for unittests, but there is no .csproj for
VS.Net
2) The unittests.dll.config file should have the configSections element as
the first child of configuration (.Net 2 [via Nant] errors due to the
invalid placement, I didn't test under .Net 1.1)
3) The readme.txt file says:
  "- localHost. This string identifies the host all read/write tests are run"
This is incorrect. The correct item is called "defHost".
4) Visual Studio 1.1 is mentioned throughout the readme. I don't believe
there ever was a product called Visual Studio 1.1 - I can only remember
back as far as Visual Studio 97. 

What version of the product are you using? On what operating system?
svn HEAD on XP

Original issue reported on code.google.com by rbir...@gmail.com on 11 Aug 2006 at 8:25

GoogleCodeExporter commented 9 years ago
I fixed most of those issues, beside the config file. .NET 1.1 does not load 
config
files for DLLs so this is purely mono. I have to think about how to run this 
nicely
from within NUNIT on windows... the 1.1 mentioning was related to the .NET 
runtime
used, i clarified that. I also added a VS2003 csproj file. 

Original comment by fman...@gmail.com on 16 Aug 2006 at 1:18

GoogleCodeExporter commented 9 years ago
I thought it was NUnit doing some behind-the-scenes hacking to load the config 
file
for a DLL.

Indeed, this blog entry suggest this is what is happening. 
    "NUnit tells the .NET framework the name of the configuration file to use."
http://nunit.com/blogs/?p=9

Original comment by rbir...@gmail.com on 16 Aug 2006 at 2:37

GoogleCodeExporter commented 9 years ago
hmmm.. i got to check that, as this does not happen on my windows setup. Will 
investigate

Original comment by fman...@gmail.com on 16 Aug 2006 at 4:31

GoogleCodeExporter commented 9 years ago
Fixed the config file so that it should be .net 2.0 compliant per documentation

Original comment by fman...@gmail.com on 1 Sep 2006 at 8:15

GoogleCodeExporter commented 9 years ago

Original comment by fman...@gmail.com on 1 Sep 2006 at 8:15