コード例 #1
0
        public void GetFullTypeName_ShouldPerformAsExpected(string rootNamespace, string fullPath, string expected, bool keepLeadingUnderscores = false, string userscoreReplaceString = "")
        {
            var sut = new StandardTypeNameGenerator(rootNamespace, keepLeadingUnderscores, userscoreReplaceString);

            sut.GetFullTypeName(fullPath).Should().Be(expected);
        }
コード例 #2
0
        public void GetFullTypeName_ShouldPerformAsExpected(string rootNamespace, string fullPath, string expected)
        {
            var sut = new StandardTypeNameGenerator(rootNamespace);

            sut.GetFullTypeName(fullPath).Should().Be(expected);
        }