#35 Completed lab

otevřený
Xcuello chce sloučit 2 revizí z větve Xcuello/CR-MesoLabs-Inheritance-ProductManager:master do větve master

+ 2
- 0
.idea/compiler.xml Zobrazit soubor

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

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

@@ -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
- 1
.idea/modules.xml Zobrazit soubor

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

+ 409
- 389
.idea/workspace.xml Zobrazit soubor

@@ -1,78 +1,111 @@
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/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
+    </list>
5 7
     <ignored path="$PROJECT_DIR$/out/" />
6 8
     <ignored path="$PROJECT_DIR$/target/" />
7 9
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
-    <option name="TRACKING_ENABLED" value="true" />
9 10
     <option name="SHOW_DIALOG" value="false" />
10 11
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
11 12
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12 13
     <option name="LAST_RESOLUTION" value="IGNORE" />
13 14
   </component>
14
-  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
15
+  <component name="FUSProjectUsageTrigger">
16
+    <session id="-1546935440">
17
+      <usages-collector id="statistics.lifecycle.project">
18
+        <counts>
19
+          <entry key="project.closed" value="35" />
20
+          <entry key="project.open.time.0" value="2" />
21
+          <entry key="project.open.time.1" value="29" />
22
+          <entry key="project.open.time.11" value="1" />
23
+          <entry key="project.open.time.2" value="2" />
24
+          <entry key="project.open.time.7" value="1" />
25
+          <entry key="project.opened" value="35" />
26
+        </counts>
27
+      </usages-collector>
28
+      <usages-collector id="statistics.file.extensions.edit">
29
+        <counts>
30
+          <entry key="java" value="3537" />
31
+        </counts>
32
+      </usages-collector>
33
+      <usages-collector id="statistics.file.types.edit">
34
+        <counts>
35
+          <entry key="JAVA" value="3537" />
36
+        </counts>
37
+      </usages-collector>
38
+      <usages-collector id="statistics.file.extensions.open">
39
+        <counts>
40
+          <entry key="java" value="3" />
41
+        </counts>
42
+      </usages-collector>
43
+      <usages-collector id="statistics.file.types.open">
44
+        <counts>
45
+          <entry key="JAVA" value="3" />
46
+        </counts>
47
+      </usages-collector>
48
+      <usages-collector id="statistics.spring.boot.mvc.usages" />
49
+      <usages-collector id="statistics.spring.boot.run.usages" />
50
+      <usages-collector id="statistics.js.language.service.starts" />
51
+      <usages-collector id="statistics.vcs.git.usages" />
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="240">
60
+              <caret line="16" column="57" selection-start-line="16" selection-start-column="57" selection-end-line="16" selection-end-column="57" />
61
+              <folding>
62
+                <element signature="imports" expanded="true" />
63
+              </folding>
23 64
             </state>
24 65
           </provider>
25 66
         </entry>
26 67
       </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">
68
+      <file pinned="false" current-in-tab="false">
69
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
29 70
           <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 />
71
+            <state relative-caret-position="435">
72
+              <caret line="29" column="45" selection-start-line="29" selection-start-column="45" selection-end-line="29" selection-end-column="45" />
73
+              <folding>
74
+                <element signature="imports" expanded="true" />
75
+              </folding>
33 76
             </state>
34 77
           </provider>
35 78
         </entry>
36 79
       </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">
80
+      <file pinned="false" current-in-tab="false">
81
+        <entry file="file://$PROJECT_DIR$/src/test/java/InventoryTest.java">
39 82
           <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 />
83
+            <state relative-caret-position="1590">
84
+              <caret line="106" column="23" selection-start-line="106" selection-start-column="23" selection-end-line="106" selection-end-column="23" />
85
+              <folding>
86
+                <element signature="imports" expanded="true" />
87
+              </folding>
43 88
             </state>
44 89
           </provider>
45 90
         </entry>
46 91
       </file>
47
-      <file leaf-file-name="ProductTest.java" pinned="false" current-in-tab="false">
92
+      <file pinned="false" current-in-tab="false">
48 93
         <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
49 94
           <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 />
95
+            <state relative-caret-position="510">
96
+              <caret line="35" column="60" selection-start-line="35" selection-start-column="38" selection-end-line="35" selection-end-column="60" />
97
+              <folding>
98
+                <element signature="imports" expanded="true" />
99
+              </folding>
53 100
             </state>
54 101
           </provider>
55 102
         </entry>
56 103
       </file>
