Mercurial > repos > IBBoard.Tests
view Lang/Mock/MockTranslatable.cs @ 14:15cf2fe2a627
Re #30: Improve Translations API
* Add translations tests and test data
* Add reset method to translations
* Fix translations where API documentation (contract) didn't match behaviour
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 06 Apr 2010 14:40:35 +0000 |
parents | |
children | 31fdc90f3556 |
line wrap: on
line source
// This file (MockTranslatable.cs) is a part of the IBBoard.Tests project and is copyright 2010 IBBoard // // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. using System; namespace IBBoard.Lang.Mock { public class MockTranslatable : ITranslatable { private string name; private string text; public MockTranslatable(string mockName) { name = mockName; } public string Name { get { return name; } set { name = value; } } public string Text { get { return text; } set { text = value; } } } }