From 973766efce8d3e02fbe57b9addfd5d6174c3c8c0 Mon Sep 17 00:00:00 2001 From: Gerd Heber Date: Tue, 12 Mar 2019 13:23:40 -0500 Subject: [PATCH 1/4] Fixed the test class name. --- UnitTests/H5ETest/H5Eauto_is_v2.cs | 2 +- UnitTests/H5ETest/H5Eclear.cs | 2 +- UnitTests/H5ETest/H5Eclose_stack.cs | 2 +- UnitTests/H5ETest/H5Ecreate_stack.cs | 2 +- UnitTests/H5ETest/H5Eget_auto.cs | 2 +- UnitTests/H5ETest/H5Eget_current_stack.cs | 2 +- UnitTests/H5ETest/H5Eget_num.cs | 2 +- UnitTests/H5ETest/H5Epop.cs | 2 +- UnitTests/H5ETest/H5Epush.cs | 2 +- UnitTests/H5ETest/H5Eset_auto.cs | 2 +- UnitTests/H5ETest/H5Eset_current_stack.cs | 2 +- UnitTests/H5ETest/H5Ewalk.cs | 3 ++- 12 files changed, 13 insertions(+), 12 deletions(-) diff --git a/UnitTests/H5ETest/H5Eauto_is_v2.cs b/UnitTests/H5ETest/H5Eauto_is_v2.cs index 6466c81..59eb4ce 100644 --- a/UnitTests/H5ETest/H5Eauto_is_v2.cs +++ b/UnitTests/H5ETest/H5Eauto_is_v2.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Eauto_is_v2Test1() diff --git a/UnitTests/H5ETest/H5Eclear.cs b/UnitTests/H5ETest/H5Eclear.cs index 8dafe5e..31d333f 100644 --- a/UnitTests/H5ETest/H5Eclear.cs +++ b/UnitTests/H5ETest/H5Eclear.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5EclearTest1() diff --git a/UnitTests/H5ETest/H5Eclose_stack.cs b/UnitTests/H5ETest/H5Eclose_stack.cs index 6d7ff19..4b8870e 100644 --- a/UnitTests/H5ETest/H5Eclose_stack.cs +++ b/UnitTests/H5ETest/H5Eclose_stack.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Eclose_stackTest1() diff --git a/UnitTests/H5ETest/H5Ecreate_stack.cs b/UnitTests/H5ETest/H5Ecreate_stack.cs index f6b11b4..af97c14 100644 --- a/UnitTests/H5ETest/H5Ecreate_stack.cs +++ b/UnitTests/H5ETest/H5Ecreate_stack.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Ecreate_stackTest1() diff --git a/UnitTests/H5ETest/H5Eget_auto.cs b/UnitTests/H5ETest/H5Eget_auto.cs index 8ebeeb3..b9cd572 100644 --- a/UnitTests/H5ETest/H5Eget_auto.cs +++ b/UnitTests/H5ETest/H5Eget_auto.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Eget_autoTest1() diff --git a/UnitTests/H5ETest/H5Eget_current_stack.cs b/UnitTests/H5ETest/H5Eget_current_stack.cs index 577baf7..09c0e77 100644 --- a/UnitTests/H5ETest/H5Eget_current_stack.cs +++ b/UnitTests/H5ETest/H5Eget_current_stack.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Eget_current_stackTest1() diff --git a/UnitTests/H5ETest/H5Eget_num.cs b/UnitTests/H5ETest/H5Eget_num.cs index c876d57..74829c9 100644 --- a/UnitTests/H5ETest/H5Eget_num.cs +++ b/UnitTests/H5ETest/H5Eget_num.cs @@ -27,7 +27,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Eget_numTest1() diff --git a/UnitTests/H5ETest/H5Epop.cs b/UnitTests/H5ETest/H5Epop.cs index aece274..8828d10 100644 --- a/UnitTests/H5ETest/H5Epop.cs +++ b/UnitTests/H5ETest/H5Epop.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5EpopTest1() diff --git a/UnitTests/H5ETest/H5Epush.cs b/UnitTests/H5ETest/H5Epush.cs index f09b9c5..42751db 100644 --- a/UnitTests/H5ETest/H5Epush.cs +++ b/UnitTests/H5ETest/H5Epush.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5EpushTest1() diff --git a/UnitTests/H5ETest/H5Eset_auto.cs b/UnitTests/H5ETest/H5Eset_auto.cs index 25a2f0a..65b93c1 100644 --- a/UnitTests/H5ETest/H5Eset_auto.cs +++ b/UnitTests/H5ETest/H5Eset_auto.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Eset_autoTest1() diff --git a/UnitTests/H5ETest/H5Eset_current_stack.cs b/UnitTests/H5ETest/H5Eset_current_stack.cs index 529ba7f..89810ad 100644 --- a/UnitTests/H5ETest/H5Eset_current_stack.cs +++ b/UnitTests/H5ETest/H5Eset_current_stack.cs @@ -25,7 +25,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5Eset_current_stackTest1() diff --git a/UnitTests/H5ETest/H5Ewalk.cs b/UnitTests/H5ETest/H5Ewalk.cs index e488394..fff8c38 100644 --- a/UnitTests/H5ETest/H5Ewalk.cs +++ b/UnitTests/H5ETest/H5Ewalk.cs @@ -27,7 +27,7 @@ namespace UnitTests { - public partial class H5Test + public partial class H5ETest { [TestMethod] public void H5EwalkTest1() @@ -82,6 +82,7 @@ public herr_t WalkDelegateMethod IntPtr client_data ) { + Assert.IsTrue(err_desc.line > 0); return 0; } } From 819d3d2840431c78c60aa29452bae54c0a6df90c Mon Sep 17 00:00:00 2001 From: Gerd Heber Date: Tue, 12 Mar 2019 13:24:03 -0500 Subject: [PATCH 2/4] Added [In] attribute. --- HDF5/H5Epublic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HDF5/H5Epublic.cs b/HDF5/H5Epublic.cs index 9f7fcfb..d9624c5 100644 --- a/HDF5/H5Epublic.cs +++ b/HDF5/H5Epublic.cs @@ -127,7 +127,7 @@ IntPtr client_data public delegate herr_t walk_t ( uint n, - ref error_t err_desc, + [In]ref error_t err_desc, IntPtr client_data ); From c103bfdcca81116766102d9811f45cf2fa6be048 Mon Sep 17 00:00:00 2001 From: Gerd Heber Date: Tue, 12 Mar 2019 13:37:43 -0500 Subject: [PATCH 3/4] Update RELEASE_NOTES.md --- RELEASE_NOTES.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 7dc2fc5..5632207 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,9 @@ +##### 1.10.5.1 +* Bugfix for https://github.com/HDFGroup/HDF.PInvoke/issues/154. + +##### 1.8.21.1 +* Bugfix for https://github.com/HDFGroup/HDF.PInvoke/issues/154. + ##### 1.8.21.0 * Updated native dependencies (HDF5 1.8.21) From ca58c757911bbb9ff19e821bdd56f3d0166134bd Mon Sep 17 00:00:00 2001 From: Gerd Heber Date: Tue, 12 Mar 2019 13:43:00 -0500 Subject: [PATCH 4/4] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 87171d7..3c1e9a5 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ of .NET bindings for HDF5, not the [LCM](https://en.wikipedia.org/wiki/Least_com | HDF5 Release Version | Assembly Version | Assembly File Version | Git Tag | | ---------------------------------------------------------------------- | ---------------- | --------------------------------------------------------------- | ------- | -| [1.8.21](https://portal.hdfgroup.org/display/support/Downloads) | 1.8.21.0 | [1.8.21.0](https://www.nuget.org/packages/HDF.PInvoke/1.8.21.0) | v1.8.21.0 | -| [1.10.5](https://portal.hdfgroup.org/display/support/Downloads) | 1.10.5.0 | [1.10.5.0](https://www.nuget.org/packages/HDF.PInvoke/1.10.5.0) | v1.10.5.0 | +| [1.8.21](https://portal.hdfgroup.org/display/support/Downloads) | 1.8.21.1 | [1.8.21.1](https://www.nuget.org/packages/HDF.PInvoke/1.8.21.1) | v1.8.21.1 | +| [1.10.5](https://portal.hdfgroup.org/display/support/Downloads) | 1.10.5.1 | [1.10.5.1](https://www.nuget.org/packages/HDF.PInvoke/1.10.5.1) | v1.10.5.1 | [How "stuff" is versioned.](../../wiki/Versioning-and-Releases) @@ -25,12 +25,12 @@ of .NET bindings for HDF5, not the [LCM](https://en.wikipedia.org/wiki/Least_com To install the latest HDF.PInvoke 1.8, run the following command in the [Package Manager Console](https://docs.nuget.org/docs/start-here/using-the-package-manager-console) ``` - Install-Package HDF.PInvoke -Version 1.8.21.0 + Install-Package HDF.PInvoke -Version 1.8.21.1 ``` To install the latest HDF.PInvoke 1.10, run the following command in the [Package Manager Console](https://docs.nuget.org/docs/start-here/using-the-package-manager-console) ``` - Install-Package HDF.PInvoke -Version 1.10.5.0 + Install-Package HDF.PInvoke -Version 1.10.5.1 ``` # Prerequisites