57
-      <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
58
-        <entry file="file://$PROJECT_DIR$/.gitignore">
104
+      <file pinned="false" current-in-tab="true">
105
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
59 106
           <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 />
107
+            <state relative-caret-position="735">
108
+              <caret line="49" column="24" lean-forward="true" selection-start-line="49" selection-start-column="24" selection-end-line="49" selection-end-column="24" />
76 109
             </state>
77 110
           </provider>
78 111
         </entry>
@@ -89,151 +122,111 @@
89 122
   <component name="Git.Settings">
90 123
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
91 124
   </component>
92
-  <component name="GradleLocalSettings">
93
-    <option name="externalProjectsViewState">
94
-      <projects_view />
95
-    </option>
96
-  </component>
97 125
   <component name="IdeDocumentHistory">
98 126
     <option name="CHANGED_PATHS">
99 127
       <list>
100 128
         <option value="$PROJECT_DIR$/.gitignore" />
101 129
         <option value="$PROJECT_DIR$/README.md" />
102 130
         <option value="$PROJECT_DIR$/pom.xml" />
131
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java" />
132
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java" />
133
+        <option value="$PROJECT_DIR$/src/test/java/InventoryTest.java" />
134
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java" />
135
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java" />
103 136
       </list>
104 137
     </option>
105 138
   </component>
106
-  <component name="ProjectFrameBounds">
139
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
140
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
141
+  <component name="JsGulpfileManager">
142
+    <detection-done>true</detection-done>
143
+    <sorting>DEFINITION_ORDER</sorting>
144
+  </component>
145
+  <component name="MavenImportPreferences">
146
+    <option name="importingSettings">
147
+      <MavenImportingSettings>
148
+        <option name="importAutomatically" value="true" />
149
+      </MavenImportingSettings>
150
+    </option>
151
+  </component>
152
+  <component name="ProjectFrameBounds" extendedState="6">
107 153
     <option name="y" value="23" />
108
-    <option name="width" value="1920" />
109
-    <option name="height" value="1053" />
154
+    <option name="width" value="1280" />
155
+    <option name="height" value="707" />
110 156
   </component>
111 157
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
112 158
   <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 />
159
+    <navigator proportions="" version="1">
124 160
       <foldersAlwaysOnTop value="true" />
125 161
     </navigator>
126 162
     <panes>
163
+      <pane id="Scope" />
164
+      <pane id="PackagesPane" />
127 165
       <pane id="ProjectPane">
128 166
         <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>
167
+          <expand>
168
+            <path>
169
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
170
+              <item name="CR-MesoLabs-Inheritance-ProductManager" 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
+            </path>
177
+            <path>
178
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
179
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
180
+              <item name="src" type="462c0819:PsiDirectoryNode" />
181
+              <item name="main" type="462c0819:PsiDirectoryNode" />
182
+            </path>
183
+            <path>
184
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
185
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
186
+              <item name="src" type="462c0819:PsiDirectoryNode" />
187
+              <item name="main" type="462c0819:PsiDirectoryNode" />
188
+              <item name="java" 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
+              <item name="productmanager" type="462c0819:PsiDirectoryNode" />
197
+            </path>
198
+            <path>
199
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
200
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
201
+              <item name="src" type="462c0819:PsiDirectoryNode" />
202
+              <item name="test" type="462c0819:PsiDirectoryNode" />
203
+            </path>
204
+            <path>
205
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
206
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="462c0819:PsiDirectoryNode" />
207
+              <item name="src" type="462c0819:PsiDirectoryNode" />
208
+              <item name="test" type="462c0819:PsiDirectoryNode" />
209
+              <item name="java" type="462c0819:PsiDirectoryNode" />
210
+            </path>
211
+            <path>
212
+              <item name="CR-MesoLabs-Inheritance-ProductManager" type="b2602c69:ProjectViewProjectNode" />
213
+              <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
214
+            </path>
215
+          </expand>
216
+          <select />
225 217
         </subPane>
226 218
       </pane>
227
-      <pane id="Scope" />
228
-      <pane id="Scratches" />
229
-      <pane id="PackagesPane" />
230 219
     </panes>
231 220
   </component>
232 221
   <component name="PropertiesComponent">
233
-    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
222
+    <property name="WebServerToolWindowFactoryState" value="false" />
223
+    <property name="aspect.path.notification.shown" value="true" />
224
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542224855153" />
225
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
234 226
     <property name="project.structure.last.edited" value="Project" />
235 227
     <property name="project.structure.proportion" value="0.0" />
236 228
     <property name="project.structure.side.proportion" value="0.2" />
