コード例 #1
0
        public void find_asset_file_by_path()
        {
            var path = AppDirectory.ToFullPath().AppendPath("content", "scripts", "folder1", "script1.js");
            var file = thePipeline.FindByPath(path);

            file.FullPath.ShouldEqual(path);
            file.Name.ShouldEqual("folder1/script1.js");
        }