Selaa lähdekoodia

{jaejoson ProductManager Lab}

Jacqueline Joson 6 vuotta sitten
vanhempi
commit
0565182558

+ 2
- 0
.idea/compiler.xml Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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>

+ 447
- 389
.idea/workspace.xml Näytä tiedosto

@@ -1,78 +1,123 @@
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 beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
9
+      <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" />
10
+      <change beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" beforeDir="false" />
11
+      <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" />
12
+    </list>
5 13
     <ignored path="$PROJECT_DIR$/out/" />
6 14
     <ignored path="$PROJECT_DIR$/target/" />
7 15
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
-    <option name="TRACKING_ENABLED" value="true" />
9 16
     <option name="SHOW_DIALOG" value="false" />
10 17
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
11 18
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12 19
     <option name="LAST_RESOLUTION" value="IGNORE" />
13 20
   </component>
14
-  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
21
+  <component name="FUSProjectUsageTrigger">
22
+    <session id="-2018097525">
23
+      <usages-collector id="statistics.lifecycle.project">
24
+        <counts>
25
+          <entry key="project.closed" value="2" />
26
+          <entry key="project.open.time.1" value="2" />
27
+          <entry key="project.opened" value="2" />
28
+        </counts>
29
+      </usages-collector>
30
+      <usages-collector id="statistics.file.extensions.edit">
31
+        <counts>
32
+          <entry key="java" value="3974" />
33
+          <entry key="xml" value="8" />
34
+        </counts>
35
+      </usages-collector>
36
+      <usages-collector id="statistics.file.types.edit">
37
+        <counts>
38
+          <entry key="JAVA" value="3974" />
39
+          <entry key="XML" value="8" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.extensions.open">
43
+        <counts>
44
+          <entry key="java" value="3" />
45
+        </counts>
46
+      </usages-collector>
47
+      <usages-collector id="statistics.file.types.open">
48
+        <counts>
49
+          <entry key="JAVA" value="3" />
50
+        </counts>
51
+      </usages-collector>
52
+    </session>
53
+  </component>
15 54
   <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">
55
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
56
+      <file pinned="false" current-in-tab="false">
57
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
19 58
           <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 />
59
+            <state relative-caret-position="340">
60
+              <caret line="20" column="5" lean-forward="true" selection-start-line="20" selection-start-column="5" selection-end-line="20" selection-end-column="5" />
23 61
             </state>
24 62
           </provider>
25 63
         </entry>
26 64
       </file>
27
-      <file leaf-file-name="MainApplication.java" pinned="false" current-in-tab="false">
28
-        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
65
+      <file pinned="false" current-in-tab="false">
66
+        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
29 67
           <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 />
68
+            <state relative-caret-position="510">
69
+              <caret line="30" column="14" lean-forward="true" selection-start-line="30" selection-start-column="14" selection-end-line="30" selection-end-column="14" />
70
+              <folding>
71
+                <element signature="imports" expanded="true" />
72
+              </folding>
33 73
             </state>
34 74
           </provider>
35 75
         </entry>
36 76
       </file>
37
-      <file leaf-file-name="Product.java" pinned="false" current-in-tab="false">
77
+      <file pinned="false" current-in-tab="true">
38 78
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
39 79
           <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 />
80
+            <state relative-caret-position="238">
81
+              <caret line="14" column="27" lean-forward="true" selection-start-line="14" selection-start-column="27" selection-end-line="14" selection-end-column="27" />
82
+              <folding>
83
+                <element signature="e#390#391#0" expanded="true" />
84
+                <element signature="e#425#426#0" expanded="true" />
85
+                <element signature="e#458#459#0" expanded="true" />
86
+                <element signature="e#488#489#0" expanded="true" />
87
+                <element signature="e#529#530#0" expanded="true" />
88
+                <element signature="e#557#558#0" expanded="true" />
89
+                <element signature="e#599#600#0" expanded="true" />
90
+                <element signature="e#631#632#0" expanded="true" />
91
+                <element signature="e#710#711#0" expanded="true" />
92
+                <element signature="e#731#732#0" expanded="true" />
93
+                <element signature="e#764#765#0" expanded="true" />
94
+                <element signature="e#789#790#0" expanded="true" />
95
+                <element signature="e#826#827#0" expanded="true" />
96
+                <element signature="e#854#855#0" expanded="true" />
97
+                <element signature="e#887#888#0" expanded="true" />
98
+                <element signature="e#917#918#0" expanded="true" />
99
+              </folding>
43 100
             </state>
