Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / Experiments / Generator / src / test / functional / GeneratorTestCase.boo
blob94daee0e573dc5cd33ade4b68b9d7324c8933ee3
1 namespace Generator.Tests.Functional
3 import System.IO
4 import Generator
5 import Generator.Extentions
6 import NUnit.Framework
8 class GeneratorTestCase:
9 TEST_DIR = "../functional_test"
10 _currentDir as string
12 [SetUp]
13 def SetUp():
14 Directory.CreateDirectory(TEST_DIR)
15 _currentDir = Directory.GetCurrentDirectory()
16 Directory.SetCurrentDirectory(TEST_DIR)
18 [TearDown]
19 def TearDown():
20 try:
21 Directory.Delete(TEST_DIR, true)
22 except e:
23 pass
24 Directory.SetCurrentDirectory(_currentDir)