예제 #1
0
        public void Test02_Load_Existing_Resource_By_Specifying_Full_Name()
        {
            var content =
                ResourceReader.GetResourceContents("SSW.DataOnion.CodeGenerator.templates.DbContext.template");

            Assert.False(string.IsNullOrEmpty(content));
        }
예제 #2
0
        public void Test01_Load_Existing_Resource_By_Specifying_Short_Name()
        {
            var content =
                ResourceReader.GetResourceContents("DbContext.template");

            Assert.False(string.IsNullOrEmpty(content));
        }
예제 #3
0
 public void Test03_Try_To_Load_Resource_That_Doesnt_Exist()
 {
     Assert.Null(ResourceReader.GetResourceContents("invalid resource"));
 }