Move generated test code to a seperate lib

pull/6832/head
Sydney Acksman 5 years ago
parent db586e4660
commit a85c4a3299
  1. 2
      csharp/generate_protos.sh
  2. 0
      csharp/src/Google.Protobuf.Test.CodeGen/ForeignMessagePartial.cs
  3. 15
      csharp/src/Google.Protobuf.Test.CodeGen/Google.Protobuf.Test.CodeGen.csproj
  4. 0
      csharp/src/Google.Protobuf.Test.CodeGen/MapUnittestProto3.cs
  5. 0
      csharp/src/Google.Protobuf.Test.CodeGen/TestMessagesProto2.cs
  6. 0
      csharp/src/Google.Protobuf.Test.CodeGen/TestMessagesProto3.cs
  7. 0
      csharp/src/Google.Protobuf.Test.CodeGen/Unittest.cs
  8. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestCustomOptionsProto3.cs
  9. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestImport.cs
  10. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestImportProto3.cs
  11. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestImportPublic.cs
  12. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestImportPublicProto3.cs
  13. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestIssues.cs
  14. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestProto3.cs
  15. 0
      csharp/src/Google.Protobuf.Test.CodeGen/UnittestWellKnownTypes.cs
  16. 1
      csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj

@ -45,7 +45,7 @@ $PROTOC -Isrc --csharp_out=csharp/src/Google.Protobuf \
# and old_extensions2.proto, which are generated with an older version
# of protoc.
$PROTOC -Isrc -Icsharp/protos \
--csharp_out=csharp/src/Google.Protobuf.Test/TestProtos \
--csharp_out=csharp/src/Google.Protobuf.Test.CodeGen \
--descriptor_set_out=csharp/src/Google.Protobuf.Test/testprotos.pb \
--include_source_info \
--include_imports \

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net451;netstandard1.0</TargetFrameworks>
<AssemblyOriginatorKeyFile>../../keys/Google.Protobuf.snk</AssemblyOriginatorKeyFile>
<SignAssembly>true</SignAssembly>
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
<IsPackable>False</IsPackable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
</ItemGroup>
</Project>

@ -10,6 +10,7 @@
<ItemGroup>
<ProjectReference Include="..\Google.Protobuf\Google.Protobuf.csproj" />
<ProjectReference Include="..\Google.Protobuf.Test.CodeGen\Google.Protobuf.Test.CodeGen.csproj"/>
</ItemGroup>
<ItemGroup>

Loading…
Cancel
Save