Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Commit

Permalink
Backport r89638 from trunk
Browse files Browse the repository at this point in the history
svn path=/branches/mono-1-2-6/xsp/; revision=89808
  • Loading branch information
Wade Berrier committed Nov 16, 2007
2 parents b98ceaf + 4b89e43 commit b39eca1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions unittests/Makefile.am
@@ -0,0 +1,6 @@
SUBDIRS = Tests.XSP.Security webroot

EXTRA_DIST = ChangeLog NOACCESS README

unittestsdir = $(pkglibdir)/unittests
unittests_DATA = $(EXTRA_DIST)
Empty file.
19 changes: 19 additions & 0 deletions unittests/Tests.XSP.Security/Makefile.am
@@ -0,0 +1,19 @@
noinst_SCRIPTS = Tests.XSP.Security.dll

security_test_sources = DirectoryTraversalTest.cs FileExtensionsTest.cs WebTestHelper.cs

CLEANFILES = Tests.XSP.Security.dll*
EXTRA_DIST = $(security_test_sources)

unittestsdir = $(pkglibdir)/unittests/Tests.XSP.Security
unittests_DATA = $(security_test_sources) Tests.XSP.Security.dll Makefile

Tests.XSP.Security.dll: $(security_test_sources)
mcs -debug -pkg:mono-nunit -out:$@ -t:library $(security_test_sources)

run-test: Tests.XSP.Security.dll
nunit-console Tests.XSP.Security.dll

run-test-local: Tests.XSP.Security.dll
XSP_TEST_HOST=localhost:8080 nunit-console Tests.XSP.Security.dll

3 changes: 3 additions & 0 deletions unittests/webroot/Makefile.am
@@ -0,0 +1,3 @@
EXTRA_DIST = index.aspx
unittestsdir = $(pkglibdir)/unittests/webroot
unittests_DATA = $(EXTRA_DIST)

0 comments on commit b39eca1

Please sign in to comment.