Sha256: 4daf2a77e933e3ebca56853439d087d9c27539ecff0735a060579437a3afd827

Contents?: true

Size: 831 Bytes

Versions: 4

Compression:

Stored size: 831 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'test/unit'
require 'fileutils'

FileUtils.rm_rf('data2/')

$config_file='config_test.yaml'
DEBUG_LVL=1

require 'QooxView'
require 'africompta'

Permission.add('default', 'View,Welcome')
Permission.add('admin', '.*', '.*')
Permission.add('internet', 'Internet,PersonShow', 'default')
Permission.add('student', '', 'internet')
Permission.add('professor', '', 'student')
Permission.add('secretary', 'PersonModify', 'professor')

qooxView = QooxView.init('../Entities', '../Views')

tests = Dir.glob('ac_*.rb')
# tests = %w( africompta account movement sqlite )
#tests = %w( africompta )
tests = %w( account )
#tests = %w( merge )
dp tests
tests.each { |t|
  begin
    require_relative "ac_#{t}"
  rescue LoadError => e
    require_relative t
  end
}

# Fails test_archive_sum_up

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
africompta-1.9.1312 test/test.rb
africompta-1.9.13.pre.12 test/test.rb
africompta-1.9.13.pre.11 test/test.rb
africompta-1.9.13.pre.10 test/test.rb