Commit ac3ca71c authored by ussrhero's avatar ussrhero

added test for getting static field from .Net objects

parent e8f1ccbb
......@@ -144,3 +144,7 @@ TYPED_TEST(NetTestObj, InheritedField)
EXPECT_EQ( 0xAABBCCDD, *m_testClassVar->getElement(L"longField") );
}
TYPED_TEST(NetTestObj, StaticField)
{
EXPECT_EQ(L"staticField", m_testClassVar->getElement(L"staticStrField")->getStrValue() );
}
......@@ -49,6 +49,7 @@ namespace managedapp
private float[, ,] floatArray;
private string strField;
private Days daysField;
private static string staticStrField = "staticField";
public Class1 class1Field;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment