You've already forked linux-packaging-mono
Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
parent
0e2d47d1c8
commit
0510252385
@@ -17,7 +17,7 @@ LIBRARY_WARN_AS_ERROR = yes
|
||||
include ../../build/library.make
|
||||
|
||||
test-local:
|
||||
cp Test/appSettings.config $(dir $(NUNITLITE_CONFIG_FILE))/Test-appSettings.config
|
||||
cp -f Test/appSettings.config $(dir $(NUNITLITE_CONFIG_FILE))/System.Configuration-appSettings.config
|
||||
|
||||
run-test:
|
||||
$(MAKE) -C Test/standalone
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace MonoTests.System.Configuration
|
||||
|
||||
var currentAssembly = TestUtil.ThisApplicationPath;
|
||||
var config = ConfigurationManager.OpenExeConfiguration (currentAssembly);
|
||||
Assert.AreEqual ("Test-appSettings.config", config.AppSettings.File, "#A01");
|
||||
Assert.AreEqual ("System.Configuration-appSettings.config", config.AppSettings.File, "#A01");
|
||||
Assert.AreEqual ("foo", ConfigurationSettings.AppSettings["TestKey1"], "#A02");
|
||||
Assert.AreEqual ("bar", ConfigurationSettings.AppSettings["TestKey2"], "#A03");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user