Author: brett Date: Thu Dec 8 06:00:47 2011 New Revision: 1211762 URL: http://svn.apache.org/viewvc?rev=1211762&view=rev Log: add a test case for NPANDAY-96 which introduced some special filtering into the precompilation plugin, so changes there are safer
Added: incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_96_GlobalAsaxPrecompiledTest.java - copied, changed from r1211406, incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_329_VS2010WcfProjectSupportTest.java incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.cs (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.designer.cs (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax.cs (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/GlobalASAXExample.csproj (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Properties/ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Properties/AssemblyInfo.cs (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Web.config (with props) incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/pom.xml (with props) Modified: incubator/npanday/npanday-its/trunk/ (props changed) incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/AbstractNPandayIntegrationTestCase.java incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_329_VS2010WcfProjectSupportTest/pom.xml Propchange: incubator/npanday/npanday-its/trunk/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Thu Dec 8 06:00:47 2011 @@ -2,3 +2,4 @@ *.iml *.iws target +.idea Modified: incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/AbstractNPandayIntegrationTestCase.java URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/AbstractNPandayIntegrationTestCase.java?rev=1211762&r1=1211761&r2=1211762&view=diff ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/AbstractNPandayIntegrationTestCase.java (original) +++ incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/AbstractNPandayIntegrationTestCase.java Thu Dec 8 06:00:47 2011 @@ -205,12 +205,31 @@ public abstract class AbstractNPandayInt protected static void assertZipEntries( File zipFile, List<String> expectedEntries ) throws IOException { + assertZipEntries( zipFile, expectedEntries, true ); + } + + protected static void assertNoZipEntries( File zipFile, List<String> unexpectedEntries ) + throws IOException + { + assertZipEntries( zipFile, unexpectedEntries, false ); + } + + protected static void assertZipEntries( File zipFile, List<String> expectedEntries, boolean expected ) + throws IOException + { ZipFile zip = new ZipFile( zipFile ); try { for ( String name : expectedEntries ) { - assertNotNull( zip.getEntry( name ) ); + if ( expected ) + { + assertNotNull( zip.getEntry( name ) ); + } + else + { + assertNull( zip.getEntry( name ) ); + } } } finally Copied: incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_96_GlobalAsaxPrecompiledTest.java (from r1211406, incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_329_VS2010WcfProjectSupportTest.java) URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_96_GlobalAsaxPrecompiledTest.java?p2=incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_96_GlobalAsaxPrecompiledTest.java&p1=incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_329_VS2010WcfProjectSupportTest.java&r1=1211406&r2=1211762&rev=1211762&view=diff ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_329_VS2010WcfProjectSupportTest.java (original) +++ incubator/npanday/npanday-its/trunk/src/test/java/npanday/its/NPANDAY_96_GlobalAsaxPrecompiledTest.java Thu Dec 8 06:00:47 2011 @@ -23,34 +23,36 @@ import java.io.File; import java.util.Arrays; import java.util.List; -public class NPANDAY_329_VS2010WcfProjectSupportTest +public class NPANDAY_96_GlobalAsaxPrecompiledTest extends AbstractNPandayIntegrationTestCase { - public NPANDAY_329_VS2010WcfProjectSupportTest() + public NPANDAY_96_GlobalAsaxPrecompiledTest() { - super( "[1.4.0-incubating,)", "[v4.0.30319,)" ); + super( "[1.4.0-incubating,)", "[v3.5,)" ); } - public void testWCF2010Project() + public void testGlobalAsaxPrecompiled() throws Exception { - File testDir = ResourceExtractor.simpleExtractResources( getClass(), - "/NPANDAY_329_VS2010WcfProjectSupportTest" ); + File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/NPANDAY_96_GlobalAsaxPrecompiledTest" ); Verifier verifier = getVerifier( testDir ); verifier.executeGoal( "install" ); - File zipFile = new File( testDir, getAssemblyFile( "WcfService1", "1.0.0", "zip" ) ); + File zipFile = new File( testDir, getAssemblyFile( "GlobalASAXExample", "1.0.0", "zip" ) ); verifier.assertFilePresent( zipFile.getAbsolutePath() ); verifier.verifyErrorFreeLog(); verifier.resetStreams(); - List<String> expectedEntries = Arrays.asList( "bin/WcfService1.dll", "bin/System.Web.DynamicData.dll", - "bin/System.Web.Entity.dll", - "bin/System.Web.ApplicationServices.dll", "Service1.svc", - "Web.config", "Web.Debug.config", "Web.Release.config" ); - + List<String> expectedEntries = Arrays.asList( "bin/GlobalASAXExample.dll", "Default.aspx", "Global.asax", + "Web.config" ); assertZipEntries( zipFile, expectedEntries ); - String assembly = new File( testDir, "target/WcfService1/bin/WcfService1.dll" ).getCanonicalPath(); - assertClassPresent( assembly, "Service1" ); + List<String> unexpectedEntries = Arrays.asList( "bin/App_global.asax.dll", "bin/App_global.asax.compiled", + "Global.asax.cs", "Default.aspx.cs", "Default.aspx.designer.cs", + "pom.xml", "GlobalASAXExample.csproj", + "Properties/AssemblyInfo.cs" ); + assertNoZipEntries( zipFile, unexpectedEntries ); + + String assembly = new File( testDir, "target/GlobalASAXExample/bin/GlobalASAXExample.dll" ).getCanonicalPath(); + assertClassPresent( assembly, "_Default" ); } } Modified: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_329_VS2010WcfProjectSupportTest/pom.xml URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_329_VS2010WcfProjectSupportTest/pom.xml?rev=1211762&r1=1211761&r2=1211762&view=diff ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_329_VS2010WcfProjectSupportTest/pom.xml (original) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_329_VS2010WcfProjectSupportTest/pom.xml Thu Dec 8 06:00:47 2011 @@ -17,14 +17,15 @@ KIND, either express or implied. See th specific language governing permissions and limitations under the License. --> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0"> -<parent> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> <groupId>NPanday.ITs</groupId> <artifactId>NPanday.ITs.Parent</artifactId> <version>1-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> - <groupId>NPanday.ITs.WcfService1</groupId> + <groupId>NPanday.ITs.WcfService1</groupId> <artifactId>WcfService1</artifactId> <packaging>asp</packaging> <name>NPanday.ITs.WcfService1 : WcfService1</name> Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx Thu Dec 8 06:00:47 2011 @@ -0,0 +1,21 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TestGlobal._Default" %> + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" > +<head runat="server"> + <title></title> +</head> +<body> + <p> + Hello World</p> + <form id="form1" runat="server"> + <div> + + <asp:Label ID="Label1" runat="server" Text="Hit Count:"></asp:Label> + <asp:TextBox ID="TextBox1" runat="server" Height="21px"></asp:TextBox> + + </div> + </form> +</body> +</html> Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.cs URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.cs?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.cs (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.cs Thu Dec 8 06:00:47 2011 @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace TestGlobal +{ + public partial class _Default : System.Web.UI.Page + { + protected void Page_Load(object sender, EventArgs e) + { + TextBox1.Text = Application["Hits"] as string; + + Response.Write("<br/>ApplicationInstance: " + + Context.ApplicationInstance.GetType().FullName); + } + } +} Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.cs ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.designer.cs URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.designer.cs?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.designer.cs (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.designer.cs Thu Dec 8 06:00:47 2011 @@ -0,0 +1,43 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:2.0.50727.3053 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace TestGlobal { + + + public partial class _Default { + + /// <summary> + /// form1 control. + /// </summary> + /// <remarks> + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// </remarks> + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// <summary> + /// Label1 control. + /// </summary> + /// <remarks> + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// </remarks> + protected global::System.Web.UI.WebControls.Label Label1; + + /// <summary> + /// TextBox1 control. + /// </summary> + /// <remarks> + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// </remarks> + protected global::System.Web.UI.WebControls.TextBox TextBox1; + } +} Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Default.aspx.designer.cs ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax Thu Dec 8 06:00:47 2011 @@ -0,0 +1 @@ +<%@ Application Codebehind="Global.asax.cs" Inherits="TestGlobal.Global" Language="C#" %> Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax.cs URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax.cs?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax.cs (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax.cs Thu Dec 8 06:00:47 2011 @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.Security; +using System.Web.SessionState; + +namespace TestGlobal +{ + public class Global : System.Web.HttpApplication + { + + protected void Application_OnStart(object sender, EventArgs e) + { + Application["Hits"] = "100"; + } + + protected void Session_OnStart(object sender, EventArgs e) + { + + } + + protected void Application_OnBeginRequest(object sender, EventArgs e) + { + string s = Application["Hits"] as string; + int a = Convert.ToInt32(s); + a++; + + Application["Hits"] = a.ToString(); + } + + protected void Application_OnAuthenticateRequest(object sender, EventArgs e) + { + + } + + protected void Application_OnError(object sender, EventArgs e) + { + Application["Hits"] = "200"; + } + + protected void Session_OnEnd(object sender, EventArgs e) + { + + } + + protected void Application_OnEnd(object sender, EventArgs e) + { + + } + } +} \ No newline at end of file Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Global.asax.cs ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/GlobalASAXExample.csproj URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/GlobalASAXExample.csproj?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/GlobalASAXExample.csproj (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/GlobalASAXExample.csproj Thu Dec 8 06:00:47 2011 @@ -0,0 +1,108 @@ +<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{2A992139-A285-4E0A-996E-2000050A9C25}</ProjectGuid> + <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>GlobalASAXExample</RootNamespace> + <AssemblyName>GlobalASAXExample</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Core"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Data.DataSetExtensions"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Web.Extensions"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Xml.Linq"> + <RequiredTargetFramework>3.5</RequiredTargetFramework> + </Reference> + <Reference Include="System.Drawing" /> + <Reference Include="System.Web" /> + <Reference Include="System.Xml" /> + <Reference Include="System.Configuration" /> + <Reference Include="System.Web.Services" /> + <Reference Include="System.EnterpriseServices" /> + <Reference Include="System.Web.Mobile" /> + </ItemGroup> + <ItemGroup> + <Content Include="Default.aspx" /> + <Content Include="Global.asax" /> + <Content Include="Web.config" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Default.aspx.cs"> + <SubType>ASPXCodeBehind</SubType> + <DependentUpon>Default.aspx</DependentUpon> + </Compile> + <Compile Include="Default.aspx.designer.cs"> + <DependentUpon>Default.aspx</DependentUpon> + </Compile> + <Compile Include="Global.asax.cs"> + <DependentUpon>Global.asax</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <WebReferences Include="Web References\" /> + </ItemGroup> + <ItemGroup> + <Folder Include="App_Data\" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <ProjectExtensions> + <VisualStudio> + <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> + <WebProjectProperties> + <UseIIS>False</UseIIS> + <AutoAssignPort>True</AutoAssignPort> + <DevelopmentServerPort>1999</DevelopmentServerPort> + <DevelopmentServerVPath>/</DevelopmentServerVPath> + <IISUrl> + </IISUrl> + <NTLMAuthentication>False</NTLMAuthentication> + <UseCustomServer>False</UseCustomServer> + <CustomServerUrl> + </CustomServerUrl> + <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> + </WebProjectProperties> + </FlavorProperties> + </VisualStudio> + </ProjectExtensions> +</Project> Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/GlobalASAXExample.csproj ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Properties/AssemblyInfo.cs URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Properties/AssemblyInfo.cs?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Properties/AssemblyInfo.cs (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Properties/AssemblyInfo.cs Thu Dec 8 06:00:47 2011 @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("TestGlobal")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Test")] +[assembly: AssemblyProduct("TestGlobal")] +[assembly: AssemblyCopyright("Copyright © Test 2009")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Properties/AssemblyInfo.cs ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Web.config URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Web.config?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Web.config (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Web.config Thu Dec 8 06:00:47 2011 @@ -0,0 +1,107 @@ +<?xml version="1.0"?> +<configuration> + <configSections> + <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> + <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> + <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> + <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"> + <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/> + <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> + <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> + <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/> + </sectionGroup> + </sectionGroup> + </sectionGroup> + </configSections> + <appSettings/> + <connectionStrings/> + <system.web> + <!-- + Set compilation debug="true" to insert debugging + symbols into the compiled page. Because this + affects performance, set this value to true only + during development. + --> + <compilation debug="true"> + <assemblies> + <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> + <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> + <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> + </assemblies> + </compilation> + <!-- + The <authentication> section enables configuration + of the security authentication mode used by + ASP.NET to identify an incoming user. + --> + <authentication mode="Windows"/> + <!-- + The <customErrors> section enables configuration + of what to do if/when an unhandled error occurs + during the execution of a request. Specifically, + it enables developers to configure html error pages + to be displayed in place of a error stack trace. + + <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> + <error statusCode="403" redirect="NoAccess.htm" /> + <error statusCode="404" redirect="FileNotFound.htm" /> + </customErrors> + --> + <pages> + <controls> + <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + </controls> + </pages> + <httpHandlers> + <remove verb="*" path="*.asmx"/> + <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> + </httpHandlers> + <httpModules> + <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + </httpModules> + </system.web> + <system.codedom> + <compilers> + <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <providerOption name="CompilerVersion" value="v3.5"/> + <providerOption name="WarnAsError" value="false"/> + </compiler> + </compilers> + </system.codedom> + <!-- + The system.webServer section is required for running ASP.NET AJAX under Internet + Information Services 7.0. It is not necessary for previous version of IIS. + --> + <system.webServer> + <validation validateIntegratedModeConfiguration="false"/> + <modules> + <remove name="ScriptModule"/> + <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + </modules> + <handlers> + <remove name="WebServiceHandlerFactory-Integrated"/> + <remove name="ScriptHandlerFactory"/> + <remove name="ScriptHandlerFactoryAppServices"/> + <remove name="ScriptResource"/> + <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> + </handlers> + </system.webServer> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> + <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> + <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration> Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/Web.config ------------------------------------------------------------------------------ svn:executable = * Added: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/pom.xml URL: http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/pom.xml?rev=1211762&view=auto ============================================================================== --- incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/pom.xml (added) +++ incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/pom.xml Thu Dec 8 06:00:47 2011 @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <parent> + <groupId>NPanday.ITs</groupId> + <artifactId>NPanday.ITs.Parent</artifactId> + <version>1-SNAPSHOT</version> + </parent> + <modelVersion>4.0.0</modelVersion> + <groupId>NPanday.ITs.GlobalASAXExample</groupId> + <artifactId>GlobalASAXExample</artifactId> + <version>1.0-SNAPSHOT</version> + <packaging>asp</packaging> + <name>NPanday.ITs.GlobalASAXExample : GlobalASAXExample</name> + <build> + <sourceDirectory>.</sourceDirectory> + <plugins> + <plugin> + <groupId>org.apache.npanday.plugins</groupId> + <artifactId>maven-compile-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <frameworkVersion>3.5</frameworkVersion> + <includeSources> + <includeSource>Default.aspx.cs</includeSource> + <includeSource>Default.aspx.designer.cs</includeSource> + <includeSource>Global.asax.cs</includeSource> + <includeSource>Properties\AssemblyInfo.cs</includeSource> + </includeSources> + <outputDirectory>bin</outputDirectory> + </configuration> + </plugin> + </plugins> + </build> +</project> Propchange: incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_96_GlobalAsaxPrecompiledTest/pom.xml ------------------------------------------------------------------------------ svn:executable = *