229
+    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
237 230
   </component>
238 231
   <component name="RunDashboard">
239 232
     <option name="ruleStates">
@@ -247,42 +240,7 @@
247 240
       </list>
248 241
     </option>
249 242
   </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>
243
+  <component name="RunManager" selected="JUnit.ProductTest">
286 244
     <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
287 245
       <module name="" />
288 246
       <option name="TESTING_TYPE" value="0" />
@@ -310,164 +268,131 @@
310 268
       </Profilers>
311 269
       <method />
312 270
     </configuration>
271
+    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
272
+      <setting name="environment" value="" />
273
+      <setting name="specsToExecute" value="" />
274
+      <setting name="tags" value="" />
275
+      <setting name="parallelNodes" value="" />
276
+      <setting name="execInParallel" value="false" />
277
+      <setting name="programParameters" value="" />
278
+      <setting name="workingDirectory" value="" />
279
+      <setting name="moduleName" value="" />
280
+      <envMap />
281
+      <setting name="rowsRange" value="" />
282
+      <method />
283
+    </configuration>
313 284
     <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 285
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
318
-      <module />
319
-      <method />
286
+      <method v="2">
287
+        <option name="Make" enabled="true" />
288
+      </method>
320 289
     </configuration>
321 290
     <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 291
       <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 />
292
+      <method v="2">
293
+        <option name="Make" enabled="true" />
294
+      </method>
335 295
     </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 />
296
+    <configuration name="ProductTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
297
+      <module name="productmanager" />
298
+      <extension name="coverage">
299
+        <pattern>
300
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
301
+          <option name="ENABLED" value="true" />
302
+        </pattern>
303
+      </extension>
304
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
305
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
306
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
307
+      <method v="2">
308
+        <option name="Make" enabled="true" />
309
+      </method>
351 310
     </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" />
311
+    <configuration name="ProductTest.getPriceTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
312
+      <module name="productmanager" />
313
+      <extension name="coverage">
314
+        <pattern>
315
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
316
+          <option name="ENABLED" value="true" />
317
+        </pattern>
318
+      </extension>
319
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
320
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
321
+      <option name="METHOD_NAME" value="getPriceTest" />
322
+      <option name="TEST_OBJECT" value="method" />
363 323
       <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 />
324
+      <method v="2">
325
+        <option name="Make" enabled="true" />
326
+      </method>
372 327
     </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 />
328
+    <configuration name="ProductTest.setPriceTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
329
+      <module name="productmanager" />
330
+      <extension name="coverage">
331
+        <pattern>
332
+          <option name="PATTERN" value="com.zipcodewilmington.productmanager.*" />
333
+          <option name="ENABLED" value="true" />
334
+        </pattern>
335
+      </extension>
336
+      <option name="PACKAGE_NAME" value="com.zipcodewilmington.productmanager" />
337
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.productmanager.ProductTest" />
338
+      <option name="METHOD_NAME" value="setPriceTest" />
339
+      <option name="TEST_OBJECT" value="method" />
340
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
341
+      <method v="2">
342
+        <option name="Make" enabled="true" />
343
+      </method>
377 344
     </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 />
345
+    <configuration default="true" type="JUnit" factoryName="JUnit">
346
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
347
+      <method v="2">
348
+        <option name="Make" enabled="true" />
349
+      </method>
393 350
     </configuration>
394 351
     <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" />
352
+      <module name="bankaccountlab" />
397 353
       <option name="VM_PARAMETERS" />
398 354
       <option name="PROGRAM_PARAMETERS" />
399
-      <option name="WORKING_DIRECTORY" />
400 355
       <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
401 356
       <option name="ALTERNATIVE_JRE_PATH" />
402 357
       <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 />
358
+      <option name="MAIN_CLASS_NAME" />
359
+      <option name="WORKING_DIRECTORY" />
360
+      <method v="2">
361
+        <option name="Make" enabled="true" />
362
+      </method>
426 363
     </configuration>
427 364
     <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 365
       <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 366
       <properties />
452 367
       <listeners />
453
-      <method />
368
+      <method v="2">
369
+        <option name="Make" enabled="true" />
370
+      </method>
454 371
     </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 />
372
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
373
+      <module name="" />
374
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
375
+      <option name="PROGRAM_PARAMETERS" />
376
+      <predefined_log_file id="idea.log" enabled="true" />
377
+      <method v="2">
378
+        <option name="Make" enabled="true" />
379
+      </method>
467 380
     </configuration>
