-
Notifications
You must be signed in to change notification settings - Fork 181
/
Copy pathLibraryTests.cs
33 lines (28 loc) · 870 Bytes
/
LibraryTests.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// LibraryTests.cs
// Script#/Tests/ScriptSharp
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ScriptSharp.Tests.Core;
namespace ScriptSharp.Tests {
[TestClass]
public sealed class LibraryTests : CompilationTest {
[TestMethod]
public void TestjQuery() {
RunTest((c) => {
c.AddReference("Script.Web.dll").
AddReference("Script.jQuery.dll").
AddSource("Code.cs");
c.Options.Defines = new string[] { "DEBUG" };
});
}
[TestMethod]
public void TestNode() {
RunTest((c) => {
c.AddReference("Script.Node.dll").
AddSource("Code.cs");
});
}
}
}