Parcourir la source

trying my hardest to catch up

CHU1TA26 il y a 6 ans
Parent
révision
111f17ecf8

+ 2
- 0
.idea/compiler.xml Voir le fichier

@@ -7,10 +7,12 @@
7 7
         <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8 8
         <outputRelativeToContentRoot value="true" />
9 9
         <module name="bankaccountlab" />
10
+        <module name="productmanager" />
10 11
       </profile>
11 12
     </annotationProcessing>
12 13
     <bytecodeTargetLevel target="1.8">
13 14
       <module name="bankaccountlab" target="1.5" />
15
+      <module name="productmanager" target="1.5" />
14 16
     </bytecodeTargetLevel>
15 17
   </component>
16 18
 </project>

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_12.xml Voir le fichier

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: junit:junit:4.12">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 13
- 0
.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml Voir le fichier

@@ -0,0 +1,13 @@
1
+<component name="libraryTable">
2
+  <library name="Maven: org.hamcrest:hamcrest-core:1.3">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 1
- 0
.idea/modules.xml Voir le fichier

@@ -3,6 +3,7 @@
3 3
   <component name="ProjectModuleManager">
4 4
     <modules>
5 5
       <module fileurl="file://$PROJECT_DIR$/bankaccountlab.iml" filepath="$PROJECT_DIR$/bankaccountlab.iml" />
6
+      <module fileurl="file://$PROJECT_DIR$/productmanager.iml" filepath="$PROJECT_DIR$/productmanager.iml" />
6 7
     </modules>
7 8
   </component>
8 9
 </project>

+ 399
- 391
.idea/workspace.xml Voir le fichier

@@ -1,78 +1,108 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4
-    <list default="true" id="268ab437-e0d5-4447-8401-9f321aad6d50" name="Default" comment="" />
4
+    <list default="true" id="268ab437-e0d5-4447-8401-9f321aad6d50" name="Default" comment="">
5
+      <change afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" afterDir="false" />
13
+    </list>
5 14
     <ignored path="$PROJECT_DIR$/out/" />
6 15
     <ignored path="$PROJECT_DIR$/target/" />
7 16
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
-    <option name="TRACKING_ENABLED" value="true" />
9 17
     <option name="SHOW_DIALOG" value="false" />
10 18
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
11 19
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12 20
     <option name="LAST_RESOLUTION" value="IGNORE" />
13 21
   </component>
14
-  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
22
+  <component name="CoverageDataManager">
23
+    <SUITE FILE_PATH="coverage/CR_MesoLabs_Inheritance_ProductManager$ProductTest_tesSetQuantity.ic" NAME="ProductTest.tesSetQuantity Coverage Results" MODIFIED="1541479264329" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false">
24
+      <FILTER>com.zipcodewilmington.productmanager.*</FILTER>
25
+    </SUITE>
26
+  </component>
27
+  <component name="FUSProjectUsageTrigger">
28
+    <session id="-1358114288">
29
+      <usages-collector id="statistics.lifecycle.project">
30
+        <counts>
31
+          <entry key="project.closed" value="1" />
32
+          <entry key="project.open.time.3" value="1" />
33
+          <entry key="project.open.time.4" value="1" />
34
+          <entry key="project.opened" value="2" />
35
+        </counts>
36
+      </usages-collector>
37
+      <usages-collector id="statistics.file.extensions.edit">
38
+        <counts>
39
+          <entry key="java" value="1162" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.types.edit">
43
+        <counts>
44
+          <entry key="JAVA" value="1162" />
45
+        </counts>
46
+      </usages-collector>
47
+      <usages-collector id="statistics.file.extensions.open">
48
+        <counts>
49
+          <entry key="java" value="4" />
50
+        </counts>
51
+      </usages-collector>
52
+      <usages-collector id="statistics.file.types.open">
53
+        <counts>
54
+          <entry key="JAVA" value="4" />
55
+        </counts>
56
+      </usages-collector>
57
+      <usages-collector id="statistics.spring.boot.mvc.usages" />
58
+      <usages-collector id="statistics.vcs.git.usages" />
59
+      <usages-collector id="statistics.spring.boot.run.usages" />
60
+      <usages-collector id="statistics.js.language.service.starts" />
61
+    </session>
62
+  </component>
15 63
   <component name="FileEditorManager">
16
-    <leaf>
17
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="true">
18
-        <entry file="file://$PROJECT_DIR$/pom.xml">
64
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
65
+      <file pinned="false" current-in-tab="false">
66
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
19 67
           <provider selected="true" editor-type-id="text-editor">
20
-            <state relative-caret-position="165">
21
-              <caret line="11" column="10" lean-forward="false" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
22
-              <folding />
68
+            <state relative-caret-position="225">
69
+              <caret line="15" selection-start-line="15" selection-end-line="15" />
70
+              <folding>
71
+                <element signature="e#444#445#0" expanded="true" />
72
+                <element signature="e#480#481#0" expanded="true" />
73
+                <element signature="e#564#565#0" expanded="true" />
74
+                <element signature="e#592#593#0" expanded="true" />
75
+              </folding>
23 76
             </state>
24 77
           </provider>
25 78
         </entry>
26 79
       </file>
27
-      <file leaf-file-name="MainApplication.java" pinned="false" current-in-tab="false">
80
+      <file pinned="false" current-in-tab="false">
28 81
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
29 82
           <provider selected="true" editor-type-id="text-editor">
30
-            <state relative-caret-position="75">
31
-              <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
32
-              <folding />
83
+            <state relative-caret-position="150">
84
+              <caret line="10" column="50" selection-start-line="10" selection-start-column="50" selection-end-line="10" selection-end-column="50" />
33 85
             </state>
34 86
           </provider>
