public void MetaDataJsonMatches() { var metadataPointer = NativeCore.GetNativeMetadata((int)ProgrammingPlatform.dotnet); var metadata = Marshal.PtrToStringUTF8(metadataPointer); Assert.Equal("", metadata); }
public void MetaDataExceptionWorks() { var metadataPointer = NativeCore.GetNativeMetadata(5000000); var metadata = Marshal.PtrToStringUTF8(metadataPointer); }
public void MetaDataJsonIsLongerThanBufferSize() { var metadataPointer = NativeCore.GetNativeMetadata((int)ProgrammingPlatform.dotnet); var metadata = Marshal.PtrToStringUTF8(metadataPointer, 8200); }