Question je viens de terminer et j'ai encore un pb avec
Yaps-test et Yaps-mark
le premier tout est ok
Pour le deuxième non, un pb de connection
Code : Tout sélectionner
yaps-mark:
[echo] Marks the application
[java] Connect jdbc:mysql://localhost:3306/petstoreDB
[java] Connect root
[java] Connect
[java] 5 nov. 2007 13:14:34 com.yaps.petstore.persistence.AbstractDataAcces
sObject displaySqlException
[java] GRAVE: Error code : 0
[java] 5 nov. 2007 13:14:34 com.yaps.petstore.persistence.AbstractDataAcces
sObject displaySqlException
[java] GRAVE: SQL state : 08001
[java] 5 nov. 2007 13:14:34 com.yaps.petstore.persistence.AbstractDataAcces
sObject displaySqlException
[java] GRAVE: SQL message : No suitable driver found for jdbc:mysql://local
host:3306/petstoreDB
[java] Connect jdbc:mysql://localhost:3306/petstoreDB
[java] Connect root
[java] Connect
[java] Connect jdbc:mysql://localhost:3306/petstoreDB
[java] Connect root
[java] 5 nov. 2007 13:14:34 com.yaps.petstore.persistence.AbstractDataAcces
ant yaps-test
Code : Tout sélectionner
[junit] Connect root
[junit] Connect
[junit] Connect jdbc:mysql://localhost:3306/petstoreDB
[junit] Connect root
[junit] Connect
[junit] Connect jdbc:mysql://localhost:3306/petstoreDB
[junit] Connect root
[junit] Connect
[junit] Connect jdbc:mysql://localhost:3306/petstoreDB
[junit] Connect root
[junit] Connect
[junit] Connect jdbc:mysql://localhost:3306/petstoreDB
[junit] Connect root
[junit] Connect
[junit] Connect jdbc:mysql://localhost:3306/petstoreDB
[junit] Connect root
[junit] Connect
[junit] Connect jdbc:mysql://localhost:3306/petstoreDB
[junit] Connect root
[junit] Connect
[junit] ------------- ---------------- ---------------
[junit]
[junit] Testcase: testCreateValidCustomer took 0 sec
[junit] Testcase: testCreateCustomerWithInvalidValues took 0 sec
[junit] Testcase: testFindCustomerWithInvalidValues took 0,406 sec
[junit] Testcase: testCreateCustomer took 0,203 sec
[junit] Testcase: testUpdateCustomer took 0,172 sec
[junit] Testcase: testDeleteUnknownCustomer took 0,015 sec
[junit] Testcase: testFindCategoryWithInvalidValues took 0,032 sec
[junit] Testcase: testFindAllCategories took 0,109 sec
[junit] Testcase: testCreateCategory took 0,141 sec
[junit] Testcase: testCreateCategoryWithInvalidValues took 0 sec
[junit] Testcase: testUpdateCategoryWithInvalidValues took 0,11 sec
[junit] Testcase: testUpdateCategory took 0,156 sec
[junit] Testcase: testDeleteUnknownCategory took 0 sec
[junit] Testcase: testFindProductWithInvalidValues took 0,032 sec
[junit] Testcase: testFindAllProducts took 1,203 sec
[junit] Testcase: testCreateProduct took 0,218 sec
[junit] Testcase: testCreateProductWithInvalidValues took 0 sec
[junit] Testcase: testCreateProductWithInvalidCategory took 0 sec
[junit] Testcase: testUpdateProduct took 0,266 sec
[junit] Testcase: testDeleteUnknownProduct took 0,015 sec
[junit] Testcase: testFindItemWithInvalidValues took 0,032 sec
[junit] Testcase: testFindAllItems took 1,671 sec
[junit] Testcase: testCreateItem took 0,25 sec
[junit] Testcase: testUpdateItemWithInvalidValues took 0,359 sec
[junit] Testcase: testUpdateItem took 0,329 sec
[junit] Testcase: testDeleteUnknownItem took 0 sec
BUILD SUCCESSFUL
Total time: 7 seconds
C:\Documents and Settings\thiebaol\Bureau\GLG203\TP03\Yaps>
yaps-mark va chercher sa connection ou.
Déjà que j'ai modifié, les tests pour CheckException.
Si quelqu'un a terminé qu'il le signale
merci d'avance.
olivier