From 3396d3d407261ff01ab5b558c790e6a298ff455c Mon Sep 17 00:00:00 2001 From: Deyan Nenov Date: Wed, 15 Nov 2023 20:03:42 +0000 Subject: [PATCH] failing tests fix - the tests were failing because another test folder was starting with a preceding alphabet letter --- test/DynamoCoreWpfTests/PublishPackageViewModelTests.cs | 6 +++--- .../doc/Random.Doc.md} | 0 .../doc/readme.txt | 0 .../dyf/3DView by BoundingBox.dyf | 0 .../extra/Package.Migrations.xml | 0 .../pkg.json | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename test/core/docbrowser/pkgs/{AllFileTypesPackageDocs/doc/Package.Package.Hello.md => _AllFileTypesPackageDocs/doc/Random.Doc.md} (100%) rename test/core/docbrowser/pkgs/{AllFileTypesPackageDocs => _AllFileTypesPackageDocs}/doc/readme.txt (100%) rename test/core/docbrowser/pkgs/{AllFileTypesPackageDocs => _AllFileTypesPackageDocs}/dyf/3DView by BoundingBox.dyf (100%) rename test/core/docbrowser/pkgs/{AllFileTypesPackageDocs => _AllFileTypesPackageDocs}/extra/Package.Migrations.xml (100%) rename test/core/docbrowser/pkgs/{AllFileTypesPackageDocs => _AllFileTypesPackageDocs}/pkg.json (100%) diff --git a/test/DynamoCoreWpfTests/PublishPackageViewModelTests.cs b/test/DynamoCoreWpfTests/PublishPackageViewModelTests.cs index b6d437aa667..a8e2892f209 100644 --- a/test/DynamoCoreWpfTests/PublishPackageViewModelTests.cs +++ b/test/DynamoCoreWpfTests/PublishPackageViewModelTests.cs @@ -376,8 +376,8 @@ public void RemoveAllChildrenFilesUpdatesContentItem() public void CanRemoveCustomDefinitionDependencyTypes() { // Arrange - string nodePath = Path.Combine(TestDirectory, "core", "docbrowser\\pkgs\\AllFileTypesPackageDocs"); - string dyfPath = Path.Combine(TestDirectory, "core", "docbrowser\\pkgs\\AllFileTypesPackageDocs\\dyf\\3DView by BoundingBox.dyf"); + string nodePath = Path.Combine(TestDirectory, "core", "docbrowser\\pkgs\\_AllFileTypesPackageDocs"); + string dyfPath = Path.Combine(TestDirectory, "core", "docbrowser\\pkgs\\_AllFileTypesPackageDocs\\dyf\\3DView by BoundingBox.dyf"); var allFiles = Directory.GetFiles(nodePath, "*", SearchOption.AllDirectories).ToList(); var vm = new PublishPackageViewModel(this.ViewModel); @@ -433,7 +433,7 @@ public void CanRemoveCustomDefinitionDependencyTypes() public void CanRemoveAllDependencyTypes() { // Arrange - string nodePath = Path.Combine(TestDirectory, "core", "docbrowser\\pkgs\\AllFileTypesPackageDocs"); + string nodePath = Path.Combine(TestDirectory, "core", "docbrowser\\pkgs\\_AllFileTypesPackageDocs"); var allFiles = Directory.GetFiles(nodePath, "*", SearchOption.AllDirectories).ToList(); var vm = new PublishPackageViewModel(this.ViewModel); diff --git a/test/core/docbrowser/pkgs/AllFileTypesPackageDocs/doc/Package.Package.Hello.md b/test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/doc/Random.Doc.md similarity index 100% rename from test/core/docbrowser/pkgs/AllFileTypesPackageDocs/doc/Package.Package.Hello.md rename to test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/doc/Random.Doc.md diff --git a/test/core/docbrowser/pkgs/AllFileTypesPackageDocs/doc/readme.txt b/test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/doc/readme.txt similarity index 100% rename from test/core/docbrowser/pkgs/AllFileTypesPackageDocs/doc/readme.txt rename to test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/doc/readme.txt diff --git a/test/core/docbrowser/pkgs/AllFileTypesPackageDocs/dyf/3DView by BoundingBox.dyf b/test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/dyf/3DView by BoundingBox.dyf similarity index 100% rename from test/core/docbrowser/pkgs/AllFileTypesPackageDocs/dyf/3DView by BoundingBox.dyf rename to test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/dyf/3DView by BoundingBox.dyf diff --git a/test/core/docbrowser/pkgs/AllFileTypesPackageDocs/extra/Package.Migrations.xml b/test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/extra/Package.Migrations.xml similarity index 100% rename from test/core/docbrowser/pkgs/AllFileTypesPackageDocs/extra/Package.Migrations.xml rename to test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/extra/Package.Migrations.xml diff --git a/test/core/docbrowser/pkgs/AllFileTypesPackageDocs/pkg.json b/test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/pkg.json similarity index 100% rename from test/core/docbrowser/pkgs/AllFileTypesPackageDocs/pkg.json rename to test/core/docbrowser/pkgs/_AllFileTypesPackageDocs/pkg.json