Skip to content

Commit

Permalink
Changes namespace to Amazon.IonDotnet and updates Amazon.IonDotnet.cs…
Browse files Browse the repository at this point in the history
…proj for NuGet release 0.9.0. (#65)
  • Loading branch information
tgregg authored Feb 5, 2020
1 parent e402c55 commit a54a7a1
Show file tree
Hide file tree
Showing 196 changed files with 584 additions and 582 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: csharp
solution: IonDotnet.sln
solution: Amazon.IonDotnet.sln
dotnet: 2.1
mono: none

Expand All @@ -14,7 +14,7 @@ before_install:
script:
- git submodule init
- git submodule update
- cd IonDotnet.Tests
- cd Amazon.IonDotnet.Tests
- dotnet test -c Release
- dotnet test
- cd ..
- cd ..
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Perf|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\IonDotnet.Serialization\IonDotnet.Serialization.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.11.0" />
<PackageReference Include="Farmhash.Sharp" Version="0.6.0" />
Expand All @@ -37,4 +34,7 @@
<ItemGroup>
<None Remove="BenchmarkDotNet.Artifacts\**" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Amazon.IonDotnet.Serialization\Amazon.IonDotnet.Serialization.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
// ReSharper disable once UnusedMember.Global
// ReSharper disable once ClassNeverInstantiated.Global
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.IO;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
public static class DirStructure
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
public enum ExperimentResult
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using IonDotnet.Serialization;
using Amazon.IonDotnet.Serialization;
using Newtonsoft.Json;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
// ReSharper disable once UnusedMember.Global
public class ExpressionExp : IRunable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
public interface IRunable
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.IO;
using IonDotnet.Internals.Binary;
using IonDotnet.Utils;
using Amazon.IonDotnet.Internals.Binary;
using Amazon.IonDotnet.Utils;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
public static class IonExpressionBinary
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.IO;
using IonDotnet.Internals.Text;
using Amazon.IonDotnet.Internals.Text;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
public static class IonExpressionText
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
using System.Reflection;
using FastExpressionCompiler;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
public static class IonSerializerExpression
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
internal static class Program
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"profiles": {
"IonDotnet.Bench": {
"Amazon.IonDotnet.Bench": {
"commandName": "Project",
"commandLineArgs": "SerializerGround"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// ReSharper disable All

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
// ReSharper disable once ClassNeverInstantiated.Global
public class SerializerGround : IRunable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using IonDotnet.Builders;
using IonDotnet.Serialization;
using Amazon.IonDotnet.Builders;
using Amazon.IonDotnet.Serialization;
using Newtonsoft.Json;

namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
// ReSharper disable once UnusedMember.Global
public class WriteGround : IRunable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System;
using System.Diagnostics;
using System.IO;
using IonDotnet.Internals.Binary;
using IonDotnet.Utils;
using Amazon.IonDotnet.Internals.Binary;
using Amazon.IonDotnet.Utils;

// ReSharper disable UnusedMember.Global
namespace IonDotnet.Bench
namespace Amazon.IonDotnet.Bench
{
public class WriterBenchmark : IRunable
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<LangVersion>7.2</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\IonDotnet\IonDotnet.csproj" />
<ProjectReference Include="..\Amazon.IonDotnet\Amazon.IonDotnet.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* permissions and limitations under the License.
*/

namespace IonDotnet.Serialization
namespace Amazon.IonDotnet.Serialization
{
public interface IScalarWriter
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@

using System;
using System.IO;
using IonDotnet.Internals.Binary;
using IonDotnet.Utils;
using Amazon.IonDotnet.Internals.Binary;
using Amazon.IonDotnet.Utils;

namespace IonDotnet.Serialization
namespace Amazon.IonDotnet.Serialization
{
public class IonBinarySerializer
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.IO;
using IonDotnet.Internals.Text;
using Amazon.IonDotnet.Internals.Text;

namespace IonDotnet.Serialization
namespace Amazon.IonDotnet.Serialization
{
public static class IonSerialization
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;

namespace IonDotnet.Serialization
namespace Amazon.IonDotnet.Serialization
{
internal static partial class IonSerializationPrivate
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
using System.Numerics;
using System.Reflection;

namespace IonDotnet.Serialization
namespace Amazon.IonDotnet.Serialization
{
/// <summary>
/// Deserializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
using System;
using System.IO;
using System.Threading.Tasks;
using IonDotnet.Builders;
using IonDotnet.Internals.Text;
using Amazon.IonDotnet.Builders;
using Amazon.IonDotnet.Internals.Text;

namespace IonDotnet.Serialization
namespace Amazon.IonDotnet.Serialization
{
public class IonTextSerializer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IonDotnet\IonDotnet.csproj" />
<ProjectReference Include="..\Amazon.IonDotnet\Amazon.IonDotnet.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
*/

using System.Linq;
using IonDotnet.Builders;
using IonDotnet.Tests.Common;
using IonDotnet.Tree;
using IonDotnet.Tree.Impl;
using Amazon.IonDotnet.Builders;
using Amazon.IonDotnet.Tests.Common;
using Amazon.IonDotnet.Tree;
using Amazon.IonDotnet.Tree.Impl;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Builders
namespace Amazon.IonDotnet.Tests.Builders
{
[TestClass]
public class LoaderTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using System;
using System.IO;

namespace IonDotnet.Tests.Common
namespace Amazon.IonDotnet.Tests.Common
{
internal static class DirStructure
{
Expand All @@ -35,7 +35,7 @@ private static DirectoryInfo TestDatDir()
{
var root = GetRootDir();
return new DirectoryInfo(Path.Combine(
root.FullName, "IonDotnet.Tests", "TestDat"));
root.FullName, "Amazon.IonDotnet.Tests", "TestDat"));
}

// ion-tests/iontestdata/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.IO;

namespace IonDotnet.Tests.Common
namespace Amazon.IonDotnet.Tests.Common
{
/// <summary>
/// A in-memory test stream that disable seeking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using IonDotnet.Internals.Binary;
using Amazon.IonDotnet.Internals.Binary;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Common
namespace Amazon.IonDotnet.Tests.Common
{
public static class ReadUtils
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Numerics;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Common
namespace Amazon.IonDotnet.Tests.Common
{
public static class ReaderTestCommon
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Common
namespace Amazon.IonDotnet.Tests.Common
{
internal static class ReaderTimestampCommon
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Common
namespace Amazon.IonDotnet.Tests.Common
{
internal static class SymTabUtils
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using IonDotnet.Tests.Common;
using Amazon.IonDotnet.Tests.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Integration
namespace Amazon.IonDotnet.Tests.Integration
{
[TestClass]
public class BooleanTest : IntegrationTestBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using IonDotnet.Tests.Common;
using Amazon.IonDotnet.Tests.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Integration
namespace Amazon.IonDotnet.Tests.Integration
{
[TestClass]
public class FieldNameTest : IntegrationTestBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
using System;
using System.IO;
using System.Text;
using IonDotnet.Builders;
using IonDotnet.Tests.Common;
using Amazon.IonDotnet.Builders;
using Amazon.IonDotnet.Tests.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Integration
namespace Amazon.IonDotnet.Tests.Integration
{
public abstract class IntegrationTestBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using IonDotnet.Tests.Common;
using Amazon.IonDotnet.Tests.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace IonDotnet.Tests.Integration
namespace Amazon.IonDotnet.Tests.Integration
{
[TestClass]
public class NumberTest : IntegrationTestBase
Expand Down
Loading

0 comments on commit a54a7a1

Please sign in to comment.