Mercurial > repos > IBBoard.Ini.Tests
annotate MockIniSectionWithOneLine.cs @ 13:48b646dd1dc2 default tip
* Automated clean-up of .csproj file
* Ignore generated files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 07 Nov 2012 20:23:16 +0000 |
parents | eac501db18e7 |
children |
rev | line source |
---|---|
9
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 // This file (MockIniSectionWithOneLine.cs) is a part of [PROJECT NAME] and is copyright 2009 IBBoard |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 // The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 // |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 using System; |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 namespace IBBoard.Ini |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 { |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 public class MockIniSectionWithOneLine : IniSection |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 { |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 public static readonly string SECTION_NAME = "section"; |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 public static readonly string KEY_NAME = "key"; |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 public static readonly string VALUE = "value"; |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 public MockIniSectionWithOneLine() : base(SECTION_NAME) |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 { |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 AddIniLine(new IniKeyValuePairLine(KEY_NAME, VALUE)); |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 } |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 } |
eac501db18e7
Re #11 - Add getter methods to IniFile and IniSection
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 } |