381
+    <list>
382
+      <item itemvalue="JUnit.ProductTest.setPriceTest" />
383
+      <item itemvalue="JUnit.ProductTest" />
384
+      <item itemvalue="JUnit.ProductTest.getPriceTest" />
385
+    </list>
386
+    <recent_temporary>
387
+      <list>
388
+        <item itemvalue="JUnit.ProductTest" />
389
+        <item itemvalue="JUnit.ProductTest.getPriceTest" />
390
+        <item itemvalue="JUnit.ProductTest.setPriceTest" />
391
+      </list>
392
+    </recent_temporary>
468 393
   </component>
469
-  <component name="ShelveChangesManager" show_recycled="false">
470
-    <option name="remove_strategy" value="false" />
394
+  <component name="SvnConfiguration">
395
+    <configuration />
471 396
   </component>
472 397
   <component name="TaskManager">
473 398
     <task active="true" id="Default" summary="Default task">
@@ -476,97 +401,192 @@
476 401
       <option name="number" value="Default" />
477 402
       <option name="presentableId" value="Default" />
478 403
       <updated>1515620835041</updated>
404
+      <workItem from="1541459105301" duration="5249000" />
405
+      <workItem from="1541513417668" duration="741000" />
406
+      <workItem from="1541514956167" duration="25000" />
407
+      <workItem from="1541514992325" duration="35000" />
408
+      <workItem from="1541603676806" duration="14000" />
409
+      <workItem from="1541603715483" duration="11000" />
410
+      <workItem from="1541603748196" duration="38000" />
411
+      <workItem from="1541603816642" duration="19000" />
412
+      <workItem from="1541603896992" duration="11000" />
413
+      <workItem from="1541604047981" duration="81000" />
414
+      <workItem from="1541604193413" duration="8000" />
415
+      <workItem from="1541604298611" duration="19000" />
416
+      <workItem from="1541604476522" duration="41000" />
417
+      <workItem from="1541604547657" duration="14000" />
418
+      <workItem from="1541604606655" duration="24000" />
419
+      <workItem from="1541604998331" duration="46000" />
420
+      <workItem from="1541605088012" duration="9000" />
421
+      <workItem from="1541605259006" duration="37000" />
422
+      <workItem from="1541605312781" duration="18000" />
423
+      <workItem from="1541605360497" duration="34000" />
424
+      <workItem from="1541606139990" duration="18000" />
425
+      <workItem from="1541606914209" duration="10000" />
426
+      <workItem from="1541607428633" duration="15000" />
427
+      <workItem from="1542134729434" duration="6716000" />
428
+      <workItem from="1542222383214" duration="2467000" />
429
+      <workItem from="1542224862693" duration="441000" />
430
+      <workItem from="1543519272630" duration="71000" />
431
+      <workItem from="1543519357733" duration="38000" />
479 432
     </task>
480 433
     <servers />
481 434
   </component>
435
+  <component name="TestHistory">
436
+    <history-entry file="ProductTest_setPriceTest - 2018.11.05 at 19h 24m 15s.xml">
437
+      <configuration name="ProductTest.setPriceTest" configurationId="JUnit" />
438
+    </history-entry>
439
+    <history-entry file="ProductTest - 2018.11.05 at 19h 24m 39s.xml">
440
+      <configuration name="ProductTest" configurationId="JUnit" />
441
+    </history-entry>
442
+    <history-entry file="ProductTest - 2018.11.05 at 19h 25m 03s.xml">
443
+      <configuration name="ProductTest" configurationId="JUnit" />
444
+    </history-entry>
445
+    <history-entry file="ProductTest_getPriceTest - 2018.11.05 at 19h 27m 21s.xml">
446
+      <configuration name="ProductTest.getPriceTest" configurationId="JUnit" />
447
+    </history-entry>
448
+    <history-entry file="ProductTest_getPriceTest - 2018.11.05 at 19h 27m 44s.xml">
449
+      <configuration name="ProductTest.getPriceTest" configurationId="JUnit" />
450
+    </history-entry>
451
+    <history-entry file="ProductTest - 2018.11.06 at 09h 15m 51s.xml">
452
+      <configuration name="ProductTest" configurationId="JUnit" />
453
+    </history-entry>
454
+    <history-entry file="ProductTest - 2018.11.06 at 09h 17m 20s.xml">
455
+      <configuration name="ProductTest" configurationId="JUnit" />
456
+    </history-entry>
457
+  </component>
458
+  <component name="TimeTrackingManager">
459
+    <option name="totallyTimeSpent" value="16250000" />
460
+  </component>
482 461
   <component name="ToolWindowManager">
