Permalink
Browse files

Move to old-code

svn path=/old-code/; revision=156239
  • Loading branch information...
1 parent 953cc8e commit f3aefdd461a1871a9ff5748d42079767b505296e @migueldeicaza migueldeicaza committed Apr 27, 2010
Showing with 3,636 additions and 0 deletions.
  1. 0 acceptance-tests-ifolder/ifolder/gus/AUTHORS
  2. +341 −0 acceptance-tests-ifolder/ifolder/gus/COPYING
  3. 0 acceptance-tests-ifolder/ifolder/gus/ChangeLog
  4. +29 −0 acceptance-tests-ifolder/ifolder/gus/Gus.sln
  5. BIN acceptance-tests-ifolder/ifolder/gus/Gus.suo
  6. 0 acceptance-tests-ifolder/ifolder/gus/INSTALL
  7. +10 −0 acceptance-tests-ifolder/ifolder/gus/Makefile.am
  8. 0 acceptance-tests-ifolder/ifolder/gus/NEWS
  9. 0 acceptance-tests-ifolder/ifolder/gus/README
  10. +5 −0 acceptance-tests-ifolder/ifolder/gus/autogen.sh
  11. +117 −0 acceptance-tests-ifolder/ifolder/gus/configure.in
  12. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/mock-assembly.dll
  13. +60 −0 acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/mock-assembly.dll.config
  14. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nonamespace-assembly.dll
  15. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/notestfixtures-assembly.dll
  16. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit-console.exe
  17. +92 −0 acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit-console.exe.config
  18. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit-gui.exe
  19. +105 −0 acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit-gui.exe.config
  20. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.core.dll
  21. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.extensions.dll
  22. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.framework.dll
  23. +1,104 −0 acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.framework.xml
  24. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.mocks.dll
  25. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.tests.dll
  26. +88 −0 acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.tests.dll.config
  27. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.uikit.dll
  28. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/nunit.util.dll
  29. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/dotnet/timing-tests.dll
  30. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/mono/nunit-console.exe
  31. +92 −0 acceptance-tests-ifolder/ifolder/gus/external/nunit/mono/nunit-console.exe.config
  32. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/mono/nunit.core.dll
  33. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/mono/nunit.extensions.dll
  34. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/mono/nunit.framework.dll
  35. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/mono/nunit.mocks.dll
  36. BIN acceptance-tests-ifolder/ifolder/gus/external/nunit/mono/nunit.util.dll
  37. BIN acceptance-tests-ifolder/ifolder/gus/external/xsp/dotnet/xsp.exe
  38. BIN acceptance-tests-ifolder/ifolder/gus/external/xsp/dotnet/xsp.pdb
  39. +58 −0 acceptance-tests-ifolder/ifolder/gus/test/AssemblyInfo.cs
  40. +120 −0 acceptance-tests-ifolder/ifolder/gus/test/GusTests.csproj
  41. +48 −0 acceptance-tests-ifolder/ifolder/gus/test/GusTests.csproj.user
  42. +522 −0 acceptance-tests-ifolder/ifolder/gus/test/HandlerTests.cs
  43. +28 −0 acceptance-tests-ifolder/ifolder/gus/test/Makefile.am
  44. +38 −0 acceptance-tests-ifolder/ifolder/gus/test/ServiceTests.cs
  45. +76 −0 acceptance-tests-ifolder/ifolder/gus/test/TestUtilities.cs
  46. +62 −0 acceptance-tests-ifolder/ifolder/gus/web/AssemblyInfo.cs
  47. +131 −0 acceptance-tests-ifolder/ifolder/gus/web/FileHandler.cs
  48. +1 −0 acceptance-tests-ifolder/ifolder/gus/web/FileService.asmx
  49. +34 −0 acceptance-tests-ifolder/ifolder/gus/web/FileService.asmx.cs
  50. +42 −0 acceptance-tests-ifolder/ifolder/gus/web/FileService.asmx.resx
  51. +1 −0 acceptance-tests-ifolder/ifolder/gus/web/Global.asax
  52. +55 −0 acceptance-tests-ifolder/ifolder/gus/web/Global.asax.cs
  53. +42 −0 acceptance-tests-ifolder/ifolder/gus/web/Global.asax.resx
  54. +151 −0 acceptance-tests-ifolder/ifolder/gus/web/GusWeb.csproj
  55. +4 −0 acceptance-tests-ifolder/ifolder/gus/web/GusWeb.csproj.webinfo
  56. +29 −0 acceptance-tests-ifolder/ifolder/gus/web/Makefile.am
  57. +151 −0 acceptance-tests-ifolder/ifolder/gus/web/Web.config

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,29 @@
+Microsoft Visual Studio Solution File, Format Version 8.00
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GusWeb", "http://localhost/Gus/GusWeb.csproj", "{969FFF0D-D355-403C-A8D8-B57291B0E979}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GusTests", "test\GusTests.csproj", "{06A922D1-DD11-4A03-A349-9EF1B6B60D9A}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionConfiguration) = preSolution
+ Debug = Debug
+ Release = Release
+ EndGlobalSection
+ GlobalSection(ProjectConfiguration) = postSolution
+ {969FFF0D-D355-403C-A8D8-B57291B0E979}.Debug.ActiveCfg = Debug|.NET
+ {969FFF0D-D355-403C-A8D8-B57291B0E979}.Debug.Build.0 = Debug|.NET
+ {969FFF0D-D355-403C-A8D8-B57291B0E979}.Release.ActiveCfg = Release|.NET
+ {969FFF0D-D355-403C-A8D8-B57291B0E979}.Release.Build.0 = Release|.NET
+ {06A922D1-DD11-4A03-A349-9EF1B6B60D9A}.Debug.ActiveCfg = Debug|.NET
+ {06A922D1-DD11-4A03-A349-9EF1B6B60D9A}.Debug.Build.0 = Debug|.NET
+ {06A922D1-DD11-4A03-A349-9EF1B6B60D9A}.Release.ActiveCfg = Release|.NET
+ {06A922D1-DD11-4A03-A349-9EF1B6B60D9A}.Release.Build.0 = Release|.NET
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ EndGlobalSection
+ GlobalSection(ExtensibilityAddIns) = postSolution
+ EndGlobalSection
+EndGlobal
Binary file not shown.
@@ -0,0 +1,10 @@
+SUBDIRS=web test
+
+.PHONY: test
+test: all
+ $(MAKE) -C test $@
+
+.PHONY: xsp
+xsp: all
+ $(MAKE) -C web $@
+
No changes.
@@ -0,0 +1,5 @@
+aclocal
+automake -a
+autoconf
+
+./configure $*
@@ -0,0 +1,117 @@
+AC_PREREQ(2.57)
+AC_INIT(test/ServiceTests.cs)
+AC_CANONICAL_SYSTEM
+AM_INIT_AUTOMAKE(gus, 1.0.0.1)
+AM_MAINTAINER_MODE
+
+#
+# directories
+#
+TEST_DIR='$(top_srcdir)/test'
+WEB_DIR='$(top_srcdir)/src'
+EXTERNAL_DIR='$(top_srcdir)/external'
+
+AC_SUBST(TEST_DIR)
+AC_SUBST(WEB_DIR)
+AC_SUBST(EXTERNAL_DIR)
+
+#
+# miscellanous
+#
+EMPTY=
+SPACE='$(EMPTY) $(EMPTY)'
+
+AC_SUBST(EMPTY)
+AC_SUBST(SPACE)
+
+#
+# host
+#
+case $host in
+ *-*-linux*)
+ OS_NAME='linux'
+ ;;
+ *-*-mingw*|*-*-cygwin*)
+ OS_NAME='windows'
+ ;;
+ *)
+ AC_MSG_ERROR([unsupported host: $host])
+ ;;
+esac
+
+AM_CONDITIONAL(LINUX, test "$OS_NAME" = "linux")
+AM_CONDITIONAL(WINDOWS, test "$OS_NAME" = "windows")
+
+#
+# compiler
+#
+AC_PATH_PROG(MCS, mcs, no)
+AC_PATH_PROG(CSC, csc, no)
+
+if test "$CSC" = "no" -a "$MCS" = "no"; then
+ AC_MSG_ERROR(["no c-sharp compiler found"])
+fi
+
+AM_CONDITIONAL(MONO, test ! "$MCS" = "no")
+AM_CONDITIONAL(DOTNET, test ! "$CSC" = "no")
+
+if test "$CSC" = "no" ; then
+ # Mono
+ CSC=$MCS
+ MONO="mono"
+ NUNIT_DIR="$EXTERNAL_DIR/nunit/mono"
+ NUNIT="$MONO $NUNIT_DIR/nunit-console.exe"
+ NUNIT_REF="-r:nunit.framework.dll -lib:$NUNIT_DIR"
+ NUNIT_FLAGS='/nologo /labels'
+ XSP_DIR=""
+else
+ # DotNet
+ MONO=""
+ NUNIT_DIR="$EXTERNAL_DIR/nunit/dotnet"
+ NUNIT="$NUNIT_DIR/nunit-console.exe"
+ NUNIT_REF="/r:nunit.framework.dll /lib:$NUNIT_DIR"
+ NUNIT_FLAGS='/nologo /labels'
+ XSP_DIR="$EXTERNAL_DIR/xsp/dotnet"
+fi
+
+AC_SUBST(MONO)
+AC_SUBST(NUNIT_DIR)
+AC_SUBST(NUNIT)
+AC_SUBST(NUNIT_REF)
+AC_SUBST(NUNIT_FLAGS)
+AC_SUBST(XSP_DIR)
+
+CSCFLAGS="/d:DOTNET /warn:4 /d:TRACE /nologo"
+
+#
+# debug
+#
+AC_ARG_ENABLE(debug, [
+ --without-debug configure the makefiles to build without debug],
+ [case "${enableval}" in
+ yes) enable_debug=false ;;
+ no) enable_debug=true ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --without-debug) ;;
+ esac],[enable_debug=true])
+
+AM_CONDITIONAL(DEBUG, test ! "$enable_debug" = "false")
+
+if test ! "$enable_debug" = "false"
+then
+ CSCFLAGS="$CSCFLAGS /debug+ /d:DEBUG"
+else
+ CSCFLAGS="$CSCFLAGS /optimize+"
+fi
+
+AC_SUBST(CSC)
+AC_SUBST(CSCFLAGS)
+
+#
+# output
+#
+AC_OUTPUT([
+ Makefile
+ web/Makefile
+ test/Makefile
+])
+
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+
+ <!--
+ The following <runtime> section allows running the mock-assembyly tests
+ under .NET 1.0 by redirecting assemblies. The appliesTo attribute
+ causes the section to be ignored except under .NET 1.0.
+
+ This section is
+ -->
+ <runtime>
+
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
+ appliesTo="v1.0.3705">
+
+ <dependentAssembly>
+ <assemblyIdentity name="System"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Data"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Drawing"
+ publicKeyToken="b03f5f7f11d50a3a"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Windows.Forms"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Xml"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ </assemblyBinding>
+
+ </runtime>
+
+</configuration>
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<configuration>
+ <!--
+ Application settings for NUnit-console.exe. Do NOT put settings
+ for use by your tests here.
+ -->
+ <appSettings>
+
+ <!-- Specify the location to be used by .NET for the cache -->
+ <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" />
+
+ </appSettings>
+
+ <!--
+ These statements specify the runtime versions supported
+ in the order that they will be used if more than one
+ is present. You can change the order of these if you like
+ or remove any that do not apply.
+
+ Since .NET 1.0 does not recognize the <supportedRuntime> elements,
+ a <requiredRuntime> element is used in case it is the only version
+ of the framework that is installed.
+ -->
+ <startup>
+
+ <supportedRuntime version="v1.1.4322" />
+ <supportedRuntime version="v2.0.40607" />
+ <supportedRuntime version="v1.0.3705" />
+
+ <requiredRuntime version="v1.0.3705" />
+
+ </startup>
+
+ <!--
+ The following <runtime> section allows running nunit under
+ .NET 1.0 by redirecting assemblies. The appliesTo attribute
+ causes the section to be ignored except under .NET 1.0version 1
+ on a machine with only the .NET version 1.0 runtime installed.
+ If application and its tests were built for .NET 1.1 you will
+ also need to redirect system assemblies in the test config file.
+ -->
+
+ <runtime>
+
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"
+ appliesTo="v1.0.3705">
+
+ <dependentAssembly>
+ <assemblyIdentity name="System"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Data"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Drawing"
+ publicKeyToken="b03f5f7f11d50a3a"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Windows.Forms"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ <dependentAssembly>
+ <assemblyIdentity name="System.Xml"
+ publicKeyToken="b77a5c561934e089"
+ culture=""/>
+ <bindingRedirect oldVersion="1.0.5000.0"
+ newVersion="1.0.3300.0"/>
+ </dependentAssembly>
+
+ </assemblyBinding>
+
+ </runtime>
+
+</configuration>
Oops, something went wrong.

0 comments on commit f3aefdd

Please sign in to comment.