Sha256: 15ac2db090aef37154248fd22be27b75c7190561b1a6387dfbdc1207a166d164

Contents?: true

Size: 349 Bytes

Versions: 35

Compression:

Stored size: 349 Bytes

Contents

#include "stdafx.h"
#include <StringHelper.h>

TEST(StringHelper, ItCanConvertToUnmanagedStrings)
{
  auto unmanaged = StringHelper::ToUnmanaged("Expected");
  ASSERT_STREQ("Expected", unmanaged);
  delete[] unmanaged;
}

TEST(StringHelper, NullStringYieldsNullUnmanagedString)
{
  ASSERT_EQ(NULL, StringHelper::ToUnmanaged(nullptr));
}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
uia-1.0 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.8 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.7 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.7.alpha.1 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.6 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.5 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.4.4 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.4.3 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.4.2 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.4.1 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.4 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.3.3 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.3.2 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.3.1 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.3 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.2.1 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.2 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.1.3.1 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.1.3 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp
uia-0.1.2.3 ext/UiaDll/UiaDll.Test/StringHelperTest.cpp