Skip to content

Commit

Permalink
Test projects: align namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc committed Apr 22, 2024
1 parent 35ec13d commit ce815a0
Show file tree
Hide file tree
Showing 44 changed files with 53 additions and 53 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft. All rights reserved.

using FunctionalTests.DefaultTestCases;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.KernelMemory;
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace AzureAISearch.FunctionalTests;
namespace Microsoft.AzureAISearch.FunctionalTests;

public class DefaultTests : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace AzureAISearch.FunctionalTests;
namespace Microsoft.AzureAISearch.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

#if !KernelMemoryDev
using FreeMindLabs.KernelMemory.Elasticsearch;
using FunctionalTests.DefaultTestCases;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.KernelMemory;
using Microsoft.TestHelpers;

namespace Elasticsearch.FunctionalTests;
namespace Microsoft.Elasticsearch.FunctionalTests;

public class DefaultTests : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace Elasticsearch.FunctionalTests;
namespace Microsoft.Elasticsearch.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace LlamaSharp.FunctionalTests;
namespace Microsoft.LlamaSharp.FunctionalTests;

public sealed class LlamaSharpTextGeneratorTest : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace LlamaSharp.FunctionalTests;
namespace Microsoft.LlamaSharp.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft. All rights reserved.

using FunctionalTests.DefaultTestCases;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.KernelMemory;
using Microsoft.KernelMemory.MongoDbAtlas;
using Microsoft.TestHelpers;

namespace MongoDbAtlas.FunctionalTests;
namespace Microsoft.MongoDbAtlas.FunctionalTests;

public class DefaultTestsSingleCollection : DefaultTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace MongoDbAtlas.FunctionalTests;
namespace Microsoft.MongoDbAtlas.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.KernelMemory.MongoDbAtlas;
using Microsoft.TestHelpers;

namespace MongoDbAtlas.FunctionalTests;
namespace Microsoft.MongoDbAtlas.FunctionalTests;

public class StorageTestsSingleCollection : StorageTests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.KernelMemory;
using Microsoft.TestHelpers;

namespace Postgres.FunctionalTests;
namespace Microsoft.Postgres.FunctionalTests;

public class AdditionalFilteringTests : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.KernelMemory.MemoryStorage;
using Microsoft.TestHelpers;

namespace Postgres.FunctionalTests;
namespace Microsoft.Postgres.FunctionalTests;

public class ConcurrencyTests : BaseFunctionalTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions extensions/Postgres/Postgres.FunctionalTests/DefaultTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft. All rights reserved.

using FunctionalTests.DefaultTestCases;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.KernelMemory;
using Microsoft.TestHelpers;

namespace Postgres.FunctionalTests;
namespace Microsoft.Postgres.FunctionalTests;

public class DefaultTests : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RollForward>LatestMajor</RollForward>
<RootNamespace>Microsoft.Postres.FunctionalTests</RootNamespace>
<RootNamespace>Microsoft.Postgres.FunctionalTests</RootNamespace>
<IsTestProject>true</IsTestProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion extensions/Postgres/Postgres.FunctionalTests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace Postgres.FunctionalTests;
namespace Microsoft.Postgres.FunctionalTests;

