noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 52/107: Adapt Unit Test


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 52/107: Adapt Unit Test
Date: Mon, 26 Aug 2019 10:31:56 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 41ab516b0fe741ce36ab03851d6dec6243011998
Author: Dany De Bontridder <address@hidden>
Date:   Sun Jul 28 13:56:51 2019 +0200

    Adapt Unit Test
---
 unit-test/README                |   8 ++
 unit-test/bootstrap.php.example | 164 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 172 insertions(+)

diff --git a/unit-test/README b/unit-test/README
index 119aedd..0aa553d 100644
--- a/unit-test/README
+++ b/unit-test/README
@@ -27,3 +27,11 @@ Permet de voir les lignes de code qui ont été testées
 php <chemin>/phpunit.phar --coverage-html html --bootstrap bootstrap.php 
include
 
 exemple depuis NETBEANS "/usr/bin/php" 
"/home/dany/Program/phpunit-skelgen.phar" "--ansi" "generate-test" 
"--bootstrap=/home/dany/developpement/phpcompta/noalyss/unit-test/bootstrap.php"
 "View_SQL" 
"/home/dany/developpement/phpcompta/noalyss/include/lib/view_sql.class.php" 
"View_SQLTest" 
"/home/dany/developpement/phpcompta/noalyss/unit-test/include/lib/view_sql.classTest.php"
+
+Pour avoir tous les fichiers à inclure
+=========================================
+Depuis ici, faites
+
+cd ../include 
+
+find class lib -type f | awk '{print "require_once 
NOALYSS_INCLUDE.--""--;";}'|sed -e 's/--/"/g' >> ../unit-test/bootstrap.php
diff --git a/unit-test/bootstrap.php.example b/unit-test/bootstrap.php.example
index 2d4bb8a..fc3f769 100644
--- a/unit-test/bootstrap.php.example
+++ b/unit-test/bootstrap.php.example
@@ -150,3 +150,167 @@ require_once NOALYSS_INCLUDE.'/class/class_user.php';
 require_once NOALYSS_INCLUDE.'/lib/class_zip_extended.php';
 
 