44 101
           </provider>
45 102
         </entry>
46 103
       </file>
47
-      <file leaf-file-name="ProductTest.java" pinned="false" current-in-tab="false">
48
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
104
+      <file pinned="false" current-in-tab="false">
105
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
49 106
           <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 />
107
+            <state relative-caret-position="-93">
108
+              <caret line="19" column="37" lean-forward="true" selection-start-line="19" selection-start-column="37" selection-end-line="19" selection-end-column="37" />
53 109
             </state>
54 110
           </provider>
55 111
         </entry>
56 112
       </file>
57
-      <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
58
-        <entry file="file://$PROJECT_DIR$/.gitignore">
113
+      <file pinned="false" current-in-tab="false">
114
+        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/TestInventory.java">
59 115
           <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 />
116
+            <state relative-caret-position="476">
117
+              <caret line="28" column="50" lean-forward="true" selection-start-line="28" selection-start-column="50" selection-end-line="28" selection-end-column="50" />
118
+              <folding>
119
+                <element signature="imports" expanded="true" />
120
+              </folding>
76 121
             </state>
77 122
           </provider>
78 123
         </entry>
@@ -89,151 +134,119 @@
89 134
   <component name="Git.Settings">
90 135
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
91 136
   </component>
92
-  <component name="GradleLocalSettings">
93
-    <option name="externalProjectsViewState">
94
-      <projects_view />
95
-    </option>
96
-  </component>
97 137
   <component name="IdeDocumentHistory">
98 138
     <option name="CHANGED_PATHS">
99 139
       <list>
100 140
         <option value="$PROJECT_DIR$/.gitignore" />
101 141
         <option value="$PROJECT_DIR$/README.md" />
102 142
         <option value="$PROJECT_DIR$/pom.xml" />
143
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" />
144
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/testInventory.java" />
145
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" />
146
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/TestInventory.java" />
147
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" />
148
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java" />
103 149
       </list>
104 150
     </option>
105 151
   </component>
106
-  <component name="ProjectFrameBounds">
152
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
153
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
154
+  <component name="JsGulpfileManager">
155
+    <detection-done>true</detection-done>
156
+    <sorting>DEFINITION_ORDER</sorting>
157
+  </component>
158
+  <component name="ProjectFrameBounds" extendedState="6">
159
+    <option name="x" value="20" />
107 160
     <option name="y" value="23" />
108
-    <option name="width" value="1920" />
109
-    <option name="height" value="1053" />
161
+    <option name="width" value="1260" />
162
+    <option name="height" value="711" />
110 163
   </component>
111 164
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
112 165
   <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 />
166
+    <navigator proportions="" version="1">
124 167
       <foldersAlwaysOnTop value="true" />
125 168
     </navigator>
126 169
     <panes>
170
+      <pane id="Scope" />
171
+      <pane id="PackagesPane" />
127 172
       <pane id="ProjectPane">
128 173
         <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>
174
+          <expand>
175
+            <path>
176
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
177
+              <item name="CR-MesoLabs-Inheritance-ProductManager" 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
+            </path>
184
+            <path>
185
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
186
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
187
+              <item name="src" type="462c0819:PsiDirectoryNode" />
188
+              <item name="main" type="462c0819:PsiDirectoryNode" />
189
+            </path>
190
+            <path>
191
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
192
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
193
+              <item name="src" type="462c0819:PsiDirectoryNode" />
194
+              <item name="main" type="462c0819:PsiDirectoryNode" />
195
+              <item name="java" type="462c0819:PsiDirectoryNode" />
196
+            </path>
197
+            <path>
198
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
199
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
200
+              <item name="src" type="462c0819:PsiDirectoryNode" />
201
+              <item name="main" type="462c0819:PsiDirectoryNode" />
202
+              <item name="java" type="462c0819:PsiDirectoryNode" />
203
+              <item name="productmanager" type="462c0819:PsiDirectoryNode" />
204
+            </path>
205
+            <path>
206
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
207
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
208
+              <item name="src" type="462c0819:PsiDirectoryNode" />
209
+              <item name="test" type="462c0819:PsiDirectoryNode" />
210
+            </path>
211
+            <path>
212
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
213
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
214
+              <item name="src" type="462c0819:PsiDirectoryNode" />
215
+              <item name="test" type="462c0819:PsiDirectoryNode" />
216
+              <item name="java" type="462c0819:PsiDirectoryNode" />
217
+            </path>
218
+            <path>
219
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
220
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
221
+              <item name="src" type="462c0819:PsiDirectoryNode" />
222
+              <item name="test" type="462c0819:PsiDirectoryNode" />
223
+              <item name="java" type="462c0819:PsiDirectoryNode" />
224
+              <item name="productmanager" type="462c0819:PsiDirectoryNode" />
225
+            </path>
226
+            <path>
227
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
228
+              <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
229
+            </path>
230
+          </expand>
231
+          <select />
225 232
         </subPane>