35 87
         </entry>
36 88
       </file>
37
-      <file leaf-file-name="Product.java" pinned="false" current-in-tab="false">
38
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
39
-          <provider selected="true" editor-type-id="text-editor">
40
-            <state relative-caret-position="75">
41
-              <caret line="5" column="20" lean-forward="false" selection-start-line="5" selection-start-column="20" selection-end-line="5" selection-end-column="20" />
42
-              <folding />
43
-            </state>
44
-          </provider>
45
-        </entry>
46
-      </file>
47
-      <file leaf-file-name="ProductTest.java" pinned="false" current-in-tab="false">
89
+      <file pinned="false" current-in-tab="false">
48 90
         <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
49 91
           <provider selected="true" editor-type-id="text-editor">
50
-            <state relative-caret-position="75">
51
-              <caret line="5" column="24" lean-forward="false" selection-start-line="5" selection-start-column="24" selection-end-line="5" selection-end-column="24" />
52
-              <folding />
92
+            <state relative-caret-position="15">
93
+              <caret line="53" column="15" selection-start-line="53" selection-start-column="15" selection-end-line="53" selection-end-column="15" />
94
+              <folding>
95
+                <element signature="imports" expanded="true" />
96
+              </folding>
53 97
             </state>
54 98
           </provider>
55 99
         </entry>
56 100
       </file>
57
-      <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
58
-        <entry file="file://$PROJECT_DIR$/.gitignore">
101
+      <file pinned="false" current-in-tab="true">
102
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
59 103
           <provider selected="true" editor-type-id="text-editor">
60
-            <state relative-caret-position="90">
61
-              <caret line="6" column="5" lean-forward="false" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
62
-              <folding />
63
-            </state>
64
-          </provider>
65
-        </entry>
66
-      </file>
67
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="false">
68
-        <entry file="file://$PROJECT_DIR$/README.md">
69
-          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
70
-            <state split_layout="SPLIT">
71
-              <first_editor relative-caret-position="285">
72
-                <caret line="19" column="27" lean-forward="false" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
73
-                <folding />
74
-              </first_editor>
75
-              <second_editor />
104
+            <state relative-caret-position="255">
105
+              <caret line="17" column="46" lean-forward="true" selection-start-line="17" selection-start-column="46" selection-end-line="17" selection-end-column="46" />
76 106
             </state>
77 107
           </provider>
78 108
         </entry>
@@ -89,151 +119,108 @@
89 119
   <component name="Git.Settings">
90 120
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
91 121
   </component>
92
-  <component name="GradleLocalSettings">
93
-    <option name="externalProjectsViewState">
94
-      <projects_view />
95
-    </option>
96
-  </component>
97 122
   <component name="IdeDocumentHistory">
98 123
     <option name="CHANGED_PATHS">
99 124
       <list>
100 125
         <option value="$PROJECT_DIR$/.gitignore" />
101 126
         <option value="$PROJECT_DIR$/README.md" />
102 127
         <option value="$PROJECT_DIR$/pom.xml" />
128
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" />
129
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/InventoryTest.java" />
130
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java" />
131
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" />
132
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" />
103 133
       </list>
104 134
     </option>
105 135
   </component>
136
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
137
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
138
+  <component name="JsGulpfileManager">
139
+    <detection-done>true</detection-done>
140
+    <sorting>DEFINITION_ORDER</sorting>
141
+  </component>
106 142
   <component name="ProjectFrameBounds">
107 143
     <option name="y" value="23" />
108
-    <option name="width" value="1920" />
109
-    <option name="height" value="1053" />
144
+    <option name="width" value="1280" />
145
+    <option name="height" value="724" />
110 146
   </component>
111 147
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
112 148
   <component name="ProjectView">
113
-    <navigator currentView="ProjectPane" proportions="" version="1">
114
-      <flattenPackages />
115
-      <showMembers />
116
-      <showModules />
117
-      <showLibraryContents />
118
-      <hideEmptyPackages />
119
-      <abbreviatePackageNames />
120
-      <autoscrollToSource />
121
-      <autoscrollFromSource />
122
-      <sortByType />
123
-      <manualOrder />
149
+    <navigator proportions="" version="1">
124 150
       <foldersAlwaysOnTop value="true" />
125 151
     </navigator>
126 152
     <panes>
153
+      <pane id="Scope" />
127 154
       <pane id="ProjectPane">
128 155
         <subPane>
