2014-08-13 10:39:27 +01:00
|
|
|
//
|
|
|
|
// CompilerTest.cs
|
|
|
|
//
|
|
|
|
// Author:
|
|
|
|
// Atsushi Enomoto <atsushi@ximian.com>
|
|
|
|
//
|
|
|
|
// (C) Ximian, Inc.
|
|
|
|
//
|
|
|
|
|
|
|
|
using System;
|
2018-05-10 08:37:03 +00:00
|
|
|
using System.Collections.Generic;
|
2014-08-13 10:39:27 +01:00
|
|
|
using Microsoft.CSharp;
|
|
|
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
namespace MonoTests.Cscompmgd
|
|
|
|
{
|
|
|
|
[TestFixture]
|
|
|
|
public class CompilerTest
|
|
|
|
{
|
|
|
|
[SetUp]
|
|
|
|
public void GetReady ()
|
|
|
|
{
|
|
|
|
}
|
2018-05-10 08:37:03 +00:00
|
|
|
|
|
|
|
[TestCase]
|
|
|
|
public void EmptySourceTexts ()
|
|
|
|
{
|
|
|
|
Assert.Throws<IndexOutOfRangeException> (() => Compiler.Compile (Array.Empty<string> (), Array.Empty<string> (), "", null, null));
|
|
|
|
}
|
2014-08-13 10:39:27 +01:00
|
|
|
}
|
|
|
|
}
|