常用方法
常用方法
常用方法
常用方法
[Test] public void tmConfig_Load() { var tmFileStorage = new TM_FileStorage(false); // create empty TM_FileStorage // var tmServer = tmFileStorage.Server; // var userData = tmFileStorage.UserData; tmFileStorage.tmConfig_Load(); //if Path_UserData is null, then tmConfig_Location is also null Assert.IsNull(tmFileStorage.Path_UserData); Assert.IsNull(tmFileStorage.tmConfig_Location()); Assert.NotNull(TMConfig.Current); }