129
-          <PATH>
130
-            <PATH_ELEMENT>
131
-              <option name="myItemId" value="bankaccountlab" />
132
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
133
-            </PATH_ELEMENT>
134
-            <PATH_ELEMENT>
135
-              <option name="myItemId" value="bankaccountlab" />
136
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
137
-            </PATH_ELEMENT>
138
-          </PATH>
139
-          <PATH>
140
-            <PATH_ELEMENT>
141
-              <option name="myItemId" value="bankaccountlab" />
142
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
143
-            </PATH_ELEMENT>
144
-            <PATH_ELEMENT>
145
-              <option name="myItemId" value="bankaccountlab" />
146
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
147
-            </PATH_ELEMENT>
148
-            <PATH_ELEMENT>
149
-              <option name="myItemId" value="src" />
150
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
151
-            </PATH_ELEMENT>
152
-            <PATH_ELEMENT>
153
-              <option name="myItemId" value="test" />
154
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
155
-            </PATH_ELEMENT>
156
-            <PATH_ELEMENT>
157
-              <option name="myItemId" value="java" />
158
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
159
-            </PATH_ELEMENT>
160
-            <PATH_ELEMENT>
161
-              <option name="myItemId" value="com" />
162
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
163
-            </PATH_ELEMENT>
164
-            <PATH_ELEMENT>
165
-              <option name="myItemId" value="zipcodewilmington" />
166
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
167
-            </PATH_ELEMENT>
168
-            <PATH_ELEMENT>
169
-              <option name="myItemId" value="productmanager" />
170
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
171
-            </PATH_ELEMENT>
172
-          </PATH>
173
-          <PATH>
174
-            <PATH_ELEMENT>
175
-              <option name="myItemId" value="bankaccountlab" />
176
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
177
-            </PATH_ELEMENT>
178
-            <PATH_ELEMENT>
179
-              <option name="myItemId" value="bankaccountlab" />
180
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
181
-            </PATH_ELEMENT>
182
-            <PATH_ELEMENT>
183
-              <option name="myItemId" value="src" />
184
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
185
-            </PATH_ELEMENT>
186
-            <PATH_ELEMENT>
187
-              <option name="myItemId" value="main" />
188
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
189
-            </PATH_ELEMENT>
190
-          </PATH>
191
-          <PATH>
192
-            <PATH_ELEMENT>
193
-              <option name="myItemId" value="bankaccountlab" />
194
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
195
-            </PATH_ELEMENT>
196
-            <PATH_ELEMENT>
197
-              <option name="myItemId" value="bankaccountlab" />
198
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
199
-            </PATH_ELEMENT>
200
-            <PATH_ELEMENT>
201
-              <option name="myItemId" value="src" />
202
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
203
-            </PATH_ELEMENT>
204
-            <PATH_ELEMENT>
205
-              <option name="myItemId" value="main" />
206
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
207
-            </PATH_ELEMENT>
208
-            <PATH_ELEMENT>
209
-              <option name="myItemId" value="java" />
210
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
211
-            </PATH_ELEMENT>
212
-            <PATH_ELEMENT>
213
-              <option name="myItemId" value="com" />
214
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
215
-            </PATH_ELEMENT>
216
-            <PATH_ELEMENT>
217
-              <option name="myItemId" value="zipcodewilmington" />
218
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
219
-            </PATH_ELEMENT>
220
-            <PATH_ELEMENT>
221
-              <option name="myItemId" value="productmanager" />
222
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
223
-            </PATH_ELEMENT>
224
-          </PATH>
156
+          <expand>
157
+            <path>
158
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
159
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
160
+            </path>
161
+            <path>
162
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
163
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
164
+              <item name="src" type="462c0819:PsiDirectoryNode" />
165
+            </path>
166
+            <path>
167
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
168
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
169
+              <item name="src" type="462c0819:PsiDirectoryNode" />
170
+              <item name="main" type="462c0819:PsiDirectoryNode" />
171
+            </path>
172
+            <path>
173
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
174
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
175
+              <item name="src" type="462c0819:PsiDirectoryNode" />
176
+              <item name="main" type="462c0819:PsiDirectoryNode" />
177
+              <item name="java" type="462c0819:PsiDirectoryNode" />
178
+            </path>
179
+            <path>
180
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
181
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
182
+              <item name="src" type="462c0819:PsiDirectoryNode" />
183
+              <item name="main" type="462c0819:PsiDirectoryNode" />
184
+              <item name="java" type="462c0819:PsiDirectoryNode" />
185
+              <item name="productmanager" type="462c0819:PsiDirectoryNode" />
186
+            </path>
187
+            <path>
188
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
189
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
190
+              <item name="src" type="462c0819:PsiDirectoryNode" />
191
+              <item name="test" type="462c0819:PsiDirectoryNode" />
192
+            </path>
193
+            <path>
194
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
195
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
196
+              <item name="src" type="462c0819:PsiDirectoryNode" />
197
+              <item name="test" type="462c0819:PsiDirectoryNode" />
198
+              <item name="java" type="462c0819:PsiDirectoryNode" />
199
+            </path>
200
+            <path>
201
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
202
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
203
+              <item name="src" type="462c0819:PsiDirectoryNode" />
204
+              <item name="test" type="462c0819:PsiDirectoryNode" />
205
+              <item name="java" type="462c0819:PsiDirectoryNode" />
206
+              <item name="productmanager" type="462c0819:PsiDirectoryNode" />
207
+            </path>
208
+          </expand>
209
+          <select />
225 210
         </subPane>
226 211
       </pane>
227
-      <pane id="Scope" />
228
-      <pane id="Scratches" />
229 212
       <pane id="PackagesPane" />
230 213
     </panes>
231 214
   </component>
232 215
   <component name="PropertiesComponent">
233
-    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
216
+    <property name="WebServerToolWindowFactoryState" value="false" />
217
+    <property name="aspect.path.notification.shown" value="true" />
218
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1541504471613" />
219
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
234 220
     <property name="project.structure.last.edited" value="Project" />
235 221
     <property name="project.structure.proportion" value="0.0" />
236 222
     <property name="project.structure.side.proportion" value="0.2" />
223
+    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
237 224
   </component>
238 225
   <component name="RunDashboard">
239 226
     <option name="ruleStates">
@@ -247,42 +234,7 @@
247 234
       </list>
248 235
     </option>
249 236
   </component>