+require_once NOALYSS_INCLUDE."class/package_repository.class.php";
+require_once NOALYSS_INCLUDE."class/acc_compute.class.php";
+require_once NOALYSS_INCLUDE."class/sendmail.class.php";
+require_once NOALYSS_INCLUDE."class/fiche_attr.class.php";
+require_once NOALYSS_INCLUDE."class/acc_report.class.php";
+require_once NOALYSS_INCLUDE."class/database.class.php";
+require_once NOALYSS_INCLUDE."class/gestion_table.class.php";
+require_once NOALYSS_INCLUDE."class/acc_report_row.class.php";
+require_once NOALYSS_INCLUDE."class/package_core.class.php";
+require_once NOALYSS_INCLUDE."class/print_ledger.class.php";
+require_once NOALYSS_INCLUDE."class/pre_op_ods.class.php";
+require_once NOALYSS_INCLUDE."class/anc_table.class.php";
+require_once NOALYSS_INCLUDE."class/pdfbalance_simple.class.php";
+require_once NOALYSS_INCLUDE."class/tag.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_purchase.class.php";
+require_once NOALYSS_INCLUDE."class/lettering.class.php";
+require_once NOALYSS_INCLUDE."class/profile_menu.class.php";
+require_once NOALYSS_INCLUDE."class/forecast_cat.class.php";
+require_once NOALYSS_INCLUDE."class/anc_operation.class.php";
+require_once NOALYSS_INCLUDE."class/print_ledger_fin.class.php";
+require_once NOALYSS_INCLUDE."class/acc_bilan.class.php";
+require_once NOALYSS_INCLUDE."class/pre_op_ach.class.php";
+require_once NOALYSS_INCLUDE."class/exercice.class.php";
+require_once NOALYSS_INCLUDE."class/document_export.class.php";
+require_once NOALYSS_INCLUDE."class/admin.class.php";
+require_once NOALYSS_INCLUDE."class/class_print_ledger_misc.php.rej";
+require_once NOALYSS_INCLUDE."class/acc_payment.class.php";
+require_once NOALYSS_INCLUDE."class/acc_reconciliation.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_history_generic.class.php";
+require_once NOALYSS_INCLUDE."class/template_card_category.class.php";
+require_once NOALYSS_INCLUDE."class/print_ledger_simple.class.php";
+require_once NOALYSS_INCLUDE."class/anc_account_table.class.php";
+require_once NOALYSS_INCLUDE."class/todo_list.class.php";
+require_once NOALYSS_INCLUDE."class/supplier.class.php";
+require_once NOALYSS_INCLUDE."class/document.class.php";
+require_once NOALYSS_INCLUDE."class/periode.class.php";
+require_once NOALYSS_INCLUDE."class/fiche_def_ref.class.php";
+require_once NOALYSS_INCLUDE."class/anc_acc_link.class.php";
+require_once NOALYSS_INCLUDE."class/noalyss_parameter_folder.class.php";
+require_once NOALYSS_INCLUDE."class/extension.class.php";
+require_once NOALYSS_INCLUDE."class/pre_op_fin.class.php";
+require_once NOALYSS_INCLUDE."class/forecast_item.class.php";
+require_once NOALYSS_INCLUDE."class/manager.class.php";
+require_once NOALYSS_INCLUDE."class/anc_group_operation.class.php";
+require_once NOALYSS_INCLUDE."class/user.class.php";
+require_once NOALYSS_INCLUDE."class/menu_ref.class.php";
+require_once NOALYSS_INCLUDE."class/print_ledger_detail_item.class.php";
+require_once NOALYSS_INCLUDE."class/anc_plan.class.php";
+require_once NOALYSS_INCLUDE."class/anc_key.class.php";
+require_once NOALYSS_INCLUDE."class/gestion_purchase.class.php";
+require_once NOALYSS_INCLUDE."class/stock_goods.class.php";
+require_once NOALYSS_INCLUDE."class/anc_balance_double.class.php";
+require_once NOALYSS_INCLUDE."class/acc_account.class.php";
+require_once NOALYSS_INCLUDE."class/default_menu.class.php";
+require_once NOALYSS_INCLUDE."class/follow_up.class.php";
+require_once NOALYSS_INCLUDE."class/pre_operation.class.php";
+require_once NOALYSS_INCLUDE."class/class_acc_ledger.php.orig";
+require_once NOALYSS_INCLUDE."class/acc_balance.class.php";
+require_once NOALYSS_INCLUDE."class/anc_balance_simple.class.php";
+require_once NOALYSS_INCLUDE."class/anc_acc_list.class.php";
+require_once NOALYSS_INCLUDE."class/dossier.class.php";
+require_once NOALYSS_INCLUDE."class/anc_print.class.php";
+require_once NOALYSS_INCLUDE."class/print_ledger_simple_without_vat.class.php";
+require_once NOALYSS_INCLUDE."class/gestion_sold.class.php";
+require_once NOALYSS_INCLUDE."class/balance_age.class.php";
+require_once NOALYSS_INCLUDE."class/anc_group.class.php";
+require_once NOALYSS_INCLUDE."class/print_ledger_misc.class.php";
+require_once NOALYSS_INCLUDE."class/periode_ledger_table.class.php";
+require_once NOALYSS_INCLUDE."class/package_noalyss.class.php";
+require_once NOALYSS_INCLUDE."class/calendar.class.php";
+require_once NOALYSS_INCLUDE."class/forecast.class.php";
+require_once NOALYSS_INCLUDE."class/pdf.class.php";
+require_once NOALYSS_INCLUDE."class/package_template.class.php";
+require_once NOALYSS_INCLUDE."class/class_periode.php.orig";
+require_once NOALYSS_INCLUDE."class/package_plugin.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger.class.php";
+require_once NOALYSS_INCLUDE."class/tva_rate_mtable.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_fin.class.php";
+require_once NOALYSS_INCLUDE."class/print_ledger_detail.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_history_financial.class.php";
+require_once NOALYSS_INCLUDE."class/stock.class.php";
+require_once NOALYSS_INCLUDE."class/anc_listing.class.php";
+require_once NOALYSS_INCLUDE."class/anc_grandlivre.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_history.class.php";
+require_once NOALYSS_INCLUDE."class/customer.class.php";
+require_once NOALYSS_INCLUDE."class/fiche.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_info.class.php";
+require_once NOALYSS_INCLUDE."class/Acc_Account_LedgerTest.php";
+require_once NOALYSS_INCLUDE."class/class_print_ledger_misc.php.orig";
+require_once NOALYSS_INCLUDE."class/class_acc_ledger.php.rej";
+require_once NOALYSS_INCLUDE."class/package_contrib.class.php";
+require_once NOALYSS_INCLUDE."class/acc_parm_code.class.php";
+require_once NOALYSS_INCLUDE."class/acc_plan_mtable.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_history_sale.class.php";
+require_once NOALYSS_INCLUDE."class/pdf_operation.class.php";
+require_once NOALYSS_INCLUDE."class/periode_ledger.class.php";
+require_once NOALYSS_INCLUDE."class/contact.class.php";
+require_once NOALYSS_INCLUDE."class/pre_op_advanced.class.php";
+require_once NOALYSS_INCLUDE."class/document_type.class.php";
+require_once NOALYSS_INCLUDE."class/bank.class.php";
+require_once NOALYSS_INCLUDE."class/fiche_def.class.php";
+require_once NOALYSS_INCLUDE."class/acc_tva.class.php";
+require_once NOALYSS_INCLUDE."class/acc_operation.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_sold.class.php";
+require_once NOALYSS_INCLUDE."class/pdf_land.class.php";
+require_once NOALYSS_INCLUDE."class/pre_op_ven.class.php";
+require_once NOALYSS_INCLUDE."class/acc_account_ledger.class.php";
+require_once NOALYSS_INCLUDE."class/follow_up_detail.class.php";
+require_once NOALYSS_INCLUDE."class/class_periode.php.rej";
+require_once NOALYSS_INCLUDE."class/acc_ledger_history_purchase.class.php";
+require_once NOALYSS_INCLUDE."class/anticipation.class.php";
+require_once NOALYSS_INCLUDE."class/document_modele.class.php";
+require_once NOALYSS_INCLUDE."class/acc_ledger_search.class.php";
+require_once NOALYSS_INCLUDE."lib/irelated_action.class.php";
+require_once NOALYSS_INCLUDE."lib/http_input.class.php";
+require_once NOALYSS_INCLUDE."lib/zip_extended.class.php";
+require_once NOALYSS_INCLUDE."lib/sendmail_core.class.php";
+require_once NOALYSS_INCLUDE."lib/iperiod.class.php";
+require_once NOALYSS_INCLUDE."lib/single_record.class.php";
+require_once NOALYSS_INCLUDE."lib/icard.class.php";
+require_once NOALYSS_INCLUDE."lib/data_sql.class.php";
+require_once NOALYSS_INCLUDE."lib/ac_common.php";
+require_once NOALYSS_INCLUDE."lib/inplace_edit.class.php";
+require_once NOALYSS_INCLUDE."lib/noalyss_sql.class.php";
+require_once NOALYSS_INCLUDE."lib/iselect.class.php.orig";
+require_once NOALYSS_INCLUDE."lib/ibutton.class.php";
+require_once NOALYSS_INCLUDE."lib/user_common.php";
+require_once NOALYSS_INCLUDE."lib/icon_action.class.php";
+require_once NOALYSS_INCLUDE."lib/sort_table.class.php";
+require_once NOALYSS_INCLUDE."lib/ac_common.php.orig";
+require_once NOALYSS_INCLUDE."lib/iradio.class.php";
+require_once NOALYSS_INCLUDE."lib/ianccard.class.php";
+require_once NOALYSS_INCLUDE."lib/ispan.class.php";
+require_once NOALYSS_INCLUDE."lib/message_javascript.php";
+require_once NOALYSS_INCLUDE."lib/iconcerned.class.php";
+require_once NOALYSS_INCLUDE."lib/itva_popup.class.php";
+require_once NOALYSS_INCLUDE."lib/html_table.class.php";
+require_once NOALYSS_INCLUDE."lib/inplace_switch.class.php";
+require_once NOALYSS_INCLUDE."lib/noalyss_csv.class.php";
+require_once NOALYSS_INCLUDE."lib/database_core.class.php";
+require_once NOALYSS_INCLUDE."lib/html_input.class.php";
+require_once NOALYSS_INCLUDE."lib/function_javascript.php";
+require_once NOALYSS_INCLUDE."lib/iselect.class.php";
+require_once NOALYSS_INCLUDE."lib/iposte.class.php";
+require_once NOALYSS_INCLUDE."lib/select_box.class.php";
+require_once NOALYSS_INCLUDE."lib/ifile.class.php";
+require_once NOALYSS_INCLUDE."lib/output_html_tab.class.php";
+require_once NOALYSS_INCLUDE."lib/user_menu.php";
+require_once NOALYSS_INCLUDE."lib/html_tab.class.php";
+require_once NOALYSS_INCLUDE."lib/idate.class.php";
+require_once NOALYSS_INCLUDE."lib/itext.class.php";
+require_once NOALYSS_INCLUDE."lib/ac_common.php.rej";
+require_once NOALYSS_INCLUDE."lib/pdf_core.class.php";
+require_once NOALYSS_INCLUDE."lib/progress_bar.class.php";
+require_once NOALYSS_INCLUDE."lib/config_file.php";
+require_once NOALYSS_INCLUDE."lib/impress.class.php";
+require_once NOALYSS_INCLUDE."lib/iaction.class.php";
+require_once NOALYSS_INCLUDE."lib/inum.class.php";
+require_once NOALYSS_INCLUDE."lib/ipopup.class.php";
+require_once NOALYSS_INCLUDE."lib/icheckbox.class.php";
+require_once NOALYSS_INCLUDE."lib/itextarea.class.php";
+require_once NOALYSS_INCLUDE."lib/filetosend.class.php";
+require_once NOALYSS_INCLUDE."lib/ihidden.class.php";
+require_once NOALYSS_INCLUDE."lib/manage_table_sql.class.php";



reply via email to

[Prev in Thread] Current Thread [Next in Thread]