483
-    <frame x="0" y="23" width="1920" height="1053" extended-state="6" />
462
+    <frame x="0" y="23" width="1280" height="698" extended-state="6" />
463
+    <editor active="true" />
484 464
     <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" />
465
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.411147" />
466
+      <window_info id="Structure" order="1" weight="0.24959612" />
467
+      <window_info id="Nl-Palette" order="2" />
468
+      <window_info id="Favorites" order="3" side_tool="true" />
469
+      <window_info id="Image Layers" order="4" />
470
+      <window_info id="Designer" order="5" />
471
+      <window_info id="UI Designer" order="6" />
472
+      <window_info id="Capture Tool" order="7" />
473
+      <window_info anchor="bottom" id="Message" order="0" />
474
+      <window_info anchor="bottom" id="Find" order="1" />
475
+      <window_info anchor="bottom" id="Run" order="2" weight="0.54146343" />
476
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
477
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
478
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
479
+      <window_info anchor="bottom" id="TODO" order="6" />
480
+      <window_info anchor="bottom" id="Terminal" order="7" weight="0.32673267" />
481
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" weight="0.3296" />
482
+      <window_info anchor="bottom" id="Version Control" order="9" />
483
+      <window_info anchor="bottom" id="Messages" order="10" weight="0.3284553" />
484
+      <window_info anchor="bottom" id="Database Changes" order="11" show_stripe_button="false" />
485
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
486
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
487
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
488
+      <window_info anchor="right" id="Palette" order="3" />
489
+      <window_info anchor="right" id="Capture Analysis" order="4" />
490
+      <window_info anchor="right" id="Theme Preview" order="5" />
491
+      <window_info anchor="right" id="Properties" order="6" />
492
+      <window_info anchor="right" id="Palette&#9;" order="7" />
493
+      <window_info anchor="right" id="Maven Projects" order="8" />
494
+      <window_info anchor="right" id="Database" order="9" />
512 495
     </layout>
496
+    <layout-to-restore>
497
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.25767368" />
498
+      <window_info id="Structure" order="1" weight="0.25" />
499
+      <window_info id="Nl-Palette" order="2" />
500
+      <window_info id="Favorites" order="3" side_tool="true" />
501
+      <window_info id="Image Layers" order="4" />
502
+      <window_info id="Designer" order="5" />
503
+      <window_info id="UI Designer" order="6" />
504
+      <window_info id="Capture Tool" order="7" />
505
+      <window_info anchor="bottom" id="Message" order="0" />
506
+      <window_info anchor="bottom" id="Find" order="1" />
507
+      <window_info anchor="bottom" id="Run" order="2" />
508
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
509
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
510
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
511
+      <window_info anchor="bottom" id="TODO" order="6" />
512
+      <window_info active="true" anchor="bottom" id="Terminal" order="7" visible="true" weight="0.328" />
513
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
514
+      <window_info anchor="bottom" id="Version Control" order="9" />
515
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
516
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
517
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
518
+      <window_info anchor="right" id="Palette" order="3" />
519
+      <window_info anchor="right" id="Capture Analysis" order="4" />
520
+      <window_info anchor="right" id="Theme Preview" order="5" />
521
+      <window_info anchor="right" id="Properties" order="6" />
522
+      <window_info anchor="right" id="Palette&#9;" order="7" />
523
+      <window_info anchor="right" id="Maven Projects" order="8" />
524
+    </layout-to-restore>
525
+  </component>
526
+  <component name="TypeScriptGeneratedFilesManager">
527
+    <option name="version" value="1" />
513 528
   </component>
514 529
   <component name="VcsContentAnnotationSettings">
515 530
     <option name="myLimit" value="2678400000" />
516 531
   </component>
517
-  <component name="XDebuggerManager">
518
-    <breakpoint-manager />
519
-    <watches-manager />
520
-  </component>
521 532
   <component name="editorHistoryManager">
522
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
533
+    <entry file="file://$PROJECT_DIR$/.gitignore">
534
+      <provider selected="true" editor-type-id="text-editor" />
535
+    </entry>
536
+    <entry file="file://$PROJECT_DIR$/README.md">
537
+      <provider selected="true" editor-type-id="text-editor" />
538
+    </entry>
539
+    <entry file="file://$PROJECT_DIR$/pom.xml">
523 540
       <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 />
541
+        <state relative-caret-position="165">
542
+          <caret line="11" column="10" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="10" />
527 543
         </state>
528 544
       </provider>