250
-  <component name="RunManager">
251
-    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
252
-      <module name="" />
253
-      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
254
-      <option name="PROGRAM_PARAMETERS" />
255
-      <predefined_log_file id="idea.log" enabled="true" />
256
-      <method />
257
-    </configuration>
258
-    <configuration default="true" type="AndroidRunConfigurationType" factoryName="Android App">
259
-      <module name="" />
260
-      <option name="DEPLOY" value="true" />
261
-      <option name="ARTIFACT_NAME" value="" />
262
-      <option name="PM_INSTALL_OPTIONS" value="" />
263
-      <option name="ACTIVITY_EXTRA_FLAGS" value="" />
264
-      <option name="MODE" value="default_activity" />
265
-      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
266
-      <option name="PREFERRED_AVD" value="" />
267
-      <option name="CLEAR_LOGCAT" value="false" />
268
-      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
269
-      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
270
-      <option name="FORCE_STOP_RUNNING_APP" value="true" />
271
-      <option name="DEBUGGER_TYPE" value="Java" />
272
-      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
273
-      <option name="PREFERRED_AVD" value="" />
274
-      <Java />
275
-      <Profilers>
276
-        <option name="ENABLE_ADVANCED_PROFILING" value="true" />
277
-        <option name="GAPID_ENABLED" value="false" />
278
-        <option name="GAPID_DISABLE_PCS" value="false" />
279
-        <option name="SUPPORT_LIB_ENABLED" value="true" />
280
-        <option name="INSTRUMENTATION_ENABLED" value="true" />
281
-      </Profilers>
282
-      <option name="DEEP_LINK" value="" />
283
-      <option name="ACTIVITY_CLASS" value="" />
284
-      <method />
285
-    </configuration>
237
+  <component name="RunManager" selected="JUnit.ProductTest.tesSetQuantity">
286 238
     <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
287 239
       <module name="" />
288 240
       <option name="TESTING_TYPE" value="0" />
@@ -310,164 +262,171 @@
310 262
       </Profilers>
311 263
       <method />
312 264
     </configuration>
265
+    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
266
+      <setting name="environment" value="" />
267
+      <setting name="specsToExecute" value="" />
268
+      <setting name="tags" value="" />
269
+      <setting name="parallelNodes" value="" />
270
+      <setting name="execInParallel" value="false" />
271
+      <setting name="programParameters" value="" />
272
+      <setting name="workingDirectory" value="" />
273
+      <setting name="moduleName" value="" />
274
+      <envMap />
275
+      <setting name="rowsRange" value="" />
276
+      <method />
277
+    </configuration>
313 278
     <configuration default="true" type="Applet" factoryName="Applet">
314
-      <option name="HTML_USED" value="false" />
315
-      <option name="WIDTH" value="400" />
316
-      <option name="HEIGHT" value="300" />
317 279
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
318
-      <module />
319
-      <method />
280
+      <method v="2">
281
+        <option name="Make" enabled="true" />
282
+      </method>
320 283
     </configuration>
321 284
     <configuration default="true" type="Application" factoryName="Application">
322
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
323
-      <option name="MAIN_CLASS_NAME" />
324
-      <option name="VM_PARAMETERS" />
325
-      <option name="PROGRAM_PARAMETERS" />
326 285
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
327
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
328
-      <option name="ALTERNATIVE_JRE_PATH" />
329
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
330
-      <option name="ENV_VARIABLES" />
331
-      <option name="PASS_PARENT_ENVS" value="true" />
332
-      <module name="" />
333
-      <envs />
334
-      <method />
286
+      <method v="2">
287
+        <option name="Make" enabled="true" />
288
+      </method>
335 289
     </configuration>
336
-    <configuration default="true" type="GradleRunConfiguration" factoryName="Gradle">
337
-      <ExternalSystemSettings>
338
-        <option name="executionName" />
339
-        <option name="externalProjectPath" />
340
-        <option name="externalSystemIdString" value="GRADLE" />
341
-        <option name="scriptParameters" />
342
-        <option name="taskDescriptions">
343
-          <list />
344
-        </option>
345
-        <option name="taskNames">
346
-          <list />
347
-        </option>
348
-        <option name="vmOptions" />
349
-      </ExternalSystemSettings>
350
-      <method />
290
+    <configuration name="ProductTest.tesSetQuantity" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
291
+      <module name="productmanager" />
292
+      <extension name="coverage">
293
+        <pattern>
294
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
295
+          <option name="ENABLED" value="true" />
296
+        </pattern>
297
+      </extension>
298
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
299
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
300
+      <option name="METHOD_NAME" value="tesSetQuantity" />
301
+      <option name="TEST_OBJECT" value="method" />
302
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
303
+      <method v="2">
304
+        <option name="Make" enabled="true" />
305
+      </method>
351 306
     </configuration>
352
-    <configuration default="true" type="JUnit" factoryName="JUnit">
353
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
354
-      <module name="" />
355
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
356
-      <option name="ALTERNATIVE_JRE_PATH" />
357
-      <option name="PACKAGE_NAME" />
358
-      <option name="MAIN_CLASS_NAME" />
359
-      <option name="METHOD_NAME" />
360
-      <option name="TEST_OBJECT" value="class" />
361
-      <option name="VM_PARAMETERS" value="-ea" />
362
-      <option name="PARAMETERS" />
307
+    <configuration name="ProductTest.tesSetid" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
308
+      <module name="productmanager" />
309
+      <extension name="coverage">
310
+        <pattern>
311
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
312
+          <option name="ENABLED" value="true" />
313
+        </pattern>
314
+      </extension>
315
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
316
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
317
+      <option name="METHOD_NAME" value="tesSetid" />
318
+      <option name="TEST_OBJECT" value="method" />
363 319
       <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
364
-      <option name="ENV_VARIABLES" />
365
-      <option name="PASS_PARENT_ENVS" value="true" />
366
-      <option name="TEST_SEARCH_SCOPE">
367
-        <value defaultName="singleModule" />
368
-      </option>
369
-      <envs />
370
-      <patterns />
371
-      <method />
320
+      <method v="2">
321
+        <option name="Make" enabled="true" />
322
+      </method>
372 323
     </configuration>
