From c18622a82c6329c4288b6a762d00705d2f17d0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Terje=20Sandstr=C3=B8m?= Date: Wed, 6 May 2020 21:53:17 +0200 Subject: [PATCH] Fix for issue #189 --- LICENSE.txt | 4 ++-- build.cake | 2 +- src/NUnitTestAdapter/Properties/AssemblyInfo.cs | 8 ++++---- src/NUnitTestAdapter/TraitsFeature.cs | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index b2f0754..68da1e1 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,5 +1,5 @@ -Copyright (c) 2011-2017 Charlie Poole -Copyright (c) 2014-2017 Terje Sandstrom +Copyright (c) 2011-2020 Charlie Poole +Copyright (c) 2014-2020 Terje Sandstrom Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/build.cake b/build.cake index 0ef5736..6d27462 100644 --- a/build.cake +++ b/build.cake @@ -9,7 +9,7 @@ var configuration = Argument("configuration", "Debug"); // SET PACKAGE VERSION ////////////////////////////////////////////////////////////////////// -var version = "2.2.0"; +var version = "2.3.0"; var modifier = ""; var dbgSuffix = configuration == "Debug" ? "-dbg" : ""; diff --git a/src/NUnitTestAdapter/Properties/AssemblyInfo.cs b/src/NUnitTestAdapter/Properties/AssemblyInfo.cs index 50b360a..e8972bd 100644 --- a/src/NUnitTestAdapter/Properties/AssemblyInfo.cs +++ b/src/NUnitTestAdapter/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ // **************************************************************** -// Copyright (c) 2011 Charlie Poole, Terje Sandstrom +// Copyright (c) 2011-2020 Charlie Poole, Terje Sandstrom // **************************************************************** using System; @@ -12,7 +12,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("NUnit Software")] [assembly: AssemblyProduct("NUnit.VisualStudio.TestAdapter")] -[assembly: AssemblyCopyright("Copyright (c) 2011-2017 Charlie Poole, 2014-2017 Terje Sandstrom")] +[assembly: AssemblyCopyright("Copyright (c) 2011-2020 Charlie Poole, 2014-2020 Terje Sandstrom")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: CLSCompliant(false)] @@ -21,5 +21,5 @@ [assembly: ComVisible(false)] [assembly: Guid("c0aad5e4-b486-49bc-b3e8-31e01be6fefe")] -[assembly: AssemblyVersion("2.2.0.0")] -[assembly: AssemblyFileVersion("2.2.0.0")] +[assembly: AssemblyVersion("2.3.0.0")] +[assembly: AssemblyFileVersion("2.3.0.0")] diff --git a/src/NUnitTestAdapter/TraitsFeature.cs b/src/NUnitTestAdapter/TraitsFeature.cs index 5b15fda..4c88f7c 100644 --- a/src/NUnitTestAdapter/TraitsFeature.cs +++ b/src/NUnitTestAdapter/TraitsFeature.cs @@ -1,5 +1,5 @@ // *********************************************************************** -// Copyright (c) 2013 Charlie Poole, Terje Sandstrom +// Copyright (c) 2013-2020 Charlie Poole, Terje Sandstrom // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the @@ -91,7 +91,7 @@ private static void AddTraitsFromNUnitTest(ITest test, object traitsCollection) TraitsCollectionAdd.Invoke(traitsCollection, new object[] { "Category", category }); } else if (propertyName[0] != '_') // internal use only - TraitsCollectionAdd.Invoke(traitsCollection, new object[] { propertyName, propertyValue.ToString() }); + TraitsCollectionAdd.Invoke(traitsCollection, new object[] { propertyName, propertyValue?.ToString() }); } }