226 233
       </pane>
227
-      <pane id="Scope" />
228
-      <pane id="Scratches" />
229
-      <pane id="PackagesPane" />
230 234
     </panes>
231 235
   </component>
232 236
   <component name="PropertiesComponent">
233
-    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
237
+    <property name="WebServerToolWindowFactoryState" value="false" />
238
+    <property name="aspect.path.notification.shown" value="true" />
239
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1540588983838" />
240
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
234 241
     <property name="project.structure.last.edited" value="Project" />
235 242
     <property name="project.structure.proportion" value="0.0" />
236 243
     <property name="project.structure.side.proportion" value="0.2" />
244
+    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
245
+  </component>
246
+  <component name="RecentsManager">
247
+    <key name="CreateClassDialog.RecentsKey">
248
+      <recent name="com.zipcodewilmington.productmanager" />
249
+    </key>
237 250
   </component>
238 251
   <component name="RunDashboard">
239 252
     <option name="ruleStates">
@@ -247,42 +260,7 @@
247 260
       </list>
248 261
     </option>
249 262
   </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>
263
+  <component name="RunManager" selected="Application.MainApplication">
286 264
     <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
287 265
       <module name="" />
288 266
       <option name="TESTING_TYPE" value="0" />
@@ -310,164 +288,164 @@
310 288
       </Profilers>
311 289
       <method />
312 290
     </configuration>
291
+    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
292
+      <setting name="environment" value="" />
293
+      <setting name="specsToExecute" value="" />
294
+      <setting name="tags" value="" />
295
+      <setting name="parallelNodes" value="" />
296
+      <setting name="execInParallel" value="false" />
297
+      <setting name="programParameters" value="" />
298
+      <setting name="workingDirectory" value="" />
299
+      <setting name="moduleName" value="" />
300
+      <envMap />
301
+      <setting name="rowsRange" value="" />
302
+      <method />
303
+    </configuration>
313 304
     <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 305
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
318
-      <module />
319
-      <method />
306
+      <method v="2">
307
+        <option name="Make" enabled="true" />
308
+      </method>
309
+    </configuration>
310
+    <configuration name="MainApplication" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
311
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.MainApplication" />
312
+      <module name="productmanager" />
313
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
314
+      <extension name="coverage">
315
+        <pattern>
316
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
317
+          <option name="ENABLED" value="true" />
318
+        </pattern>
319
+      </extension>
320
+      <method v="2">
321
+        <option name="Make" enabled="true" />
322
+      </method>
320 323
     </configuration>
321 324
     <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 325
       <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 />
326
+      <method v="2">
327
+        <option name="Make" enabled="true" />
328
+      </method>
335 329
     </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 />
330
+    <configuration name="ProductTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
331
+      <module name="productmanager" />
332
+      <extension name="coverage">
333
+        <pattern>
334
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
335
+          <option name="ENABLED" value="true" />
336
+        </pattern>
337
+      </extension>
338
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
339
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
340
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
341
+      <method v="2">
342
+        <option name="Make" enabled="true" />
343
+      </method>
351 344
     </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" />
345
+    <configuration name="ProductTest.testGetSetName" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
346
+      <module name="productmanager" />
347
+      <extension name="coverage">
348
+        <pattern>
349
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
350
+          <option name="ENABLED" value="true" />
351
+        </pattern>
352
+      </extension>
353
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
354
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
355
+      <option name="METHOD_NAME" value="testGetSetName" />
356
+      <option name="TEST_OBJECT" value="method" />
363 357
       <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 />
