public void DblColSeparator() { CommandLineUtilities.Option option = default(CommandLineUtilities.Option); option.Name = "translateDirectory"; option.Value = m_helloTestPath + "::" + m_worldTestPath; TranslateDirectoryData tdd = Args.ParseTranslatePathOption(m_pathTable, option); XAssert.IsTrue(tdd.FromPath.ToString(m_pathTable).EndsWith(m_helloTestPath, StringComparison.OrdinalIgnoreCase)); XAssert.IsTrue(tdd.ToPath.ToString(m_pathTable).EndsWith(m_worldTestPath, StringComparison.OrdinalIgnoreCase)); }
public void LessThanSeparator() { CommandLineUtilities.Option option = default(CommandLineUtilities.Option); option.Name = "translateDirectory"; option.Value = m_helloTestPath + "<" + m_worldTestPath; TranslateDirectoryData tdd = Args.ParseTranslatePathOption(m_pathTable, option); XAssert.IsTrue(tdd.FromPath.ToString(m_pathTable).EndsWith(m_helloTestPath, OperatingSystemHelper.PathComparison)); XAssert.IsTrue(tdd.ToPath.ToString(m_pathTable).EndsWith(m_worldTestPath, OperatingSystemHelper.PathComparison)); }