[banshee/gtk3] GSettingsSchemaExtractor: wrap tests around an ENABLE_TESTS ifdef



commit 5691d3931b5a59ea55e03d40cb7a4f4fbcaa19e7
Author: Andres G. Aragoneses <knocte gmail com>
Date:   Sun Mar 10 22:23:56 2013 +0000

    GSettingsSchemaExtractor: wrap tests around an ENABLE_TESTS ifdef

 build/GSettingsSchemaExtractorTests.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/build/GSettingsSchemaExtractorTests.cs b/build/GSettingsSchemaExtractorTests.cs
index 78e4052..458821a 100644
--- a/build/GSettingsSchemaExtractorTests.cs
+++ b/build/GSettingsSchemaExtractorTests.cs
@@ -24,6 +24,8 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
+#if ENABLE_TESTS
+
 using System;
 using System.Text;
 
@@ -241,3 +243,4 @@ namespace GSettingsSchemaExtractor
     }
 }
 
+#endif
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]