358
+      <method v="2">
359
+        <option name="Make" enabled="true" />
360
+      </method>
372 361
     </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 />
362
+    <configuration name="TestInventory" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
363
+      <module name="productmanager" />
364
+      <extension name="coverage">
365
+        <pattern>
366
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
367
+          <option name="ENABLED" value="true" />
368
+        </pattern>
369
+      </extension>
370
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
371
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.TestInventory" />
372
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
373
+      <method v="2">
374
+        <option name="Make" enabled="true" />
375
+      </method>
377 376
     </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 />
377
+    <configuration name="TestInventory.totalValueTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
378
+      <module name="productmanager" />
379
+      <extension name="coverage">
380
+        <pattern>
381
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
382
+          <option name="ENABLED" value="true" />
383
+        </pattern>
384
+      </extension>
385
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
386
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.TestInventory" />
387
+      <option name="METHOD_NAME" value="totalValueTest" />
388
+      <option name="TEST_OBJECT" value="method" />
389
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
390
+      <method v="2">
391
+        <option name="Make" enabled="true" />
392
+      </method>
393
+    </configuration>
394
+    <configuration default="true" type="JUnit" factoryName="JUnit">
395
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
396
+      <method v="2">
397
+        <option name="Make" enabled="true" />
398
+      </method>
393 399
     </configuration>
394 400
     <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" />
401
+      <module name="bankaccountlab" />
397 402
       <option name="VM_PARAMETERS" />
398 403
       <option name="PROGRAM_PARAMETERS" />
399
-      <option name="WORKING_DIRECTORY" />
400 404
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
401 405
       <option name="ALTERNATIVE_JRE_PATH" />
402 406
       <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 />
407
+      <option name="MAIN_CLASS_NAME" />
408
+      <option name="WORKING_DIRECTORY" />
409
+      <method v="2">
410
+        <option name="Make" enabled="true" />
411
+      </method>
426 412
     </configuration>
427 413
     <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 414
       <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 415
       <properties />
452 416
       <listeners />
453
-      <method />
417
+      <method v="2">
418
+        <option name="Make" enabled="true" />
419
+      </method>
454 420
     </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 />
421
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
422
+      <module name="" />
423
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
424
+      <option name="PROGRAM_PARAMETERS" />
425
+      <predefined_log_file id="idea.log" enabled="true" />
426
+      <method v="2">
427
+        <option name="Make" enabled="true" />
428
+      </method>
467 429
     </configuration>
430
+    <list>
431
+      <item itemvalue="JUnit.ProductTest.testGetSetName" />
432
+      <item itemvalue="JUnit.ProductTest" />
433
+      <item itemvalue="JUnit.TestInventory" />
434
+      <item itemvalue="JUnit.TestInventory.totalValueTest" />
435
+      <item itemvalue="Application.MainApplication" />
436
+    </list>
437
+    <recent_temporary>
438
+      <list>
439
+        <item itemvalue="Application.MainApplication" />
440
+        <item itemvalue="JUnit.TestInventory.totalValueTest" />
441
+        <item itemvalue="JUnit.TestInventory" />
442
+        <item itemvalue="JUnit.ProductTest" />
443
+        <item itemvalue="JUnit.ProductTest.testGetSetName" />
444
+      </list>
445
+    </recent_temporary>
468 446
   </component>
469
-  <component name="ShelveChangesManager" show_recycled="false">
470
-    <option name="remove_strategy" value="false" />
447
+  <component name="SvnConfiguration">
448
+    <configuration />
471 449
   </component>
472 450
   <component name="TaskManager">
473 451
     <task active="true" id="Default" summary="Default task">
@@ -476,97 +454,177 @@
476 454
       <option name="number" value="Default" />
477 455
       <option name="presentableId" value="Default" />
478 456
       <updated>1515620835041</updated>
457
+      <workItem from="1540500048934" duration="497000" />
458
+      <workItem from="1540575162923" duration="12865000" />
479 459
     </task>
480 460
     <servers />
481 461
   </component>