529 545
     </entry>
530
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
546
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/MainApplication.java">
531 547
       <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 />
548
+        <state relative-caret-position="240">
549
+          <caret line="16" column="57" selection-start-line="16" selection-start-column="57" selection-end-line="16" selection-end-column="57" />
550
+          <folding>
551
+            <element signature="imports" expanded="true" />
552
+          </folding>
535 553
         </state>
536 554
       </provider>
537 555
     </entry>
538
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
556
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Inventory.java">
539 557
       <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 />
558
+        <state relative-caret-position="435">
559
+          <caret line="29" column="45" selection-start-line="29" selection-start-column="45" selection-end-line="29" selection-end-column="45" />
560
+          <folding>
561
+            <element signature="imports" expanded="true" />
562
+          </folding>
543 563
         </state>
544 564
       </provider>
545 565
     </entry>
546
-    <entry file="file://$PROJECT_DIR$/.gitignore">
566
+    <entry file="file://$PROJECT_DIR$/src/test/java/InventoryTest.java">
547 567
       <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 />
568
+        <state relative-caret-position="1590">
569
+          <caret line="106" column="23" selection-start-line="106" selection-start-column="23" selection-end-line="106" selection-end-column="23" />
570
+          <folding>
571
+            <element signature="imports" expanded="true" />
572
+          </folding>
551 573
         </state>
552 574
       </provider>
553 575
     </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 />
576
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/productmanager/ProductTest.java">
577
+      <provider selected="true" editor-type-id="text-editor">
578
+        <state relative-caret-position="510">
579
+          <caret line="35" column="60" selection-start-line="35" selection-start-column="38" selection-end-line="35" selection-end-column="60" />
580
+          <folding>
581
+            <element signature="imports" expanded="true" />
582
+          </folding>
562 583
         </state>
563 584
       </provider>
564 585
     </entry>
565
-    <entry file="file://$PROJECT_DIR$/pom.xml">
586
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/productmanager/Product.java">
566 587
       <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 />
588
+        <state relative-caret-position="735">
589
+          <caret line="49" column="24" lean-forward="true" selection-start-line="49" selection-start-column="24" selection-end-line="49" selection-end-column="24" />
570 590
         </state>
571 591
       </provider>
572 592
     </entry>

+ 8
- 0
pom.xml Zobrazit soubor

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

+ 57
- 0
src/main/java/com/zipcodewilmington/productmanager/Inventory.java Zobrazit soubor

@@ -0,0 +1,57 @@
1
+package com.zipcodewilmington.productmanager;
2
+
3
+import java.util.ArrayList;
4
+import java.util.List;
5
+
6
+public class Inventory {
7
+
8
+    private List<Product> productList = new ArrayList<Product>();
9
+
10
+
11
+    public Inventory(List<Product> productList) {
12
+
13
+        this.productList = productList;
14
+
15
+    }
16
+
17
+    public List<Product> getProductList() {
18
+
19
+        return this.productList;
20
+
21
+    }
22
+
23
+    public void add(Product product) {
24
+
25
+        this.productList.add(product);
26
+
27
+    }
28
+
29
+    public boolean contains(Product product) {
30
+
31
+        return this.productList.contains(product);
32
+    }
33
+
34
+    public void remove(Product product) {
35
+
36
+        this.productList.remove(product);
37
+
38
+    }
39
+
40
+    public int size() {
41
+
42
+        return this.productList.size();
43
+    }
44
+
45
+    public double getTotalValue() {
46
+
47
+        double sum = 0;
48
+
49
+        for (Product p : productList) {
50
+
51
+            sum += p.getQuantity() * p.getPrice();
52
+        }
53
+
54
+        return sum;
55
+
56
+    }
57
+}

+ 42
- 0
src/main/java/com/zipcodewilmington/productmanager/MainApplication.java Zobrazit soubor

@@ -1,7 +1,49 @@
1 1
 package com.zipcodewilmington.productmanager;
2 2
 
3
+import javax.management.remote.rmi.RMIConnectionImpl;
4
+import java.util.ArrayList;
5
+import java.util.List;
6
+import java.util.Scanner;
7
+
3 8
 /**
4 9
  * Created by leon on 1/10/18.
5 10
  */
