Ejemplo n.º 1
0
 public PackageTests()
 {
     _basePackage = new BasePackage(AppDomain.CurrentDomain.BaseDirectory.TrimEnd('\\'));
     _basePackage.AddPackage("std", null);
     _basePackage.AddPackage("base2", null);
     _basePackage.AddPackage("std.vector", "lib\\vector.lll");
     _basePackage.AddPackage("std.fixedarray", "lib\\fixedarray.lll");
     _basePackage.AddPackage("std.test", "lib\\test.lll");
     _basePackage.AddPackage("base2.pkg", "lib\\base2\\bas2.lll");
 }
Ejemplo n.º 2
0
        public void PackageTestAddNewPackage()
        {
            var package = _basePackage.AddPackage("bad1.bad2.bad3", "some\\lib\\bad3.lll");

            Assert.AreEqual("bad3", package.Name);
        }