462
+  <component name="TestHistory">
463
+    <history-entry file="ProductTest - 2018.10.26 at 16h 22m 53s.xml">
464
+      <configuration name="ProductTest" configurationId="JUnit" />
465
+    </history-entry>
466
+    <history-entry file="TestInventory - 2018.10.26 at 16h 23m 18s.xml">
467
+      <configuration name="TestInventory" configurationId="JUnit" />
468
+    </history-entry>
469
+    <history-entry file="TestInventory - 2018.10.26 at 16h 23m 44s.xml">
470
+      <configuration name="TestInventory" configurationId="JUnit" />
471
+    </history-entry>
472
+    <history-entry file="TestInventory - 2018.10.26 at 16h 24m 04s.xml">
473
+      <configuration name="TestInventory" configurationId="JUnit" />
474
+    </history-entry>
475
+    <history-entry file="TestInventory - 2018.10.26 at 16h 38m 33s.xml">
476
+      <configuration name="TestInventory" configurationId="JUnit" />
477
+    </history-entry>
478
+    <history-entry file="TestInventory_totalValueTest - 2018.10.26 at 17h 00m 36s.xml">
479
+      <configuration name="TestInventory.totalValueTest" configurationId="JUnit" />
480
+    </history-entry>
481
+    <history-entry file="TestInventory_totalValueTest - 2018.10.26 at 17h 02m 37s.xml">
482
+      <configuration name="TestInventory.totalValueTest" configurationId="JUnit" />
483
+    </history-entry>
484
+    <history-entry file="TestInventory_totalValueTest - 2018.10.26 at 17h 05m 48s.xml">
485
+      <configuration name="TestInventory.totalValueTest" configurationId="JUnit" />
486
+    </history-entry>
487
+    <history-entry file="TestInventory_totalValueTest - 2018.10.26 at 17h 07m 07s.xml">
488
+      <configuration name="TestInventory.totalValueTest" configurationId="JUnit" />
489
+    </history-entry>
490
+    <history-entry file="TestInventory_totalValueTest - 2018.10.26 at 17h 17m 06s.xml">
491
+      <configuration name="TestInventory.totalValueTest" configurationId="JUnit" />
492
+    </history-entry>
493
+  </component>
494
+  <component name="TimeTrackingManager">
495
+    <option name="totallyTimeSpent" value="13362000" />
496
+  </component>
497
+  <component name="TodoView">
498
+    <todo-panel id="selected-file">
499
+      <is-autoscroll-to-source value="true" />
500
+    </todo-panel>
501
+    <todo-panel id="all">
502
+      <are-packages-shown value="true" />
503
+      <is-autoscroll-to-source value="true" />
504
+    </todo-panel>
505
+  </component>
482 506
   <component name="ToolWindowManager">
483
-    <frame x="0" y="23" width="1920" height="1053" extended-state="6" />
507
+    <frame x="0" y="23" width="1280" height="712" extended-state="6" />
484 508
     <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" />
509
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25767368" />
510
+      <window_info id="Structure" order="1" weight="0.25" />
511
+      <window_info id="Nl-Palette" order="2" />
512
+      <window_info id="Favorites" order="3" side_tool="true" />
513
+      <window_info id="Image Layers" order="4" />
514
+      <window_info id="Designer" order="5" />
515
+      <window_info id="UI Designer" order="6" />
516
+      <window_info id="Capture Tool" order="7" />
517
+      <window_info anchor="bottom" id="Message" order="0" />
518
+      <window_info anchor="bottom" id="Find" order="1" />
519
+      <window_info anchor="bottom" id="Run" order="2" sideWeight="0.49919224" weight="0.32903227" />
520
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
521
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
522
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
523
+      <window_info anchor="bottom" id="TODO" order="6" weight="0.32903227" />
524
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.2467742" />
525
+      <window_info anchor="bottom" id="Event Log" order="8" sideWeight="0.50080776" side_tool="true" weight="0.32903227" />
526
+      <window_info anchor="bottom" id="Version Control" order="9" />
527
+      <window_info anchor="bottom" id="Messages" order="10" weight="0.32419354" />
528
+      <window_info anchor="bottom" id="Database Changes" order="11" show_stripe_button="false" />
529
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
530
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
531
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
532
+      <window_info anchor="right" id="Palette" order="3" />
533
+      <window_info anchor="right" id="Capture Analysis" order="4" />
534
+      <window_info anchor="right" id="Theme Preview" order="5" />
535
+      <window_info anchor="right" id="Properties" order="6" />
536
+      <window_info anchor="right" id="Palette&#9;" order="7" />
537
+      <window_info anchor="right" id="Maven Projects" order="8" />
538
+      <window_info anchor="right" id="Database" order="9" />
512 539
     </layout>
