public UiElementInfo(ITestAssembly ta, ITestFixtureInfo tf, ITestMethodInfo tm) { if (ta != null) { _assemblyName = ta.Name.FullName.Split(",".ToCharArray())[0]; _assemblyPathName = ta.Name.CodeBase; } _fixtureFullName = string.Empty; _methodName = string.Empty; if( tf != null ) { _fixtureFullName = tf.FullName; if( tm != null ) { _methodName = tm.Name; _methodFullName = tm.FullName; } } }
public UiElementInfo(ITestAssembly ta, ITestFixtureInfo tf, ITestMethodInfo tm) { if (ta != null) { _assemblyName = ta.Name.FullName.Split(",".ToCharArray())[0]; _assemblyPathName = ta.Name.CodeBase; } _fixtureFullName = string.Empty; _methodName = string.Empty; if (tf != null) { _fixtureFullName = tf.FullName; if (tm != null) { _methodName = tm.Name; _methodFullName = tm.FullName; } } }