Portfolio Code | Clement Colmerauer
Repositories
Site
Kata refactoring
Code
Commits
Branches
Tags
Search
Tree:
023ff0d
Branches
Tags
master
Kata refactoring
build
classes
java
test
re
forestier
edu
UnitTests.class
Ajout assertion non null pour méthode, économie sur test unitaire
Clement Colmerauer
commited
023ff0d
at 2024-12-13 12:29:53
UnitTests.class
Blame
History
Raw
��� 7� q � � � p � p � � � p � � � p � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 0 � � � � � � � % � � � � � � � � � � � � � � 0 � � � � � � � � % � [ @ � H � @ @ @ @ @ � � � " " "% [ � [& ( [) 0*+ ( [- ( ( [0 ( [2 ( [ �4 [* �5 [6 (89 outContent Ljava/io/ByteArrayOutputStream; errContent originalOut Ljava/io/PrintStream; originalErr <init> ()V Code LineNumberTable LocalVariableTable this Lre/forestier/edu/UnitTests; setUpStreams RuntimeVisibleAnnotations "Lorg/junit/jupiter/api/BeforeEach; testPlayerName Player Lre/forestier/edu/rpg/Player; Lorg/junit/jupiter/api/Test; #Lorg/junit/jupiter/api/DisplayName; value Sample test testPlayerConstructor p Constructor Player testRemoveMoney removeMoney testHealAndHurt Heal and hurt testAddMoney addMoney testManager Lre/forestier/edu/rpg/Manager; Construcor Manager testRetrieveLevel tailleinv I atk ex & lvl testMajFinTour inv Ljava/util/ArrayList; LocalVariableTypeTable 2Ljava/util/ArrayList<Lre/forestier/edu/rpg/Item;>; majDeFinDeTour testMain m Lre/forestier/edu/Main; Main testItem i Lre/forestier/edu/rpg/Item; Item tests testBuySell p2 Item and player testNatural n Lre/forestier/edu/lib/Natural; Natural Tests restoreStreams !Lorg/junit/jupiter/api/AfterEach; lambda$testNatural$12 Exceptions: lambda$testNatural$11 lambda$testNatural$10 lambda$testNatural$9 lambda$testNatural$8 lambda$testNatural$7 lambda$testNatural$6 lambda$testBuySell$5 ;(Lre/forestier/edu/rpg/Player;Lre/forestier/edu/rpg/Item;)V lambda$testBuySell$4 lambda$testBuySell$3 lambda$testHealAndHurt$2 (Lre/forestier/edu/rpg/Player;)V lambda$testHealAndHurt$1 lambda$testRemoveMoney$0 SourceFile UnitTests.java x y java/io/ByteArrayOutputStream r s t s;<