상속: SIL.FieldWorks.Test.TestUtils.BaseTest
예제 #1
0
        /// <summary>Helper</summary>
        private static Slice GenerateSlice(FdoCache cache, DataTree datatree)
        {
            var slice   = new Slice();
            var parts   = DataTreeTests.GenerateParts();
            var layouts = DataTreeTests.GenerateLayouts();

            datatree.Initialize(cache, false, layouts, parts);
            slice.Parent = datatree;
            return(slice);
        }