Permalink
Browse files

Quarantining FunctionalTest files (and their dependencies) that take …

…advantage of EntityFramework's InternalsVisibleTo attribute.
  • Loading branch information...
1 parent 1c0f30d commit b8c34bd17f5b256ad05ea1665427f48453b4c7e5 @bricelam bricelam committed Jan 26, 2013
Showing 327 changed files with 61,549 additions and 61,319 deletions.
View
@@ -17,6 +17,7 @@
<Target Name="PreRestorePackages">
<ItemGroup>
<RestoreCsProjFiles Include="test\EntityFramework\FunctionalTests\*.csproj" />
+ <RestoreCsProjFiles Include="test\EntityFramework\FunctionalTests.Transitional\*.csproj" />
</ItemGroup>
<Message Text="Restoring NuGet packages..." Importance="High" />
</Target>
View
@@ -13,6 +13,7 @@
<Target Name="Xunit">
<xunit Assembly="test\EntityFramework\UnitTests\bin\$(Configuration)\EntityFramework.UnitTests.dll" Xml="test\EntityFramework\UnitTests\bin\$(Configuration)\EntityFramework.UnitTests.xml" ShadowCopy="true" />
<xunit Assembly="test\EntityFramework\FunctionalTests\bin\$(Configuration)\EntityFramework.FunctionalTests.dll" Xml="test\EntityFramework\FunctionalTests\bin\$(Configuration)\EntityFramework.FunctionalTests.xml" ShadowCopy="true" />
+ <xunit Assembly="test\EntityFramework\FunctionalTests.Transitional\bin\$(Configuration)\EntityFramework.FunctionalTests.Transitional.dll" Xml="test\EntityFramework\FunctionalTests.Transitional\bin\$(Configuration)\EntityFramework.FunctionalTests.Transitional.xml" ShadowCopy="true" />
<xunit Condition="'$(Configuration)' != 'ReleaseNet40' And '$(Configuration)' != 'DebugNet40'" Assembly="test\EntityFramework\VBTests\bin\$(Configuration)\EntityFramework.VBTests.dll" Xml="test\EntityFramework\VBTests\bin\$(Configuration)\EntityFramework.VBTests.xml" ShadowCopy="true" />
</Target>
View
@@ -70,6 +70,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFramework.SqlServer",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFramework.SqlServerCompact", "src\EntityFramework.SqlServerCompact\EntityFramework.SqlServerCompact.csproj", "{1EF9C524-7122-4677-B111-DD14BB2A9EA2}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FunctionalTests.Transitional", "test\EntityFramework\FunctionalTests.Transitional\FunctionalTests.Transitional.csproj", "{3D65611F-E8FB-4A33-9196-7836969D6378}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -148,6 +150,14 @@ Global
{1EF9C524-7122-4677-B111-DD14BB2A9EA2}.Release|Any CPU.Build.0 = Release|Any CPU
{1EF9C524-7122-4677-B111-DD14BB2A9EA2}.ReleaseNet40|Any CPU.ActiveCfg = ReleaseNet40|Any CPU
{1EF9C524-7122-4677-B111-DD14BB2A9EA2}.ReleaseNet40|Any CPU.Build.0 = ReleaseNet40|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.DebugNet40|Any CPU.ActiveCfg = Debug|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.DebugNet40|Any CPU.Build.0 = Debug|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.ReleaseNet40|Any CPU.ActiveCfg = Release|Any CPU
+ {3D65611F-E8FB-4A33-9196-7836969D6378}.ReleaseNet40|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -162,5 +172,6 @@ Global
{E8E91C5F-E54C-41B1-AE1B-62E047BF49D5} = {24A9C4D1-E189-4D3A-A2D7-36D3ED51D277}
{23330EF8-2593-4B0A-A70F-12E6BE1F46C4} = {24A9C4D1-E189-4D3A-A2D7-36D3ED51D277}
{CF1C27F8-D603-4960-BE99-BCF348545368} = {24A9C4D1-E189-4D3A-A2D7-36D3ED51D277}
+ {3D65611F-E8FB-4A33-9196-7836969D6378} = {24A9C4D1-E189-4D3A-A2D7-36D3ED51D277}
EndGlobalSection
EndGlobal
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<repositories>
<repository path="..\src\EntityFramework.SqlServerCompact\packages.config" />
+ <repository path="..\test\EntityFramework\FunctionalTests.Transitional\packages.config" />
<repository path="..\test\EntityFramework\FunctionalTests\packages.config" />
<repository path="..\test\EntityFramework\UnitTests\packages.config" />
<repository path="..\test\EntityFramework\VBTests\packages.config" />
@@ -10,7 +10,7 @@
)]
[assembly:
InternalsVisibleTo(
- "EntityFramework.FunctionalTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293"
+ "EntityFramework.FunctionalTests.Transitional, PublicKey=002400000480000094000000060200000024000052534131000400000100010007D1FA57C4AED9F0A32E84AA0FAEFD0DE9E8FD6AEC8F87FB03766C834C99921EB23BE79AD9D5DCC1DD9AD236132102900B723CF980957FC4E177108FC607774F29E8320E92EA05ECE4E821C0A5EFE8F1645C4C0C93C1AB99285D622CAA652C1DFAD63D745D6F2DE5F17E5EAF0FC4963D261C8A12436518206DC093344D5AD293"
)]
// for Moq
@@ -0,0 +1,2 @@
+This project is being used to quarantine files that depend on EntityFramework's InternalsVisibleTo attribute.
+New tests should be added to the FunctionalTests project.
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<configuration>
+ <configSections>
+ <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+ </configSections>
+ <system.data>
+ <DbProviderFactories>
+ <remove invariant="System.Data.SqlServerCe.4.0"></remove>
+ <add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
+ </DbProviderFactories>
+ </system.data>
+ <connectionStrings>
+ <add name="Scenario_Use_AppConfig_connection_string" providerName="System.Data.SqlClient" connectionString="Server=.\SQLEXPRESS;Integrated Security=True;Database=Scenario_Use_AppConfig;" />
+ <add name="Scenario_Use_AppConfig_LocalDb_connection_string" providerName="System.Data.SqlClient" connectionString="Data Source=(localdb)\v11.0;Integrated Security=True;Database=Scenario_Use_AppConfig_LocalDb;" />
+ <add name="Scenario_Use_SqlCe_AppConfig_connection_string" providerName="System.Data.SqlServerCe.4.0" connectionString="Data Source=Scenario_Use_AppConfig.sdf" />
+ <add name="SimpleModelInAppConfig" providerName="System.Data.SqlClient" connectionString="Server=.\SQLEXPRESS;Integrated Security=True;Database=SimpleModel.SimpleModel;" />
+ <add name="AllTypeKeysModel.AllTypeKeysContext" providerName="System.Data.SqlClient" connectionString="Server=.\SQLEXPRESS;Integrated Security=True;Database=AllTypeKeysDb;" />
+ <add name="SimpleModel.LiveWriterContext" providerName="System.Data.SqlServerCe.4.0" connectionString="Data Source=LiveWriterDb.sdf" />
+ <add name="SimpleModelWithNoDataFromAppConfig" providerName="System.Data.SqlClient" connectionString="Server=.\SQLEXPRESS;Integrated Security=True;Database=SimpleModel.SimpleModelWithNoData;" />
+ <add name="InvalidKeywordConnectionString" providerName="System.Data.SqlClient" connectionString="Server=.\SQLEXPRESS;Integrated Security=True;Databas=SomethingThatDoesntExist;" />
+ <add name="InvalidProviderNameConnectionString" providerName="System.Data" connectionString="Server=.\SQLEXPRESS;Integrated Security=True;Database=SomethingThatDoesntExist;" />
+ <add name="EntityConnectionForSimpleModel" connectionString="metadata=.\SimpleModel.csdl|.\SimpleModel.ssdl|.\SimpleModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;Server=.\SQLEXPRESS;Integrated Security=True;Database=SimpleModel.SimpleModelContext;&quot;" providerName="System.Data.EntityClient" />
+ <add name="MonsterModel" connectionString="metadata=.\MonsterModel.csdl|.\MonsterModel.ssdl|.\MonsterModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;Server=.\SQLEXPRESS;Integrated Security=True;Database=MonsterModel;&quot;" providerName="System.Data.EntityClient" />
+ <add name="AdvancedPatternsModelFirstContext" connectionString="metadata=.\AdvancedPatterns.csdl|.\AdvancedPatterns.ssdl|.\AdvancedPatterns.msl;provider=System.Data.SqlClient;provider connection string=&quot;Server=.\SQLEXPRESS;Integrated Security=True;Database=AdvancedPatternsModelFirst;&quot;" providerName="System.Data.EntityClient" />
+ </connectionStrings>
+ <appSettings>
+ <add key="DatabaseInitializerForType SimpleModel.SimpleModelContext, EntityFramework.FunctionalTests.Transitional" value="SimpleModel.SimpleModelInitializer, EntityFramework.FunctionalTests.Transitional" />
+ <add key="DatabaseInitializerForType AdvancedPatternsModel.AdvancedPatternsMasterContext, EntityFramework.FunctionalTests.Transitional" value="AdvancedPatternsModel.AdvancedPatternsInitializer, EntityFramework.FunctionalTests.Transitional" />
+ <add key="DatabaseInitializerForType FunctionalTests.ProductivityApi.TemplateModels.CsAdvancedPatterns.AdvancedPatternsModelFirstContext, EntityFramework.FunctionalTests.Transitional" value="FunctionalTests.ProductivityApi.TemplateModels.CsAdvancedPatterns.AdvancedPatternsModelFirstInitializer, EntityFramework.FunctionalTests.Transitional" />
+ <add key="BaseConnectionString" value="Data Source=.\SQLEXPRESS; Integrated Security=True;" />
+ </appSettings>
+ <entityFramework>
+ <defaultConnectionFactory type="FunctionalTests.TestHelpers.DefaultFunctionalTestsConnectionFactory, EntityFramework.FunctionalTests.Transitional" />
+ <contexts>
+ <context type="FunctionalTests.SimpleMigrationsModel.MigrateInitializerContext, EntityFramework.FunctionalTests.Transitional">
+ <databaseInitializer type="System.Data.Entity.MigrateDatabaseToLatestVersion`2[[FunctionalTests.SimpleMigrationsModel.MigrateInitializerContext, EntityFramework.FunctionalTests.Transitional], [FunctionalTests.SimpleMigrationsModel.MigrateInitializerConfiguration, EntityFramework.FunctionalTests.Transitional]], EntityFramework" />
+ </context>
+ </contexts>
+ </entityFramework>
+ <runtime>
+ <ThrowUnobservedTaskExceptions enabled="true" />
+ </runtime>
+</configuration>
Oops, something went wrong.

0 comments on commit b8c34bd

Please sign in to comment.