Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ead2d07c81
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (38 sloc) 1.06 kB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace JSIL.Tests {
[TestFixture]
public class VerbatimTests : GenericTestFixture {
[Test]
public void EvalIsReplacedInGeneratedJavascript () {
GenericTest(
@"SpecialTestCases\Eval.cs",
"1", "2"
);
}
[Test]
public void CustomNamedBuiltins () {
GenericTest(
@"SpecialTestCases\IndexBuiltinByName.cs",
"test", "printed\r\nprinted again"
);
}
[Test]
public void VerbatimIsEmittedRawInGeneratedJavascript () {
GenericTest(
@"SpecialTestCases\Verbatim.cs",
"1\r\n2", "1"
);
}
[Test]
public void BuiltinsThisEvaluatesToJSThis () {
GenericTest(
@"SpecialTestCases\VerbatimThis.cs",
"", "Program/CustomType"
);
}
}
}
Jump to Line
Something went wrong with that request. Please try again.