6 11
 public class MainApplication {
12
+
13
+    public static void main(String[] args) {
14
+
15
+        List<Product> productList = new ArrayList<Product>();
16
+
17
+        Inventory inventory = new Inventory(productList);
18
+
19
+
20
+        Scanner scanner = new Scanner(System.in);
21
+
22
+        System.out.println("Welcome to the Inventory Manager\n");
23
+
24
+        System.out.println(new StringBuilder()
25
+                .append("From here you can ")
26
+                .append("[ view ]")
27
+                .append(" [ add ]")
28
+                .append("[ remove ]")
29
+                .append("products.")
30
+                .toString());
31
+
32
+        String userInput = scanner.nextLine();
33
+        if(userInput.equals("view")) {
34
+            // display inventory
35
+            String view = inventory.toString();
36
+            System.out.println(view);
37
+        }
38
+
39
+        if(userInput.equals("add")) {
40
+            //prompt user for product information
41
+            System.out.println("What's the price?");
42
+            Double price = Double.parseDouble(scanner.nextLine());
43
+            //add product into inventory
44
+
45
+        }
46
+    }
47
+
48
+
7 49
 }

+ 59
- 1
src/main/java/com/zipcodewilmington/productmanager/Product.java Zobrazit soubor

@@ -4,4 +4,62 @@ package com.zipcodewilmington.productmanager;
4 4
  * Created by leon on 1/10/18.
5 5
  */
6 6
 public class Product {
7
-}
7
+
8
+    private double price;
9
+    private int id;
10
+    private int quantity;
11
+    private String name;
12
+
13
+    public  Product(double price, int id, int quantity, String name ) {
14
+
15
+        this.price = price;
16
+        this.id = id;
17
+        this.quantity = quantity;
18
+        this.name = name;
19
+
20
+    }
21
+
22
+    public double getPrice() {
23
+
24
+        return price;
25
+    }
26
+
27
+    public void setPrice(double price) {
28
+
29
+        this.price = price;
30
+    }
31
+
32
+    public int getId() {
33
+
34
+        return id;
35
+    }
36
+
37
+    public void setId(int id) {
38
+
39
+        this.id = id;
40
+    }
41
+
42
+    public int getQuantity() {
43
+
44
+        return quantity;
45
+    }
46
+
47
+    public void setQuantity(int quantity) {
48
+
49
+        this.quantity = quantity;
50
+    }
51
+
52
+    public String getName() {
53
+
54
+        return name;
55
+    }
56
+
57
+    public void setName(String name) {
58
+
59
+        this.name = name;
60
+    }
61
+
62
+
63
+
64
+
65
+}

+ 114
- 0
src/test/java/InventoryTest.java Zobrazit soubor

@@ -0,0 +1,114 @@
1
+import com.zipcodewilmington.productmanager.Inventory;
2
+import com.zipcodewilmington.productmanager.Product;
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+import java.util.ArrayList;
7
+import java.util.List;
8
+
9
+public class InventoryTest {
10
+
11
+
12
+    @Test
13
+    public void constructorTest() {
14
+
15
+        //Given
16
+        List<Product> productList = new ArrayList<Product>();
17
+
18
+        //When
19
+        Inventory inventory = new Inventory(productList);
20
+
21
+        //Then
22
+        Assert.assertEquals(productList, inventory.getProductList());
23
+    }
24
+    @Test
25
+    public void nullaryConstructorTest() {
26
+
27
+        //Given
28
+        List<Product> productList = new ArrayList<Product>();
29
+
30
+        //When
31
+        Inventory inventory = new Inventory(productList);
32
+
33
+        List<Product> actual = inventory.getProductList();
34
+
35
+        //Then
36
+        Assert.assertNotNull(productList);
37
+
38
+        Assert.assertEquals(productList,actual);
39
+    }
40
+    @Test
41
+    public void addTest() {
42
+
43
+        //Given
44
+        List<Product> productList = new ArrayList<Product>();
45
+
46
+        Inventory inventory = new Inventory(productList);
47
+
48
+        Product product = new Product(79.99, 2, 20, "Hoodie");
49
+
50
+        //When
51
+        inventory.add(product);
52
+
53
+        //Then
54
+        Assert.assertTrue(inventory.contains(product));
55
+    }
56
+    @Test
57
+    public void removeTest() {
58
+
59
+        //Given
60
+        List<Product> productList = new ArrayList<Product>();
61
+
62
+        Inventory inventory = new Inventory(productList);
63
+
64
+        Product product = new Product(79.99, 2, 20, "Hoodie");
65
+
66
+        //When
67
+        inventory.remove(product);
68
+
69
+        //Then
70
+        Assert.assertFalse(inventory.contains(product));
71
+
72
+
73
+
74
+    }
75
+    @Test
76
+    public void sizeTest() {
77
+
78
+        //Given
79
+        List<Product> productList = new ArrayList<Product>();
80
+
81
+        Inventory inventory = new Inventory(productList);
82
+
83
+        Product product = new Product(79.99, 2, 20, "Hoodie");
84
+
85
+        inventory.add(product);
86
+
87
+        int expected = 1;
88
+
89
+        //When
90
+        int actual = inventory.size();
91
+
92
+        //Then
93
+        Assert.assertEquals(expected,actual);
94
+    }
95
+    @Test
96
+    public void getTotalValue() {
97
+
98
+        //Given
99
+        List<Product> productList = new ArrayList<Product>();
100
+
101
+        Product product = new Product(79.99, 2, 20, "Hoodie");
102
+
103
+        Inventory inventory = new Inventory(productList);
104
+
105
+
106
+        //When
107
+        inventory.getTotalValue();
108
+
109
+
110
+        //Then
111
+    }
112
+
113
+
114
+}

