예제 #1
0
 private void InitializeInstanceFields()
 {
     testHelper      = new ProcessEngineTestRule(engineRule);
     defaultRuleChin = RuleChain.outerRule(engineRule).around(testHelper);
     batchHelper     = new BatchMigrationHelper(engineRule);
 }
예제 #2
0
 private void InitializeInstanceFields()
 {
     testHelper = new ProcessEngineTestRule(rule);
     ruleChain  = RuleChain.outerRule(rule).around(testHelper);
 }
예제 #3
0
 private void InitializeInstanceFields()
 {
     RuleChain = RuleChain.outerRule(_testDirectory).around(_fileSystemRule).around(_pageCacheRule);
 }
예제 #4
0
 private void InitializeInstanceFields()
 {
     authRule   = new AuthorizationTestRule(engineRule);
     testHelper = new ProcessEngineTestRule(engineRule);
     ruleChain  = RuleChain.outerRule(engineRule).around(authRule).around(testHelper);
 }
예제 #5
0
 private void InitializeInstanceFields()
 {
     engineRule = new ProvidedProcessEngineRule(bootstrapRule);
     testRule   = new ProcessEngineTestRule(engineRule);
     ruleChain  = RuleChain.outerRule(bootstrapRule).around(engineRule).around(testRule);
 }
예제 #6
0
 private void InitializeInstanceFields()
 {
     Rules = RuleChain.outerRule(_testName).around(TestDirectory).around(SuppressOutput);
 }
예제 #7
0
		private void InitializeInstanceFields()
		{
			TestRuleMarkFailure marker = new TestRuleMarkFailure();
			Rules = RuleChain.outerRule(new SystemPropertiesRestoreRule()).around(new TestRuleAdapter()
예제 #8
0
 private void InitializeInstanceFields()
 {
     RuleChain = RuleChain.outerRule(_directory).around(_fileSystemRule).around(_life);
 }
예제 #9
0
 private void InitializeInstanceFields()
 {
     Rules = RuleChain.outerRule(_random).around(_directory);
 }
 private void InitializeInstanceFields()
 {
     _server   = new Neo4jWithSocket(this.GetType(), TestGraphDatabaseFactory, _fsRule, SettingsFunction);
     RuleChain = RuleChain.outerRule(_fsRule).around(_server);
 }
예제 #11
0
 private void InitializeInstanceFields()
 {
     ruleChain = RuleChain.outerRule(bootstrapRule).around(engineRule);
 }
예제 #12
0
 private void InitializeInstanceFields()
 {
     RuleChain = RuleChain.outerRule(SuppressOutput.suppressAll()).around(_db);
 }
예제 #13
0
 private void InitializeInstanceFields()
 {
     Rules = RuleChain.outerRule(_directory).around(_fileSystemRule).around(_pageCacheRule).around(_cleanup);
 }
예제 #14
0
		private void InitializeInstanceFields()
		{
			_initialKeys = _initialKeys();
			_keysToAdd = _keysToAdd();
			Chain = RuleChain.outerRule( _random ).around( _pageCacheRule );
		}
예제 #15
0
 private void InitializeInstanceFields()
 {
     _testDirectory = TestDirectory.testDirectory(_fileSystemRule);
     RuleChain      = RuleChain.outerRule(_pageCacheRule).around(_fileSystemRule).around(_testDirectory);
     _fs            = _fileSystemRule.get();
 }
예제 #16
0
 private void InitializeInstanceFields()
 {
     Chain = RuleChain.outerRule(_testDirectory).around(_exception).around(_t2).around(_t3);
 }
예제 #17
0
 private void InitializeInstanceFields()
 {
     RuleChain   = RuleChain.outerRule(_expectedException).around(_fileSystemRule).around(_pageCacheRule).around(_directory);
     _fileSystem = _fileSystemRule.get();
 }
예제 #18
0
 private void InitializeInstanceFields()
 {
     testRule  = new ProcessEngineTestRule(cacheFactoryEngineRule);
     ruleChain = RuleChain.outerRule(cacheFactoryBootstrapRule).around(cacheFactoryEngineRule).around(testRule);
 }
예제 #19
0
 private void InitializeInstanceFields()
 {
     testRule  = new ProcessEngineTestRule(engineRule);
     ruleChain = RuleChain.outerRule(bootstrapRule).around(engineRule).around(testRule);
     PROCESS   = Bpmn.createExecutableProcess(PROCESS_KEY).camundaHistoryTimeToLive(5).startEvent().userTask("userTask").name("userTask").endEvent().done();
 }
예제 #20
0
 private void InitializeInstanceFields()
 {
     RuleChain = RuleChain.outerRule(_random).around(_expectedException).around(_db);
 }
예제 #21
0
 private void InitializeInstanceFields()
 {
     ruleChain = RuleChain.outerRule(engineRule).around(authRule).around(testHelper);
 }
예제 #22
0
 private void InitializeInstanceFields()
 {
     migrationRule = new MigrationTestRule(engineRule);
     helper        = new BatchMigrationHelper(engineRule, migrationRule);
     ruleChain     = RuleChain.outerRule(engineRule).around(migrationRule);
 }
예제 #23
0
 private void InitializeInstanceFields()
 {
     testHelper = new MigrationTestRule(rule);
     ruleChain  = RuleChain.outerRule(rule).around(testHelper);
 }
예제 #24
0
 private void InitializeInstanceFields()
 {
     RuleChain = RuleChain.outerRule(_pageCacheRule).around(_fsRule).around(_random);
 }
예제 #25
0
 private void InitializeInstanceFields()
 {
     _testDirectory = TestDirectory.testDirectory(_fileSystemRule);
     RuleChain      = RuleChain.outerRule(_suppressOutput).around(_fileSystemRule).around(_testDirectory).around(_pageCacheRule).around(_clusterRule);
 }
예제 #26
0
 private void InitializeInstanceFields()
 {
     testRule  = new ProcessEngineTestRule(engineRule);
     ruleChain = RuleChain.outerRule(bootstrapRule).around(engineRule).around(testRule);
     PROCESS   = Bpmn.createExecutableProcess(PROCESS_KEY).camundaHistoryTimeToLive(5).startEvent().scriptTask().camundaAsyncBefore().scriptFormat("groovy").scriptText("if(execution.getIncidents().size() == 0) throw new RuntimeException(\"I'm supposed to fail!\")").userTask("userTask").endEvent().done();
 }
예제 #27
0
 private void InitializeInstanceFields()
 {
     testRule  = new ProcessEngineTestRule(engineRule);
     ruleChain = RuleChain.outerRule(deploymentAwareBootstrapRule).around(engineRule).around(testRule);
 }
예제 #28
0
 private void InitializeInstanceFields()
 {
     _testDirectory = TestDirectory.testDirectory(_fs);
     Chain          = RuleChain.outerRule(_fs).around(_testDirectory).around(_pageCacheRule);
 }
예제 #29
0
 private void InitializeInstanceFields()
 {
     Chain = RuleChain.outerRule(_db).around(_threads);
 }
 private void InitializeInstanceFields()
 {
     _directory = TestDirectory.testDirectory(_fs);
     Rules      = RuleChain.outerRule(_random).around(_fs).around(_directory).around(_life).around(_expectedException);
     _monitor   = new ReverseTransactionCursorLoggingMonitor(_logProvider.getLog(typeof(ReversedSingleFileTransactionCursor)));
 }