Commit eb481e4f5eaf3fad2dddc3f20590d1ccd9e53e42

Authored by Alexis Proust
1 parent 04930e73

preparation merge avec irap

tests/Fixture/FichemetrologiquesFixture.php 0 → 100644
... ... @@ -0,0 +1,62 @@
  1 +<?php
  2 +namespace App\Test\Fixture;
  3 +
  4 +use Cake\TestSuite\Fixture\TestFixture;
  5 +
  6 +/**
  7 + * FichemetrologiquesFixture
  8 + *
  9 + */
  10 +class FichemetrologiquesFixture extends TestFixture
  11 +{
  12 +
  13 + /**
  14 + * Fields
  15 + *
  16 + * @var array
  17 + */
  18 + // @codingStandardsIgnoreStart
  19 + public $fields = [
  20 + 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
  21 + 'suivi_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  22 + 'mesurande' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  23 + 'moyenne' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  24 + 'ecarttype' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  25 + 'correction' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  26 + 'ua' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  27 + 'ub' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  28 + 'uc' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  29 + 'uf' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  30 + 'u' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  31 + 'incertitude' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  32 + 'conditionEnv' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  33 + 'resolution' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  34 + 'etatmateriel' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  35 + 'etatmetrologique' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  36 + 'emtpersonnel' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  37 + 'nbMesure' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  38 + 'conformeEMTstandart' => ['type' => 'string', 'length' => 100, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  39 + 'conformeEMTperso' => ['type' => 'string', 'length' => 100, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  40 + 'resultatfinal' => ['type' => 'string', 'length' => 100, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  41 + 'observation' => ['type' => 'string', 'length' => 200, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  42 + 'datefiche' => ['type' => 'date', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  43 + 'retard' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  44 + 'justesse' => ['type' => 'float', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  45 + 'materiel_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
  46 + '_indexes' => [
  47 + 'fk_fichemetro_suiv_id_idx' => ['type' => 'index', 'columns' => ['suivi_id'], 'length' => []],
  48 + 'fk_fichemetro_materiel_id_idx' => ['type' => 'index', 'columns' => ['materiel_id'], 'length' => []],
  49 + ],
  50 + '_constraints' => [
  51 + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
  52 + 'fk_fichemetro_suiv_id' => ['type' => 'foreign', 'columns' => ['suivi_id'], 'references' => ['suivis', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []],
  53 + 'fk_fichemetro_materiel_id' => ['type' => 'foreign', 'columns' => ['materiel_id'], 'references' => ['materiels', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []],
  54 +
  55 + ],
  56 + '_options' => [
  57 + 'engine' => 'InnoDB',
  58 + 'collation' => 'latin1_swedish_ci'
  59 + ],
  60 + ];
  61 +
  62 +}
... ...
tests/Fixture/FormulesFixture.php 0 → 100644
... ... @@ -0,0 +1,37 @@
  1 +<?php
  2 +namespace App\Test\Fixture;
  3 +
  4 +use Cake\TestSuite\Fixture\TestFixture;
  5 +
  6 +/**
  7 + * FormulesFixture
  8 + *
  9 + */
  10 +class FormulesFixture extends TestFixture
  11 +{
  12 +
  13 + /**
  14 + * Fields
  15 + *
  16 + * @var array
  17 + */
  18 + // @codingStandardsIgnoreStart
  19 + public $fields = [
  20 + 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
  21 + 'nommesure' => ['type' => 'string', 'length' => 100, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  22 + 'symbole' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => 'F', 'comment' => '', 'precision' => null, 'fixed' => null],
  23 + 'unite' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  24 + 'nbVariable' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => '', 'autoIncrement' => false, 'precision' => null],
  25 + 'formule' => ['type' => 'string', 'length' => 200, 'null' => 'F', 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  26 + '_constraints' => [
  27 + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
  28 + ],
  29 + '_options' => [
  30 + 'engine' => 'InnoDB',
  31 + 'collation' => 'latin1_swedish_ci'
  32 + ],
  33 + ];
  34 + // @codingStandardsIgnoreEnd
  35 +
  36 +
  37 +}
... ...
tests/Fixture/FournisseursFixture.php 0 → 100644
... ... @@ -0,0 +1,43 @@
  1 +<?php
  2 +namespace App\Test\Fixture;
  3 +
  4 +use Cake\TestSuite\Fixture\TestFixture;
  5 +
  6 +/**
  7 + * FournisseursFixture
  8 + *
  9 + */
  10 +class FournisseursFixture extends TestFixture
  11 +{
  12 +
  13 + /**
  14 + * Fields
  15 + *
  16 + * @var array
  17 + */
  18 + // @codingStandardsIgnoreStart
  19 + public $fields = [
  20 + 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
  21 + 'nom' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  22 + '_constraints' => [
  23 + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
  24 + ],
  25 + '_options' => [
  26 + 'engine' => 'InnoDB',
  27 + 'collation' => 'latin1_swedish_ci'
  28 + ],
  29 + ];
  30 + // @codingStandardsIgnoreEnd
  31 +
  32 + /**
  33 + * Records
  34 + *
  35 + * @var array
  36 + */
  37 + public $records = [
  38 + [
  39 + 'id' => 1,
  40 + 'nom' => 'Lorem ipsum dolor sit amet'
  41 + ],
  42 + ];
  43 +}
... ...
tests/Fixture/MesuresFixture.php 0 → 100644
... ... @@ -0,0 +1,37 @@
  1 +<?php
  2 +namespace App\Test\Fixture;
  3 +
  4 +use Cake\TestSuite\Fixture\TestFixture;
  5 +
  6 +/**
  7 + * MesuresFixture
  8 + *
  9 + */
  10 +class MesuresFixture extends TestFixture
  11 +{
  12 +
  13 + /**
  14 + * Fields
  15 + *
  16 + * @var array
  17 + */
  18 + // @codingStandardsIgnoreStart
  19 + public $fields = [
  20 + 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
  21 + 'fichemetrologique_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => true, 'comment' => '', 'precision' => null],
  22 + 'valeur' => ['type' => 'double', 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  23 + 'erreur' => ['type' => 'double', 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  24 + '_indexes' => [
  25 + 'fk_mesure_fichemetrologique_id_idx' => ['type' => 'index', 'columns' => ['fichemetrologique_id'], 'length' => []],
  26 + ],
  27 + '_constraints' => [
  28 + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
  29 + 'fk_mesure_fichemetrologique_id' => ['type' => 'foreign', 'columns' => ['fichemetrologique_id'], 'references' => ['fichemetrologiques', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []],
  30 + ],
  31 + '_options' => [
  32 + 'engine' => 'InnoDB',
  33 + 'collation' => 'latin1_swedish_ci'
  34 + ],
  35 + ];
  36 +
  37 +}
... ...
tests/Fixture/UnitesFixture.php 0 → 100644
... ... @@ -0,0 +1,44 @@
  1 +<?php
  2 +namespace App\Test\Fixture;
  3 +
  4 +use Cake\TestSuite\Fixture\TestFixture;
  5 +
  6 +/**
  7 + * UnitesFixture
  8 + *
  9 + */
  10 +class UnitesFixture extends TestFixture
  11 +{
  12 +
  13 + /**
  14 + * Fields
  15 + *
  16 + * @var array
  17 + */
  18 + // @codingStandardsIgnoreStart
  19 + public $fields = [
  20 + 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
  21 + 'nom' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  22 + 'symbole' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  23 + '_constraints' => [
  24 + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
  25 + ],
  26 + '_options' => [
  27 + 'engine' => 'InnoDB',
  28 + 'collation' => 'latin1_swedish_ci'
  29 + ],
  30 + ];
  31 + // @codingStandardsIgnoreEnd
  32 +
  33 + /**
  34 + * Records
  35 + *
  36 + * @var array
  37 + */
  38 + public $records = [
  39 + [
  40 + 'id' => 1,
  41 + 'nom' => 'Lorem ipsum dolor sit amet'
  42 + ],
  43 + ];
  44 +}
... ...
tests/Fixture/VariablesFixture.php 0 → 100644
... ... @@ -0,0 +1,40 @@
  1 +<?php
  2 +namespace App\Test\Fixture;
  3 +
  4 +use Cake\TestSuite\Fixture\TestFixture;
  5 +
  6 +/**
  7 + * VariablesFixture
  8 + *
  9 + */
  10 +class VariablesFixture extends TestFixture
  11 +{
  12 +
  13 + /**
  14 + * Fields
  15 + *
  16 + * @var array
  17 + */
  18 + // @codingStandardsIgnoreStart
  19 + public $fields = [
  20 + 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
  21 + 'formule_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => false, 'precision' => null],
  22 + 'symbolegrandeurphysique' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  23 + 'symboleunitemesure' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  24 + 'nomgrandeurphysique' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  25 + 'domainedef' => ['type' => 'string', 'length' => 50, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  26 + 'derivepartielle' => ['type' => 'string', 'length' => 100, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
  27 + '_indexes' => [
  28 + 'fk_variables_formules_id' => ['type' => 'index', 'columns' => ['formule_id'], 'length' => []],
  29 + ],
  30 + '_constraints' => [
  31 + 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
  32 + 'fk_variables_formules_id' => ['type' => 'foreign', 'columns' => ['formule_id'], 'references' => ['formules', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []],
  33 + ],
  34 + '_options' => [
  35 + 'engine' => 'InnoDB',
  36 + 'collation' => 'latin1_swedish_ci'
  37 + ],
  38 + ];
  39 +
  40 +}
... ...