+ 140
- 0
src/test/java/com/zipcodewilmington/productmanager/ProductTest.java Zobrazit soubor

@@ -1,7 +1,147 @@
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 constructorTest() {
13
+
14
+        //Given
15
+        double price = 79.99;
16
+
17
+        int id = 2;
18
+
19
+        int quantity = 20;
20
+
21
+        String name = "Hoodie";
22
+
23
+        //When
24
+        Product product = new Product(price, id, quantity,name);
25
+
26
+
27
+        //Then
28
+        Assert.assertEquals(price,product.getPrice());
29
+        Assert.assertEquals(id, product.getId());
30
+        Assert.assertEquals(quantity,product.getQuantity());
31
+    }
32
+    @Test
33
+    public void setPriceTest() {
34
+
35
+        //Given
36
+        Product product = new Product(79.99, 2, 20, "Hoodie");
37
+
38
+        //When
39
+        product.setPrice(20.00);
40
+
41
+
42
+        //Then
43
+        Assert.assertEquals(20.00, product.getPrice(), 0);
44
+
45
+    }
46
+    @Test
47
+    public void setIdTest() {
48
+
49
+        //Given
50
+        Product product = new Product(79.99, 2, 20, "Hoodie");
51
+
52
+        //When
53
+        product.setId(2);
54
+
55
+        //Then
56
+        Assert.assertEquals(2, product.getId());
57
+
58
+    }
59
+    @Test
60
+    public void setQuantityTest() {
61
+
62
+        //Given
63
+        Product product = new Product(79.99, 2, 20, "Hoodie");
64
+
65
+        //When
66
+        product.setQuantity(20);
67
+
68
+
69
+        //Then
70
+        Assert.assertEquals(20, product.getQuantity());
71
+
72
+
73
+    }
74
+    @Test
75
+    public void setNameTest() {
76
+
77
+        //Given
78
+        Product product = new Product(79.99, 2, 20, "Hoodie");
79
+
80
+        //When
81
+        product.setName("Hoodie");
82
+
83
+
84
+        //Then
85
+        Assert.assertEquals("Hoodie", product.getName());
86
+
87
+
88
+    }
89
+    @Test
90
+    public void getQuantityTest() {
91
+
92
+        //Given
93
+        Product product = new Product(79.99, 2, 20, "Hoodie");
94
+
95
+
96
+        //When
97
+        product.getQuantity();
98
+
99
+
100
+
101
+        //Then
102
+        Assert.assertEquals(20, product.getQuantity());
103
+
104
+    }
105
+    @Test
106
+    public void getPriceTest() {
107
+
108
+        //Given
109
+        Product product = new Product(79.99, 2, 20, "Hoodie");
110
+
111
+        //When
112
+        product.getPrice();
113
+
114
+
115
+        //Then
116
+        Assert.assertEquals(79.99, product.getPrice(), 0);
117
+
118
+    }
119
+    @Test
120
+    public void getIdTest() {
121
+
122
+        //Given
123
+        Product product = new Product(79.99, 2, 20, "Hoodie");
124
+
125
+        //When
126
+        product.getId();
127
+
128
+        //Then
129
+        Assert.assertEquals(2, product.getId());
130
+
131
+    }
132
+    @Test
133
+    public void getNameTest() {
134
+
135
+        //Given
136
+        Product product = new Product(79.99, 2, 20, "Hoodie");
137
+
138
+        //When
139
+        product.getName();
140
+
141
+
142
+        //Then
143
+        Assert.assertEquals("Hoodie", product.getName());
144
+
145
+
146
+    }
7 147
 }