Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Move to old-code
Browse files Browse the repository at this point in the history
svn path=/old-code/; revision=156239
  • Loading branch information
migueldeicaza committed Apr 27, 2010
1 parent 953cc8e commit f3aefdd
Show file tree
Hide file tree
Showing 57 changed files with 3,636 additions and 0 deletions.
Empty file.
341 changes: 341 additions & 0 deletions acceptance-tests-ifolder/ifolder/gus/COPYING

Large diffs are not rendered by default.

Empty file.
29 changes: 29 additions & 0 deletions acceptance-tests-ifolder/ifolder/gus/Gus.sln
Original file line number Diff line number Diff line change
@@ -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 added acceptance-tests-ifolder/ifolder/gus/Gus.suo
Binary file not shown.
Empty file.
10 changes: 10 additions & 0 deletions acceptance-tests-ifolder/ifolder/gus/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
SUBDIRS=web test

.PHONY: test
test: all
$(MAKE) -C test $@

.PHONY: xsp
xsp: all
$(MAKE) -C web $@

Empty file.
Empty file.
5 changes: 5 additions & 0 deletions acceptance-tests-ifolder/ifolder/gus/autogen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
aclocal
automake -a
autoconf

./configure $*
117 changes: 117 additions & 0 deletions acceptance-tests-ifolder/ifolder/gus/configure.in
Original file line number Diff line number Diff line change
@@ -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
])

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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>
Binary file not shown.
Loading

0 comments on commit f3aefdd

Please sign in to comment.