partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

DatabaseSetupCard.js (1151B)


      1 /**
      2  * This card tests the database connectivity for the MySQL database.
      3  *
      4  * Basically this submits all connection settings to a special PHP script,
      5  * which then attempts to establish the database connection.
      6  */
      7 Ext.define('PartKeeprSetup.DatabaseSetupCard', {
      8     extend: 'PartKeeprSetup.AbstractTestCard',
      9 
     10     cardMessage: "PartKeepr is now being set-up.",
     11     breadCrumbTitle: 'Setup (1/2)',
     12     rerunTestText: "Re-run setup",
     13     /**
     14      * Sets up the tests
     15      */
     16     setupTests: function ()
     17     {
     18         this.tests.push(new PartKeeprSetup.DatabaseConnectivityTest());
     19         this.tests.push(new PartKeeprSetup.DatabaseVersionTest());
     20         this.tests.push(new PartKeeprSetup.SchemaSetup());
     21         this.tests.push(new PartKeeprSetup.SchemaMigration());
     22         this.tests.push(new PartKeeprSetup.PartUnitSetup());
     23         this.tests.push(new PartKeeprSetup.FootprintSetup());
     24         this.tests.push(new PartKeeprSetup.SiPrefixSetup());
     25         this.tests.push(new PartKeeprSetup.UnitSetup());
     26         this.tests.push(new PartKeeprSetup.ManufacturerSetup());
     27         this.tests.push(new PartKeeprSetup.ExistingUserTest());
     28     }
     29 });