public SpreadsheetCsvWriterTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; this.output.WriteLine($"RepositoryPath: {fixture.CremaHost.RepositoryPath}"); }
public CremaClientTestFixture() { this.ServerHost = new CremaServerTestFixture(); var bootstrap = new CremaBootstrapper(); this.CremaHost = (ICremaHost)bootstrap.GetService(typeof(ICremaHost)); }
public TableUpdateRevisionTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; this.output.WriteLine($"RepositoryPath: {fixture.CremaHost.RepositoryPath}"); }
public static IDataBase InitDataBase(this CremaServerTestFixture fixture, string databaseName) { var cremaHost = fixture.CremaHost; return(cremaHost.Dispatcher.Invoke(() => { var database = GetOrCreateDataBase(cremaHost, databaseName); return database; })); }
public static (Authentication, IDataBase) InitDataBaseAndUser(this CremaServerTestFixture fixture, string databaseName, string userId, string password) { var cremaHost = fixture.CremaHost; var database = InitDataBase(fixture, databaseName); return(cremaHost.Dispatcher.Invoke(() => { var user = GetOrCreateUser(cremaHost, userId, password); var authentication = cremaHost.Login(userId, password.ToSecureString()); database.Enter(authentication); return (authentication, database); })); }
public TypesApiController_TypeRevisionTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; }
public TypeUpdateRevisionTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; }
public TableDetailInfoTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; }
public QueryTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; }
public RuntimeServiceTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; }
public SvnRevisionInfoEventArgsTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; }
public TableTemplateIgnoreCaseSensitiveTests(ITestOutputHelper output, CremaServerTestFixture fixture) { this.output = output; this.fixture = fixture; }
public static (Authentication, IDataBase) InitDataBaseAndUser(this CremaServerTestFixture fixture, string databaseName, string userId) { return(InitDataBaseAndUser(fixture, databaseName, userId, userId)); }