Inheritance: ILabelService
Example #1
0
		public void Init()
		{
			_fileSystem = new FileSystem();
			_service = new JsonLabelService(_fileSystem);
			_service.Remove(TestKey);
			_service.Remove(TestPathKey);
		}
		public GlobalizationTest()
		{
			_fileSystem = new FileSystem();
			_service = new JsonLabelService(_fileSystem);
			_service.Remove(TestKey);
			_service.Remove(TestPathKey);
		}
Example #3
0
		public void TestReload()
		{
			_service.Set(TestPathKey, "xyz");

			var service2 = new JsonLabelService(_fileSystem);
			var name = service2.Get(TestPathKey);
			Assert.AreEqual("xyz", name);
		}