513 540
   </component>
541
+  <component name="TypeScriptGeneratedFilesManager">
542
+    <option name="version" value="1" />
543
+  </component>
514 544
   <component name="VcsContentAnnotationSettings">
515 545
     <option name="myLimit" value="2678400000" />
516 546
   </component>
517
-  <component name="XDebuggerManager">
518
-    <breakpoint-manager />
519
-    <watches-manager />
520
-  </component>
521 547
   <component name="editorHistoryManager">
522
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
548
+    <entry file="file://$PROJECT_DIR$/pom.xml">
523 549
       <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 />
550
+        <state relative-caret-position="340">
551
+          <caret line="20" column="10" selection-start-line="20" selection-start-column="10" selection-end-line="20" selection-end-column="10" />
527 552
         </state>
528 553
       </provider>
529 554
     </entry>
530
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
555
+    <entry file="file://$PROJECT_DIR$/README.md">
556
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
557
+        <state split_layout="SPLIT">
558
+          <first_editor relative-caret-position="323">
559
+            <caret line="19" column="27" selection-start-line="19" selection-start-column="27" selection-end-line="19" selection-end-column="27" />
560
+          </first_editor>
561
+          <second_editor />
562
+        </state>
563
+      </provider>
564
+    </entry>
565
+    <entry file="file://$PROJECT_DIR$/.gitignore">
531 566
       <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 />
567
+        <state relative-caret-position="102">
568
+          <caret line="6" column="5" selection-start-line="6" selection-start-column="5" selection-end-line="6" selection-end-column="5" />
535 569
         </state>
536 570
       </provider>
537 571
     </entry>
538
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
572
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
539 573
       <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 />
574
+        <state relative-caret-position="340">
575
+          <caret line="20" column="5" lean-forward="true" selection-start-line="20" selection-start-column="5" selection-end-line="20" selection-end-column="5" />
543 576
         </state>
544 577
       </provider>
545 578
     </entry>
546
-    <entry file="file://$PROJECT_DIR$/.gitignore">
579
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
547 580
       <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 />
581
+        <state relative-caret-position="-93">
582
+          <caret line="19" column="37" lean-forward="true" selection-start-line="19" selection-start-column="37" selection-end-line="19" selection-end-column="37" />
551 583
         </state>
552 584
       </provider>
553 585
     </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 />
586
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
587
+      <provider selected="true" editor-type-id="text-editor">
588
+        <state relative-caret-position="510">
589
+          <caret line="30" column="14" lean-forward="true" selection-start-line="30" selection-start-column="14" selection-end-line="30" selection-end-column="14" />
590
+          <folding>
591
+            <element signature="imports" expanded="true" />
592
+          </folding>
562 593
         </state>
563 594
       </provider>
564 595
     </entry>
565
-    <entry file="file://$PROJECT_DIR$/pom.xml">
596
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/TestInventory.java">
597
+      <provider selected="true" editor-type-id="text-editor">
598
+        <state relative-caret-position="476">
599
+          <caret line="28" column="50" lean-forward="true" selection-start-line="28" selection-start-column="50" selection-end-line="28" selection-end-column="50" />
600
+          <folding>
601
+            <element signature="imports" expanded="true" />
602
+          </folding>
603
+        </state>
604
+      </provider>
605
+    </entry>
606
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
566 607
       <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 />
