1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using ICSharpCode.NRefactory;
6
using ICSharpCode.RubyBinding;
9
namespace RubyBinding.Tests.Converter
12
public class BaseClassConversionTestFixture
15
"class Foo : Bar, IMyInterface\r\n" +
20
public void ConvertedRubyCode()
23
"class Foo < Bar, IMyInterface\r\n" +
25
NRefactoryToRubyConverter converter = new NRefactoryToRubyConverter(SupportedLanguage.CSharp);
26
converter.IndentString = " ";
27
string code = converter.Convert(csharp);
29
Assert.AreEqual(expectedCode, code);