public class Startup
{
Expand Down
4 changes: 2 additions & 2 deletions extensions/Qdrant/Qdrant.FunctionalTests/DefaultTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft. All rights reserved.

using FunctionalTests.DefaultTestCases;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.KernelMemory;
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace Qdrant.FunctionalTests;
namespace Microsoft.Qdrant.FunctionalTests;

public class DefaultTests : BaseFunctionalTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/Qdrant/Qdrant.FunctionalTests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace Qdrant.FunctionalTests;
namespace Microsoft.Qdrant.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace Redis.FunctionalTests;
namespace Microsoft.Redis.FunctionalTests;

public class AdditionalFilteringTests : BaseFunctionalTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions extensions/Redis/Redis.FunctionalTests/DefaultTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Copyright (c) Microsoft. All rights reserved.

using FunctionalTests.DefaultTestCases;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.KernelMemory;
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace Redis.FunctionalTests;
namespace Microsoft.Redis.FunctionalTests;

public class DefaultTests : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace Redis.FunctionalTests;
namespace Microsoft.Redis.FunctionalTests;

public class RedisSpecificTests : BaseFunctionalTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/Redis/Redis.FunctionalTests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace Redis.FunctionalTests;
namespace Microsoft.Redis.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
// tests only when working with packages.

#if !KernelMemoryDev
using FunctionalTests.DefaultTestCases;
using KernelMemory.MemoryStorage.SqlServer;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.KernelMemory;
using Microsoft.TestHelpers;

namespace SQLServer.FunctionalTests;
namespace Microsoft.SQLServer.FunctionalTests;

public class DefaultTests : BaseFunctionalTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/SQLServer/SQLServer.FunctionalTests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace SQLServer.FunctionalTests;
namespace Microsoft.SQLServer.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Microsoft.KernelMemory;

namespace FunctionalTests.DefaultTestCases;
namespace Microsoft.Core.FunctionalTests.DefaultTestCases;

public static class DocumentUploadTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Microsoft.KernelMemory;

namespace FunctionalTests.DefaultTestCases;
namespace Microsoft.Core.FunctionalTests.DefaultTestCases;

public static class FilteringTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Microsoft.KernelMemory;

namespace FunctionalTests.DefaultTestCases;
namespace Microsoft.Core.FunctionalTests.DefaultTestCases;

public static class IndexCreationTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Microsoft.KernelMemory;

namespace FunctionalTests.DefaultTestCases;
namespace Microsoft.Core.FunctionalTests.DefaultTestCases;

public static class IndexDeletionTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Microsoft.KernelMemory;

namespace FunctionalTests.DefaultTestCases;
namespace Microsoft.Core.FunctionalTests.DefaultTestCases;

public static class IndexListTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Microsoft.KernelMemory;

namespace FunctionalTests.DefaultTestCases;
namespace Microsoft.Core.FunctionalTests.DefaultTestCases;

public static class MissingIndexTest
{
Expand Down
2 changes: 1 addition & 1 deletion service/tests/Core.FunctionalTests/Models/IndexNameTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Microsoft.KernelMemory.Models;

namespace FunctionalTests.Models;
namespace Microsoft.Core.FunctionalTests.Models;

public class IndexNameTest
{
Expand Down
2 changes: 1 addition & 1 deletion service/tests/Core.FunctionalTests/ParallelHandlersTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace FunctionalTests;
namespace Microsoft.Core.FunctionalTests;

public class ParallelHandlersTest : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace FunctionalTests.ServerLess.AIClients;
namespace Microsoft.Core.FunctionalTests.ServerLess.AIClients;

public class AzureOpenAITextGeneratorTest : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace FunctionalTests.ServerLess.AIClients;
namespace Microsoft.Core.FunctionalTests.ServerLess.AIClients;

// ReSharper disable StringLiteralTypo
public sealed class OpenAITextEmbeddingGeneratorTest : BaseFunctionalTestCase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace FunctionalTests.ServerLess.AIClients;
namespace Microsoft.Core.FunctionalTests.ServerLess.AIClients;

public sealed class OpenAITextGeneratorTest : BaseFunctionalTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions service/tests/Core.FunctionalTests/ServerLess/DefaultTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft. All rights reserved.

using FunctionalTests.DefaultTestCases;
using Microsoft.Core.FunctionalTests.DefaultTestCases;
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace FunctionalTests.ServerLess;
namespace Microsoft.Core.FunctionalTests.ServerLess;

public class DefaultTests : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace FunctionalTests.ServerLess;
namespace Microsoft.Core.FunctionalTests.ServerLess;

public class OpenAIDependencyInjectionTest : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Microsoft.TestHelpers;
using Xunit.Abstractions;

namespace FunctionalTests.ServerLess;
namespace Microsoft.Core.FunctionalTests.ServerLess;

public class SubDirFilesAndStreamsTest : BaseFunctionalTestCase
{
Expand Down
2 changes: 1 addition & 1 deletion service/tests/Core.FunctionalTests/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* IMPORTANT: the Startup class must be at the root of the namespace and
* the namespace must match exactly (required by Xunit.DependencyInjection) */

namespace FunctionalTests;
namespace Microsoft.Core.FunctionalTests;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using StackExchange.Redis;
using Xunit.Abstractions;

namespace FunctionalTests.VectorDbComparison;
namespace Microsoft.Core.FunctionalTests.VectorDbComparison;

public class TestCosineSimilarity : BaseFunctionalTestCase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

// ReSharper disable MissingBlankLines

namespace FunctionalTests.VectorDbComparison;
namespace Microsoft.Core.FunctionalTests.VectorDbComparison;

public class TestMemoryFilters : BaseFunctionalTestCase
{
Expand Down
Loading

0 comments on commit ce815a0

Please sign in to comment.