mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
connectionString to a setup method, as workaround for NUnit 2.2.0 bug with Assert.Ignore in ctor. * OracleDataReader_NextResult.cs: Moved initialization of connection to setup method, as workaround for NUnit 2.2.0 bug with Assert.Ignore in ctor. svn path=/trunk/mcs/; revision=108067
To run unit test the following should be prepared:
1. Test\System.Data.OracleClient.J2EE.config should contain an ConnectionString setting, i.e.:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConnectionString" value="User ID=ghtdb;Password=ghtdb;Data Source=xp050" />
</appSettings>
</configuration>
2. A target db should be prepared with the relevant structure, following are the instruction for each supported database.
in order to create the testing database, on ORACLE, run:
Run the scripts with a user wich have administrator permissions. (by default user:system, password:mainsoft).
sqlplus "user/password@database_sid" @GHTDB.ORACLE.sql
sqlplus "user/password@database_sid" @GHTDB.Data.ORACLE.sql
for example
sqlplus "system/mainsoft@rafim" @GHTDB.ORACLE.sql
sqlplus "system/mainsoft@rafim" @GHTDB.Data.ORACLE.sql