608
+        <state relative-caret-position="238">
609
+          <caret line="14" column="27" lean-forward="true" selection-start-line="14" selection-start-column="27" selection-end-line="14" selection-end-column="27" />
610
+          <folding>
611
+            <element signature="e#390#391#0" expanded="true" />
612
+            <element signature="e#425#426#0" expanded="true" />
613
+            <element signature="e#458#459#0" expanded="true" />
614
+            <element signature="e#488#489#0" expanded="true" />
615
+            <element signature="e#529#530#0" expanded="true" />
616
+            <element signature="e#557#558#0" expanded="true" />
617
+            <element signature="e#599#600#0" expanded="true" />
618
+            <element signature="e#631#632#0" expanded="true" />
619
+            <element signature="e#710#711#0" expanded="true" />
620
+            <element signature="e#731#732#0" expanded="true" />
621
+            <element signature="e#764#765#0" expanded="true" />
622
+            <element signature="e#789#790#0" expanded="true" />
623
+            <element signature="e#826#827#0" expanded="true" />
624
+            <element signature="e#854#855#0" expanded="true" />
625
+            <element signature="e#887#888#0" expanded="true" />
626
+            <element signature="e#917#918#0" expanded="true" />
627
+          </folding>
570 628
         </state>
571 629
       </provider>
572 630
     </entry>

+ 9
- 0
pom.xml Näytä tiedosto

@@ -8,5 +8,14 @@
8 8
     <artifactId>productmanager</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10 10
 
11
+    <dependencies>
12
+        <!-- https://mvnrepository.com/artifact/junit/junit -->
13
+        <dependency>
14
+            <groupId>junit</groupId>
15
+            <artifactId>junit</artifactId>
16
+            <version>4.12</version>
17
+            <scope>test</scope>
18
+        </dependency>
19
+    </dependencies>
11 20
 
12 21
 </project>

+ 35
- 0
src/main/java/com/zipcodewilmington/productmanager/Inventory.java Näytä tiedosto

@@ -0,0 +1,35 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+public class Inventory {
4
+
5
+    public Inventory(Product... products) {
6
+
7
+    }
8
+
9
+   /* public int increaseQuantity(Product product, int numberSold) {
10
+        int newQuantity = (product.getQuantity()  numberSold);
11
+        product.setQuantity(newQuantity);
12
+        return product.getQuantity();
13
+        }
14
+        */
15
+
16
+
17
+    public int decreaseQuantity(Product product, int numberSold) {
18
+        int newQuantity = (product.getQuantity() - numberSold);
19
+        product.setQuantity(newQuantity);
20
+        return product.getQuantity();
21
+    }
22
+
23
+    public double totalValue(Product [] array) {
24
+        double total = 0;
25
+        double sumOfValues = 0;
26
+        for (int i = 0; i < array.length; i++) {
27
+            total = array[i].getPrice() * array[i].getQuantity();
28
+            sumOfValues += total;
29
+        }
30
+            System.out.print("Total value of inventory" + " = " + sumOfValues);
31
+            return sumOfValues;
32
+    }
33
+
34
+}
35
+

+ 20
- 0
src/main/java/com/zipcodewilmington/productmanager/MainApplication.java Näytä tiedosto

@@ -1,7 +1,27 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
+import com.sun.tools.javap.TypeAnnotationWriter;
4
+
3 5
 /**
4 6
  * Created by leon on 1/10/18.
5 7
  */
6 8
 public class MainApplication {
9
+
10
+    public static void main(String[] args) {
11
+        Product Pens = new Product("Papermate Pens", 1, 5, 1);
12
+        Product Notebook = new Product("Fancy-Behind Notebook", 2, 2, 2);
13
+        Product Paper = new Product("Stationary", 3, 1, 1);
14
+        Product Cards = new Product("Greeting Cards", 4, 1, 2);
15
+
16
+        Product[] Stationary = {Pens, Notebook, Paper, Cards};
17
+
18
+        Inventory inventory = new Inventory();
19
+
20
+        inventory.totalValue(Stationary);
21
+    }
22
+
23
+
7 24
 }
25
+
26
+
27
+

+ 45
- 3
src/main/java/com/zipcodewilmington/productmanager/Product.java Näytä tiedosto