373
-    <configuration default="true" type="JarApplication" factoryName="JAR Application">
374
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
375
-      <envs />
376
-      <method />
324
+    <configuration name="ProductTest.tesSetprice" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
325
+      <module name="productmanager" />
326
+      <extension name="coverage">
327
+        <pattern>
328
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
329
+          <option name="ENABLED" value="true" />
330
+        </pattern>
331
+      </extension>
332
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
333
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
334
+      <option name="METHOD_NAME" value="tesSetprice" />
335
+      <option name="TEST_OBJECT" value="method" />
336
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
337
+      <method v="2">
338
+        <option name="Make" enabled="true" />
339
+      </method>
377 340
     </configuration>
378
-    <configuration default="true" type="Java Scratch" factoryName="Java Scratch">
379
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
380
-      <option name="SCRATCH_FILE_ID" value="0" />
381
-      <option name="MAIN_CLASS_NAME" />
382
-      <option name="VM_PARAMETERS" />
383
-      <option name="PROGRAM_PARAMETERS" />
384
-      <option name="WORKING_DIRECTORY" />
385
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
386
-      <option name="ALTERNATIVE_JRE_PATH" />
387
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
388
-      <option name="ENV_VARIABLES" />
389
-      <option name="PASS_PARENT_ENVS" value="true" />
390
-      <module name="" />
391
-      <envs />
392
-      <method />
341
+    <configuration name="ProductTest.testGeQuantity" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
342
+      <module name="productmanager" />
343
+      <extension name="coverage">
344
+        <pattern>
345
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
346
+          <option name="ENABLED" value="true" />
347
+        </pattern>
348
+      </extension>
349
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
350
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
351
+      <option name="METHOD_NAME" value="testGeQuantity" />
352
+      <option name="TEST_OBJECT" value="method" />
353
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
354
+      <method v="2">
355
+        <option name="Make" enabled="true" />
356
+      </method>
357
+    </configuration>
358
+    <configuration name="ProductTest.testGetId" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
359
+      <module name="productmanager" />
360
+      <extension name="coverage">
361
+        <pattern>
362
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
363
+          <option name="ENABLED" value="true" />
364
+        </pattern>
365
+      </extension>
366
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
367
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
368
+      <option name="METHOD_NAME" value="testGetId" />
369
+      <option name="TEST_OBJECT" value="method" />
370
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
371
+      <method v="2">
372
+        <option name="Make" enabled="true" />
373
+      </method>
374
+    </configuration>
375
+    <configuration default="true" type="JUnit" factoryName="JUnit">
376
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
377
+      <method v="2">
378
+        <option name="Make" enabled="true" />
379
+      </method>
393 380
     </configuration>
394 381
     <configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin">
395
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
396
-      <option name="MAIN_CLASS_NAME" />
382
+      <module name="bankaccountlab" />
397 383
       <option name="VM_PARAMETERS" />
398 384
       <option name="PROGRAM_PARAMETERS" />
399
-      <option name="WORKING_DIRECTORY" />
400 385
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
401 386
       <option name="ALTERNATIVE_JRE_PATH" />
402 387
       <option name="PASS_PARENT_ENVS" value="true" />
403
-      <module name="bankaccountlab" />
404
-      <envs />
405
-      <method />
406
-    </configuration>
407
-    <configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script">
408
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
409
-      <option name="filePath" />
410
-      <option name="vmParameters" />
411
-      <option name="alternativeJrePath" />
412
-      <option name="programParameters" />
413
-      <option name="passParentEnvs" value="true" />
414
-      <option name="workingDirectory" />
415
-      <option name="isAlternativeJrePathEnabled" value="false" />
416
-      <envs />
417
-      <method />
418
-    </configuration>
419
-    <configuration default="true" type="Remote" factoryName="Remote">
420
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
421
-      <option name="SERVER_MODE" value="false" />
422
-      <option name="SHMEM_ADDRESS" value="javadebug" />
423
-      <option name="HOST" value="localhost" />
424
-      <option name="PORT" value="5005" />
425
-      <method />
388
+      <option name="MAIN_CLASS_NAME" />
389
+      <option name="WORKING_DIRECTORY" />
390
+      <method v="2">
391
+        <option name="Make" enabled="true" />
392
+      </method>
426 393
     </configuration>
427 394
     <configuration default="true" type="TestNG" factoryName="TestNG">
428
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
429
-      <module name="" />
430
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
431
-      <option name="ALTERNATIVE_JRE_PATH" />
432
-      <option name="SUITE_NAME" />
433
-      <option name="PACKAGE_NAME" />
434
-      <option name="MAIN_CLASS_NAME" />
435
-      <option name="METHOD_NAME" />
436
-      <option name="GROUP_NAME" />
437
-      <option name="TEST_OBJECT" value="CLASS" />
438
-      <option name="VM_PARAMETERS" value="-ea" />
439
-      <option name="PARAMETERS" />
440 395
       <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
441
-      <option name="OUTPUT_DIRECTORY" />
442
-      <option name="ANNOTATION_TYPE" />
443
-      <option name="ENV_VARIABLES" />
444
-      <option name="PASS_PARENT_ENVS" value="true" />
445
-      <option name="TEST_SEARCH_SCOPE">
446
-        <value defaultName="singleModule" />
447
-      </option>
448
-      <option name="USE_DEFAULT_REPORTERS" value="false" />
449
-      <option name="PROPERTIES_FILE" />
450
-      <envs />
451 396
       <properties />
452 397
       <listeners />
453
-      <method />
398
+      <method v="2">
399
+        <option name="Make" enabled="true" />
400
+      </method>
454 401
     </configuration>
455
-    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
456
-      <setting name="environment" value="" />
457
-      <setting name="specsToExecute" value="" />
458
-      <setting name="tags" value="" />
459
-      <setting name="parallelNodes" value="" />
460
-      <setting name="execInParallel" value="false" />
461
-      <setting name="programParameters" value="" />
462
-      <setting name="workingDirectory" value="" />
463
-      <setting name="moduleName" value="" />
464
-      <envMap />
465
-      <setting name="rowsRange" value="" />
466
-      <method />
402
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
403
+      <module name="" />
404
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
405
+      <option name="PROGRAM_PARAMETERS" />
406
+      <predefined_log_file id="idea.log" enabled="true" />
407
+      <method v="2">
408
+        <option name="Make" enabled="true" />
409
+      </method>
467 410
     </configuration>
411
+    <list>
412
+      <item itemvalue="JUnit.ProductTest.testGetId" />
413
+      <item itemvalue="JUnit.ProductTest.testGeQuantity" />
414
+      <item itemvalue="JUnit.ProductTest.tesSetprice" />
415
+      <item itemvalue="JUnit.ProductTest.tesSetid" />
416
+      <item itemvalue="JUnit.ProductTest.tesSetQuantity" />
417
+    </list>
418
+    <recent_temporary>
419
+      <list>
420
+        <item itemvalue="JUnit.ProductTest.tesSetQuantity" />
421
+        <item itemvalue="JUnit.ProductTest.tesSetid" />
422
+        <item itemvalue="JUnit.ProductTest.tesSetprice" />
423
+        <item itemvalue="JUnit.ProductTest.testGeQuantity" />
424
+        <item itemvalue="JUnit.ProductTest.testGetId" />
425
+      </list>
426
+    </recent_temporary>
468 427
   </component>
469
-  <component name="ShelveChangesManager" show_recycled="false">
470
-    <option name="remove_strategy" value="false" />
428
+  <component name="SvnConfiguration">
429
+    <configuration />
471 430
   </component>
472 431
   <component name="TaskManager">
473 432
     <task active="true" id="Default" summary="Default task">
@@ -476,97 +435,146 @@
476 435
       <option name="number" value="Default" />
477 436
       <option name="presentableId" value="Default" />
478 437
       <updated>1515620835041</updated>
438
+      <workItem from="1541469891380" duration="7548000" />
439
+      <workItem from="1541502761741" duration="1460000" />
479 440
     </task>
480 441
     <servers />
481 442
   </component>
443
+  <component name="TestHistory">
444
+    <history-entry file="ProductTest_testGetprice - 2018.11.05 at 23h 22m 16s.xml">
445
+      <configuration name="ProductTest.testGetprice" configurationId="JUnit" />
446
+    </history-entry>
447
+    <history-entry file="ProductTest_testGetId - 2018.11.05 at 23h 23m 38s.xml">
448
+      <configuration name="ProductTest.testGetId" configurationId="JUnit" />
449
+    </history-entry>
450
+    <history-entry file="ProductTest_testGeQuantity - 2018.11.05 at 23h 23m 44s.xml">
451
+      <configuration name="ProductTest.testGeQuantity" configurationId="JUnit" />
452
+    </history-entry>
453
+    <history-entry file="ProductTest_tesSetprice - 2018.11.05 at 23h 37m 58s.xml">
454
+      <configuration name="ProductTest.tesSetprice" configurationId="JUnit" />
455
+    </history-entry>
456
+    <history-entry file="ProductTest_tesSetid - 2018.11.05 at 23h 39m 33s.xml">
457
+      <configuration name="ProductTest.tesSetid" configurationId="JUnit" />
458
+    </history-entry>
459
+    <history-entry file="ProductTest_tesSetQuantity - 2018.11.05 at 23h 41m 07s.xml">
460
+      <configuration name="ProductTest.tesSetQuantity" configurationId="JUnit" />
461
+    </history-entry>
462
+  </component>
463
+  <component name="TimeTrackingManager">
464
+    <option name="totallyTimeSpent" value="9008000" />
465
+  </component>
482 466
   <component name="ToolWindowManager">
483
-    <frame x="0" y="23" width="1920" height="1053" extended-state="6" />
467
+    <frame x="0" y="23" width="1280" height="724" extended-state="6" />
468
+    <editor active="true" />
484 469
     <layout>
485
-      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
486
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
487
-      <window_info id="Nl-Palette" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
488
-      <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
489
-      <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
490
-      <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
491
-      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
492
-      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
493
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
494
-      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
495
-      <window_info id="Properties" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
496
-      <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3298647" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
497
-      <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
498
-      <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
499
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24973376" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
500
-      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
501
-      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
502
-      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
503
-      <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
504
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
505
-      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
506
-      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
507
-      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
508
-      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
509
-      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
510
-      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
511
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
470
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25767368" />
471
+      <window_info id="Structure" order="1" weight="0.25" />
472
+      <window_info id="Nl-Palette" order="2" />
473
+      <window_info id="Favorites" order="3" side_tool="true" />
474
+      <window_info id="Image Layers" order="4" />
475
+      <window_info id="Designer" order="5" />
476
+      <window_info id="UI Designer" order="6" />
477
+      <window_info id="Capture Tool" order="7" />
478
+      <window_info anchor="bottom" id="Message" order="0" />
479
+      <window_info anchor="bottom" id="Find" order="1" />
480
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32911393" />
481
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.39873418" />
482
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
483
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
484
+      <window_info anchor="bottom" id="TODO" order="6" />
485
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32911393" />
486
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
487
+      <window_info anchor="bottom" id="Version Control" order="9" />
488
+      <window_info anchor="bottom" id="Messages" order="10" weight="0.32911393" />
489
+      <window_info anchor="bottom" id="Database Changes" order="11" show_stripe_button="false" />
490
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
491
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
492
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
493
+      <window_info anchor="right" id="Palette" order="3" />
494
+      <window_info anchor="right" id="Capture Analysis" order="4" />
495
+      <window_info anchor="right" id="Theme Preview" order="5" />
496
+      <window_info anchor="right" id="Properties" order="6" />
497
+      <window_info anchor="right" id="Palette&#9;" order="7" />
498
+      <window_info anchor="right" id="Maven Projects" order="8" />
499
+      <window_info anchor="right" id="Database" order="9" />
500
+      <window_info anchor="right" id="Coverage" order="10" side_tool="true" visible="true" weight="0.32956383" />
512 501
     </layout>
513 502
   </component>
503
+  <component name="TypeScriptGeneratedFilesManager">
504
+    <option name="version" value="1" />
505
+  </component>
514 506
   <component name="VcsContentAnnotationSettings">
515 507
     <option name="myLimit" value="2678400000" />
516 508
   </component>
517
-  <component name="XDebuggerManager">
518
-    <breakpoint-manager />
519
-    <watches-manager />
520
-  </component>
521 509
   <component name="editorHistoryManager">
522
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
510
+    <entry file="file://$PROJECT_DIR$/.gitignore">
523 511
       <provider selected="true" editor-type-id="text-editor">
524
-        <state relative-caret-position="75">
525
-          <caret line="5" column="28" lean-forward="false" selection-start-line="5" selection-start-column="28" selection-end-line="5" selection-end-column="28" />
526
-          <folding />
512
+        <state relative-caret-position="90">
513
+          <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
527 514
         </state>
528 515
       </provider>
529 516
     </entry>
530
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
517
+    <entry file="file://$PROJECT_DIR$/README.md">
518
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
519
+        <state split_layout="SPLIT">
520
+          <first_editor relative-caret-position="285">
521
+            <caret line="19" column="27" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
522
+          </first_editor>
523
+          <second_editor />
524
+        </state>
525
+      </provider>
526
+    </entry>
527
+    <entry file="file://$PROJECT_DIR$/pom.xml">
531 528
       <provider selected="true" editor-type-id="text-editor">
532
-        <state relative-caret-position="75">
533
-          <caret line="5" column="20" lean-forward="false" selection-start-line="5" selection-start-column="20" selection-end-line="5" selection-end-column="20" />
534
-          <folding />
529
+        <state relative-caret-position="165">
530
+          <caret line="11" column="10" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
535 531
         </state>
536 532
       </provider>
537 533
     </entry>
538
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
534
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/InventoryTest.java">
539 535
       <provider selected="true" editor-type-id="text-editor">
540
-        <state relative-caret-position="75">
541
-          <caret line="5" column="24" lean-forward="false" selection-start-line="5" selection-start-column="24" selection-end-line="5" selection-end-column="24" />
542
-          <folding />
536
+        <state relative-caret-position="285">
537
+          <caret line="19" lean-forward="true" selection-start-line="19" selection-end-line="19" />
538
+          <folding>
539
+            <element signature="imports" expanded="true" />
540
+          </folding>
543 541
         </state>
544 542
       </provider>
545 543
     </entry>
546
-    <entry file="file://$PROJECT_DIR$/.gitignore">
544
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
547 545
       <provider selected="true" editor-type-id="text-editor">
548
-        <state relative-caret-position="90">
549
-          <caret line="6" column="5" lean-forward="false" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
550
-          <folding />
546
+        <state relative-caret-position="150">
547
+          <caret line="10" column="50" selection-start-line="10" selection-start-column="50" selection-end-line="10" selection-end-column="50" />
551 548
         </state>
552 549
       </provider>
553 550
     </entry>
554
-    <entry file="file://$PROJECT_DIR$/README.md">
555
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
556
-        <state split_layout="SPLIT">
557
-          <first_editor relative-caret-position="285">
558
-            <caret line="19" column="27" lean-forward="false" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
559
-            <folding />
560
-          </first_editor>
561
-          <second_editor />
551
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
552
+      <provider selected="true" editor-type-id="text-editor">
553
+        <state relative-caret-position="225">
554
+          <caret line="15" selection-start-line="15" selection-end-line="15" />
555
+          <folding>
556
+            <element signature="e#444#445#0" expanded="true" />
557
+            <element signature="e#480#481#0" expanded="true" />
558
+            <element signature="e#564#565#0" expanded="true" />
559
+            <element signature="e#592#593#0" expanded="true" />
560
+          </folding>
562 561
         </state>
563 562
       </provider>
564 563
     </entry>
565
-    <entry file="file://$PROJECT_DIR$/pom.xml">
564
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
566 565
       <provider selected="true" editor-type-id="text-editor">
567
-        <state relative-caret-position="165">
568
-          <caret line="11" column="10" lean-forward="false" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
569
-          <folding />
566
+        <state relative-caret-position="15">
567
+          <caret line="53" column="15" selection-start-line="53" selection-start-column="15" selection-end-line="53" selection-end-column="15" />
568
+          <folding>
569
+            <element signature="imports" expanded="true" />
570
+          </folding>
571
+        </state>
572
+      </provider>
573
+    </entry>
574
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
575
+      <provider selected="true" editor-type-id="text-editor">
576
+        <state relative-caret-position="255">
577
+          <caret line="17" column="46" lean-forward="true" selection-start-line="17" selection-start-column="46" selection-end-line="17" selection-end-column="46" />
570 578
         </state>
571 579
       </provider>
572 580
     </entry>

+ 8
- 0
pom.xml Voir le fichier

@@ -7,6 +7,14 @@
7 7
     <groupId>com.zipcodewilmington</groupId>
8 8
     <artifactId>productmanager</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10
+    <dependencies>
11
+        <dependency>
12
+            <groupId>junit</groupId>
13
+            <artifactId>junit</artifactId>
14
+            <version>4.12</version>
15
+            <scope>test</scope>
16
+        </dependency>
17
+    </dependencies>
10 18
 
11 19
 
12 20
 </project>

+ 31
- 0
src/main/java/com/zipcodewilmington/productmanager/Inventory.java Voir le fichier

@@ -0,0 +1,31 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+import java.util.ArrayList;
4
+
5
+public class Inventory {
6
+
7
+
8
+    ArrayList<Product>inventoryList;
9
+    double inventoryValue;
10
+
11
+
12
+    public Inventory() {
13
+        this.inventoryList = new ArrayList<Product>();
14
+
15
+    }
16
+
17
+
18
+    public  void addProduct (Product product){
19
+        inventoryList.add(product);
20
+
21
+    }
22
+
23
+    public double getInventoryValue() {
24
+        double sum=0.0;
25
+        for (Product product : inventoryList){
26
+                       sum += product.getPrice() * product.getQuantity();
27
+                   }
28
+                  return sum;
29
+
30
+    }
31
+}

+ 25
- 1
src/main/java/com/zipcodewilmington/productmanager/MainApplication.java Voir le fichier

@@ -1,7 +1,31 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
+import javax.swing.*;
4
+
3 5
 /**
4 6
  * Created by leon on 1/10/18.
5 7
  */
6
-public class MainApplication {
8
+public class MainApplication  {
9
+    public static void main(String[] args) {
10
+
11
+        Product platano = new Product(1, 0.50, 200);
12
+        Product vacalao = new Product(2, 3.99, 50);
13
+        Product salami = new Product(3, 10.49, 100);
14
+        Product yuca = new Product(4, 2.99, 560);
15
+        Product batata = new Product(5, 1.98, 1000);
16
+        Inventory supermercado = new Inventory();
17
+
18
+
19
+        supermercado.addProduct(platano);
20
+        supermercado.addProduct(vacalao);
21
+        supermercado.addProduct(salami);
22
+        supermercado.addProduct(yuca);
23
+        supermercado.addProduct(batata);
24
+
25
+       System.out.println( supermercado.getInventoryValue());
26
+
27
+
28
+    }
29
+
7 30
 }
31
+

+ 37
- 0
src/main/java/com/zipcodewilmington/productmanager/Product.java Voir le fichier

@@ -4,4 +4,41 @@ package com.zipcodewilmington.productmanager;
4 4
  * Created by leon on 1/10/18.
5 5
  */
6 6
 public class Product {
7
+    private double price=0.0;
8
+    private int id;
9
+    private double quantity=0.0;
10
+    private String name="";
11
+
12
+    public Product(int id, double price, double quantity) {
13
+        this.price = price;
14
+        this.id = id;
15
+        this.quantity = quantity;
16
+
17
+    }
18
+
19
+
20
+
21
+    public double getPrice() {
22
+        return price;
23
+    }
24
+
25
+    public void setPrice(double price) {
26
+          this.price = price;
27
+    }
28
+
29
+    public int getId() {
30
+        return id;
31
+    }
32
+
33
+    public void setId(int id) {
34
+        this.id = id;
35
+    }
36
+
37
+    public double getQuantity() {
38
+        return quantity;
39
+    }
40
+
41
+    public void setQuantity(double quantity) {
42
+        this.quantity = quantity;
43
+    }
7 44
 }

+ 78
- 0
src/test/java/com/zipcodewilmington/productmanager/ProductTest.java Voir le fichier

@@ -1,7 +1,85 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
+import org.junit.Assert;
4
+import org.junit.Before;
5
+import org.junit.Test;
6
+
3 7
 /**
4 8
  * Created by leon on 1/10/18.
5 9
  */
6 10
 public class ProductTest {
11
+    @Test
12
+    public void testGetprice(){
13
+        //given
14
+        Product salami= new Product(1,2.99,200);
15
+         double expected = 2.99;
16
+         //when
17
+        double actual= salami.getPrice();
18
+        // then
19
+        Assert.assertEquals(expected, actual, 0.01);
20
+    }
21
+
22
+    @Test
23
+    public void testGetId(){
24
+        //given
25
+        Product salami= new Product(1,2.99,200);
26
+        double expected = 1;
27
+        //when
28
+        double actual= salami.getId();
29
+        // then
30
+        Assert.assertEquals(expected, actual, 0.01);
31
+    }
32
+
33
+    @Test
34
+    public void testGeQuantity(){
35
+        //given
36
+        Product salami= new Product(1,2.99,200);
37
+        double expected = 200;
38
+        //when
39
+        double actual= salami.getQuantity();
40
+        // then
41
+        Assert.assertEquals(expected, actual, 0.01);
42
+    }
43
+
44
+
45
+    @Test
46
+    public void tesSetprice(){
47
+        //given
48
+        Product salami= new Product(1,2.98,20);
49
+        double price =3.00;
50
+        salami.setPrice(price);
51
+
52
+        //when
53
+        double actual= salami.getPrice();
54
+        // then
55
+        Assert.assertEquals(price, actual, 0.01);
56
+    }
57
+    @Test
58
+    public void tesSetid(){
59
+        //given
60
+        Product salami= new Product(1,2.98,20);
61
+        int id =3;
62
+        salami.setId(id);
63
+
64
+        //when
65
+        double actual= salami.getId();
66
+        // then
67
+        Assert.assertEquals(id, actual, 0.01);
68
+    }
69
+
70
+    @Test
71
+    public void tesSetQuantity(){
72
+        //given
73
+        Product salami= new Product(1,2.98,20);
74
+        double quantity =300.00;
75
+        salami.setQuantity(quantity);
76
+
77
+        //when
78
+        double actual= salami.getQuantity();
79
+        // then
80
+        Assert.assertEquals(quantity, actual, 0.01);
81
+    }
82
+
83
+
84
+
7 85
 }