@@ -1,7 +1,49 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
-/**
4
- * Created by leon on 1/10/18.
5
- */
6 3
 public class Product {
4
+    private String name;
5
+    private int productId;
6
+    private double price;
7
+    private int quantity;
8
+
9
+
10
+
11
+    public Product (String itemName, int id, double cost, int count) {
12
+        setName(itemName);
13
+        setID(id);
14
+        setPrice(cost);
15
+        setQuantity(count);
16
+    }
17
+
18
+    //Set product things
19
+    public void setName(String itemName){
20
+            name = itemName;
21
+    }
22
+    public void setID(int id) {
23
+        productId = id;
24
+    }
25
+    public void setPrice(double cost) {
26
+        price = cost;
27
+    }
28
+    public void setQuantity(int count) {
29
+        quantity = count;
30
+    }
31
+
32
+
33
+    //get product things
34
+
35
+    public String getName() {
36
+        return name;
37
+    }
38
+    public int getID() {
39
+        return productId;
40
+    }
41
+    public double getPrice() {
42
+        return price;
43
+    }
44
+    public int getQuantity() {
45
+        return quantity;
46
+    }
7 47
 }
48
+
49
+

+ 62
- 0
src/test/java/com/zipcodewilmington/productmanager/ProductTest.java Näytä tiedosto

@@ -1,7 +1,69 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
3 6
 /**
4 7
  * Created by leon on 1/10/18.
5 8
  */
6 9
 public class ProductTest {
10
+
11
+    @Test
12
+    public void testGetSetName() {
13
+        //Given
14
+        Product product = new Product("Apple", 1, 8.00, 5);
15
+        String ExpectedOutput = "Apple";
16
+
17
+        //when
18
+        product.setName(ExpectedOutput);
19
+        String actualName = product.getName();
20
+
21
+        //then
22
+        Assert.assertEquals(ExpectedOutput, actualName);
23
+    }
24
+
25
+    @Test
26
+    public void testGetSetId() {
27
+        //Given
28
+        Product product = new Product("Apple", 1, 8.00, 5);
29
+        int ExpectedOutput = 1;
30
+
31
+        //when
32
+        product.setID(ExpectedOutput);
33
+        int actualId = product.getID();
34
+
35
+        //then
36
+        Assert.assertEquals(ExpectedOutput, actualId);
37
+    }
38
+
39
+    @Test
40
+    public void testGetSetPrice() {
41
+
42
+        //Given
43
+        Product product = new Product("Apple", 1, 8.00, 5);
44
+        double ExpectedOutcome = 8.00;
45
+
46
+        //when
47
+        product.setPrice(ExpectedOutcome);
48
+        double actualPrice = product.getPrice();
49
+
50
+        //then
51
+        Assert.assertEquals(ExpectedOutcome, actualPrice, 0.001);
52
+
53
+    }
54
+    @Test
55
+    public void testGetSetQuantity() {
56
+
57
+        //Given
58
+        Product product = new Product("Apple", 1, 8.00, 5);
59
+        int ExpectedOutcome = 5;
60
+
61
+        //when
62
+        product.setQuantity(ExpectedOutcome);
63
+        int actualQuantity = product.getQuantity();
64
+
65
+        //then
66
+        Assert.assertEquals(ExpectedOutcome, actualQuantity, 0.001);
67
+
68
+    }
7 69
 }

+ 39
- 0
src/test/java/com/zipcodewilmington/productmanager/TestInventory.java Näytä tiedosto

@@ -0,0 +1,39 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+public class TestInventory {
7
+    @Test
8
+    public void decreaseQuantityAndSet() {
9
+        //Given
10
+        int numberSold = 2;
11
+        Product product = new Product("Apple", 1, 8.00, 5);
12
+        Inventory inventory = new Inventory(product);
13
+        int expectedOutcome = product.getQuantity() - numberSold;
14
+
15
+        //when
16
+        inventory.decreaseQuantity(product, numberSold);
17
+        int actualQuantity = product.getQuantity();
18
+
19
+        //then
20
+        Assert.assertEquals(expectedOutcome, actualQuantity);
21
+    }
22
+
23
+    @Test
24
+    public void totalValueTest() {
25
+        //Given
26
+
27
+        Product product = new Product("Apple", 1, 1.00, 1);
28
+        Product Pens = new Product("PaperMate Pens", 1, 1.00, 1);
29
+        Product [] testProducts = {product, Pens};
30
+        Inventory inventory = new Inventory();
31
+        double expectedOutcome = 2;
32
+
33
+        //when
34
+        double actualTotal = inventory.totalValue(testProducts);
35
+
36
+        //then
37
+        Assert.assertEquals(expectedOutcome, actualTotal, .001);
38
+    }
39
+}