Nathan Hall 6 anni fa
parent
commit
6300174ead

+ 1
- 0
.idea/.name Vedi File

@@ -0,0 +1 @@
1
+interfaces-1

+ 16
- 0
.idea/compiler.xml Vedi File

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CompilerConfiguration">
4
+    <annotationProcessing>
5
+      <profile name="Maven default annotation processors profile" enabled="true">
6
+        <sourceOutputDir name="target/generated-sources/annotations" />
7
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
+        <outputRelativeToContentRoot value="true" />
9
+        <module name="interfaces-1" />
10
+      </profile>
11
+    </annotationProcessing>
12
+    <bytecodeTargetLevel>
13
+      <module name="interfaces-1" target="1.5" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 6
- 0
.idea/encodings.xml Vedi File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Encoding">
4
+    <file url="file://$PROJECT_DIR$" charset="UTF-8" />
5
+  </component>
6
+</project>

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_12.xml Vedi File

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

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

+ 13
- 0
.idea/misc.xml Vedi File

@@ -0,0 +1,13 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="MavenProjectsManager">
4
+    <option name="originalFiles">
5
+      <list>
6
+        <option value="$PROJECT_DIR$/pom.xml" />
7
+      </list>
8
+    </option>
9
+  </component>
10
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
11
+    <output url="file://$PROJECT_DIR$/classes" />
12
+  </component>
13
+</project>

+ 8
- 0
.idea/modules.xml Vedi File

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/interfaces-1.iml" filepath="$PROJECT_DIR$/interfaces-1.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6
- 0
.idea/vcs.xml Vedi File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+  </component>
6
+</project>

+ 580
- 0
.idea/workspace.xml Vedi File

@@ -0,0 +1,580 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="bb34a630-99d6-43f1-88af-777f3bc41c8e" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__junit_junit_4_12.xml" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
10
+      <change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
11
+      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
12
+      <change afterPath="$PROJECT_DIR$/interfaces-1.iml" afterDir="false" />
13
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" afterDir="false" />
14
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java" afterDir="false" />
15
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java" afterDir="false" />
16
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java" afterDir="false" />
17
+      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/InstructorTest.java" afterDir="false" />
18
+      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/StudentTest.java" afterDir="false" />
19
+      <change beforePath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" afterDir="false" />
20
+      <change beforePath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" afterDir="false" />
21
+    </list>
22
+    <ignored path="$PROJECT_DIR$/target/" />
23
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
24
+    <option name="SHOW_DIALOG" value="false" />
25
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
26
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
27
+    <option name="LAST_RESOLUTION" value="IGNORE" />
28
+  </component>
29
+  <component name="FUSProjectUsageTrigger">
30
+    <session id="1702614893">
31
+      <usages-collector id="statistics.lifecycle.project">
32
+        <counts>
33
+          <entry key="project.open.time.2" value="1" />
34
+          <entry key="project.opened" value="1" />
35
+        </counts>
36
+      </usages-collector>
37
+      <usages-collector id="statistics.file.extensions.open">
38
+        <counts>
39
+          <entry key="java" value="10" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.types.open">
43
+        <counts>
44
+          <entry key="JAVA" value="10" />
45
+        </counts>
46
+      </usages-collector>
47
+      <usages-collector id="statistics.file.extensions.edit">
48
+        <counts>
49
+          <entry key="java" value="1602" />
50
+        </counts>
51
+      </usages-collector>
52
+      <usages-collector id="statistics.file.types.edit">
53
+        <counts>
54
+          <entry key="JAVA" value="1602" />
55
+        </counts>
56
+      </usages-collector>
57
+    </session>
58
+  </component>
59
+  <component name="FileEditorManager">
60
+    <leaf>
61
+      <file pinned="false" current-in-tab="false">
62
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
63
+          <provider selected="true" editor-type-id="text-editor">
64
+            <state relative-caret-position="75">
65
+              <caret line="5" column="18" selection-start-line="5" selection-start-column="18" selection-end-line="5" selection-end-column="18" />
66
+              <folding>
67
+                <element signature="e#103#104#0" expanded="true" />
68
+                <element signature="e#133#134#0" expanded="true" />
69
+                <element signature="e#164#165#0" expanded="true" />
70
+                <element signature="e#185#186#0" expanded="true" />
71
+                <element signature="e#261#262#0" expanded="true" />
72
+                <element signature="e#293#294#0" expanded="true" />
73
+              </folding>
74
+            </state>
75
+          </provider>
76
+        </entry>
77
+      </file>
78
+      <file pinned="false" current-in-tab="false">
79
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java">
80
+          <provider selected="true" editor-type-id="text-editor">
81
+            <state relative-caret-position="105">
82
+              <caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="7" />
83
+            </state>
84
+          </provider>
85
+        </entry>
86
+      </file>
87
+      <file pinned="false" current-in-tab="false">
88
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
89
+          <provider selected="true" editor-type-id="text-editor">
90
+            <state relative-caret-position="165">
91
+              <caret line="11" column="39" selection-start-line="11" selection-start-column="39" selection-end-line="11" selection-end-column="39" />
92
+              <folding>
93
+                <element signature="e#300#301#0" expanded="true" />
94
+              </folding>
95
+            </state>
96
+          </provider>
97
+        </entry>
98
+      </file>
99
+      <file pinned="false" current-in-tab="false">
100
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
101
+          <provider selected="true" editor-type-id="text-editor">
102
+            <state relative-caret-position="90">
103
+              <caret line="6" column="66" selection-start-line="6" selection-start-column="66" selection-end-line="6" selection-end-column="66" />
104
+            </state>
105
+          </provider>
106
+        </entry>
107
+      </file>
108
+      <file pinned="false" current-in-tab="true">
109
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/InstructorTest.java">
110
+          <provider selected="true" editor-type-id="text-editor">
111
+            <state relative-caret-position="180">
112
+              <caret line="12" column="8" selection-start-line="12" selection-start-column="8" selection-end-line="12" selection-end-column="8" />
113
+              <folding>
114
+                <element signature="imports" expanded="true" />
115
+              </folding>
116
+            </state>
117
+          </provider>
118
+        </entry>
119
+      </file>
120
+      <file pinned="false" current-in-tab="false">
121
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
122
+          <provider selected="true" editor-type-id="text-editor">
123
+            <state relative-caret-position="60">
124
+              <caret line="4" selection-start-line="4" selection-end-line="4" />
125
+            </state>
126
+          </provider>
127
+        </entry>
128
+      </file>
129
+      <file pinned="false" current-in-tab="false">
130
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/StudentTest.java">
131
+          <provider selected="true" editor-type-id="text-editor">
132
+            <state relative-caret-position="240">
133
+              <caret line="16" column="62" lean-forward="true" selection-start-line="14" selection-start-column="8" selection-end-line="16" selection-end-column="62" />
134
+              <folding>
135
+                <element signature="imports" expanded="true" />
136
+              </folding>
137
+            </state>
138
+          </provider>
139
+        </entry>
140
+      </file>
141
+      <file pinned="false" current-in-tab="false">
142
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java">
143
+          <provider selected="true" editor-type-id="text-editor">
144
+            <state relative-caret-position="30">
145
+              <caret line="2" lean-forward="true" selection-start-line="2" selection-end-line="3" selection-end-column="24" />
146
+              <folding>
147
+                <element signature="imports" expanded="true" />
148
+              </folding>
149
+            </state>
150
+          </provider>
151
+        </entry>
152
+      </file>
153
+    </leaf>
154
+  </component>
155
+  <component name="FileTemplateManagerImpl">
156
+    <option name="RECENT_TEMPLATES">
157
+      <list>
158
+        <option value="Interface" />
159
+        <option value="Class" />
160
+      </list>
161
+    </option>
162
+  </component>
163
+  <component name="Git.Settings">
164
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
165
+  </component>
166
+  <component name="IdeDocumentHistory">
167
+    <option name="CHANGED_PATHS">
168
+      <list>
169
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" />
170
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java" />
171
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" />
172
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/StudentTest.java" />
173
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java" />
174
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java" />
175
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/Instructor.java" />
176
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" />
177
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/InstructorTest.java" />
178
+      </list>
179
+    </option>
180
+  </component>
181
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
182
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
183
+  <component name="JsGulpfileManager">
184
+    <detection-done>true</detection-done>
185
+    <sorting>DEFINITION_ORDER</sorting>
186
+  </component>
187
+  <component name="MavenImportPreferences">
188
+    <option name="importingSettings">
189
+      <MavenImportingSettings>
190
+        <option name="importAutomatically" value="true" />
191
+      </MavenImportingSettings>
192
+    </option>
193
+  </component>
194
+  <component name="ProjectFrameBounds" extendedState="1">
195
+    <option name="y" value="30" />
196
+    <option name="width" value="1280" />
197
+    <option name="height" value="731" />
198
+  </component>
199
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
200
+  <component name="ProjectView">
201
+    <navigator proportions="" version="1">
202
+      <foldersAlwaysOnTop value="true" />
203
+    </navigator>
204
+    <panes>
205
+      <pane id="Scope" />
206
+      <pane id="PackagesPane" />
207
+      <pane id="ProjectPane">
208
+        <subPane>
209
+          <expand>
210
+            <path>
211
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
212
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
213
+            </path>
214
+            <path>
215
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
216
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
217
+              <item name="src" type="462c0819:PsiDirectoryNode" />
218
+            </path>
219
+            <path>
220
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
221
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
222
+              <item name="src" type="462c0819:PsiDirectoryNode" />
223
+              <item name="main" type="462c0819:PsiDirectoryNode" />
224
+            </path>
225
+            <path>
226
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
227
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
228
+              <item name="src" type="462c0819:PsiDirectoryNode" />
229
+              <item name="main" type="462c0819:PsiDirectoryNode" />
230
+              <item name="java" type="462c0819:PsiDirectoryNode" />
231
+            </path>
232
+            <path>
233
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
234
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
235
+              <item name="src" type="462c0819:PsiDirectoryNode" />
236
+              <item name="main" type="462c0819:PsiDirectoryNode" />
237
+              <item name="java" type="462c0819:PsiDirectoryNode" />
238
+              <item name="interfaces" type="462c0819:PsiDirectoryNode" />
239
+            </path>
240
+            <path>
241
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
242
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
243
+              <item name="src" type="462c0819:PsiDirectoryNode" />
244
+              <item name="test" type="462c0819:PsiDirectoryNode" />
245
+            </path>
246
+            <path>
247
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
248
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
249
+              <item name="src" type="462c0819:PsiDirectoryNode" />
250
+              <item name="test" type="462c0819:PsiDirectoryNode" />
251
+              <item name="java" type="462c0819:PsiDirectoryNode" />
252
+            </path>
253
+            <path>
254
+              <item name="interfaces-1" type="b2602c69:ProjectViewProjectNode" />
255
+              <item name="CR-MacroLabs-OOP-InstructorStudentClassroom" type="462c0819:PsiDirectoryNode" />
256
+              <item name="src" type="462c0819:PsiDirectoryNode" />
257
+              <item name="test" type="462c0819:PsiDirectoryNode" />
258
+              <item name="java" type="462c0819:PsiDirectoryNode" />
259
+              <item name="interfaces" type="462c0819:PsiDirectoryNode" />
260
+            </path>
261
+          </expand>
262
+          <select />
263
+        </subPane>
264
+      </pane>
265
+    </panes>
266
+  </component>
267
+  <component name="PropertiesComponent">
268
+    <property name="WebServerToolWindowFactoryState" value="false" />
269
+    <property name="aspect.path.notification.shown" value="true" />
270
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1541930178148" />
271
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
272
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
273
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
274
+  </component>
275
+  <component name="RecentsManager">
276
+    <key name="CreateClassDialog.RecentsKey">
277
+      <recent name="io.zipcoder.interfaces" />
278
+    </key>
279
+  </component>
280
+  <component name="RunDashboard">
281
+    <option name="ruleStates">
282
+      <list>
283
+        <RuleState>
284
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
285
+        </RuleState>
286
+        <RuleState>
287
+          <option name="name" value="StatusDashboardGroupingRule" />
288
+        </RuleState>
289
+      </list>
290
+    </option>
291
+  </component>
292
+  <component name="RunManager" selected="JUnit.StudentTest.testLearn">
293
+    <configuration name="StudentTest.testImplementation" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
294
+      <module name="interfaces-1" />
295
+      <extension name="coverage">
296
+        <pattern>
297
+          <option name="PATTERN" value="io.zipcoder.interfaces.*" />
298
+          <option name="ENABLED" value="true" />
299
+        </pattern>
300
+      </extension>
301
+      <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
302
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.StudentTest" />
303
+      <option name="METHOD_NAME" value="testImplementation" />
304
+      <option name="TEST_OBJECT" value="method" />
305
+      <method v="2">
306
+        <option name="Make" enabled="true" />
307
+      </method>
308
+    </configuration>
309
+    <configuration name="StudentTest.testInheritance" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
310
+      <module name="interfaces-1" />
311
+      <extension name="coverage">
312
+        <pattern>
313
+          <option name="PATTERN" value="io.zipcoder.interfaces.*" />
314
+          <option name="ENABLED" value="true" />
315
+        </pattern>
316
+      </extension>
317
+      <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
318
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.StudentTest" />
319
+      <option name="METHOD_NAME" value="testInheritance" />
320
+      <option name="TEST_OBJECT" value="method" />
321
+      <method v="2">
322
+        <option name="Make" enabled="true" />
323
+      </method>
324
+    </configuration>
325
+    <configuration name="StudentTest.testLearn" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
326
+      <module name="interfaces-1" />
327
+      <extension name="coverage">
328
+        <pattern>
329
+          <option name="PATTERN" value="io.zipcoder.interfaces.*" />
330
+          <option name="ENABLED" value="true" />
331
+        </pattern>
332
+      </extension>
333
+      <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
334
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.StudentTest" />
335
+      <option name="METHOD_NAME" value="testLearn" />
336
+      <option name="TEST_OBJECT" value="method" />
337
+      <method v="2">
338
+        <option name="Make" enabled="true" />
339
+      </method>
340
+    </configuration>
341
+    <configuration name="TestPerson" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
342
+      <module name="interfaces-1" />
343
+      <extension name="coverage">
344
+        <pattern>
345
+          <option name="PATTERN" value="io.zipcoder.interfaces.*" />
346
+          <option name="ENABLED" value="true" />
347
+        </pattern>
348
+      </extension>
349
+      <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
350
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestPerson" />
351
+      <method v="2">
352
+        <option name="Make" enabled="true" />
353
+      </method>
354
+    </configuration>
355
+    <configuration name="TestPerson.testSetAndGetName" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
356
+      <module name="interfaces-1" />
357
+      <extension name="coverage">
358
+        <pattern>
359
+          <option name="PATTERN" value="io.zipcoder.interfaces.*" />
360
+          <option name="ENABLED" value="true" />
361
+        </pattern>
362
+      </extension>
363
+      <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
364
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestPerson" />
365
+      <option name="METHOD_NAME" value="testSetAndGetName" />
366
+      <option name="TEST_OBJECT" value="method" />
367
+      <method v="2">
368
+        <option name="Make" enabled="true" />
369
+      </method>
370
+    </configuration>
371
+    <list>
372
+      <item itemvalue="JUnit.TestPerson" />
373
+      <item itemvalue="JUnit.TestPerson.testSetAndGetName" />
374
+      <item itemvalue="JUnit.StudentTest.testImplementation" />
375
+      <item itemvalue="JUnit.StudentTest.testInheritance" />
376
+      <item itemvalue="JUnit.StudentTest.testLearn" />
377
+    </list>
378
+    <recent_temporary>
379
+      <list>
380
+        <item itemvalue="JUnit.StudentTest.testLearn" />
381
+        <item itemvalue="JUnit.StudentTest.testInheritance" />
382
+        <item itemvalue="JUnit.StudentTest.testImplementation" />
383
+        <item itemvalue="JUnit.TestPerson.testSetAndGetName" />
384
+        <item itemvalue="JUnit.TestPerson" />
385
+      </list>
386
+    </recent_temporary>
387
+  </component>
388
+  <component name="SvnConfiguration">
389
+    <configuration />
390
+  </component>
391
+  <component name="TaskManager">
392
+    <task active="true" id="Default" summary="Default task">
393
+      <changelist id="bb34a630-99d6-43f1-88af-777f3bc41c8e" name="Default Changelist" comment="" />
394
+      <created>1541925109764</created>
395
+      <option name="number" value="Default" />
396
+      <option name="presentableId" value="Default" />
397
+      <updated>1541925109764</updated>
398
+      <workItem from="1541925113078" duration="4977000" />
399
+    </task>
400
+    <servers />
401
+  </component>
402
+  <component name="TestHistory">
403
+    <history-entry file="TestPerson - 2018.11.11 at 03h 39m 46s.xml">
404
+      <configuration name="TestPerson" configurationId="JUnit" />
405
+    </history-entry>
406
+    <history-entry file="TestPerson_testSetAndGetName - 2018.11.11 at 03h 46m 43s.xml">
407
+      <configuration name="TestPerson.testSetAndGetName" configurationId="JUnit" />
408
+    </history-entry>
409
+    <history-entry file="StudentTest_testImplementation - 2018.11.11 at 04h 04m 46s.xml">
410
+      <configuration name="StudentTest.testImplementation" configurationId="JUnit" />
411
+    </history-entry>
412
+    <history-entry file="StudentTest_testInheritance - 2018.11.11 at 04h 25m 19s.xml">
413
+      <configuration name="StudentTest.testInheritance" configurationId="JUnit" />
414
+    </history-entry>
415
+    <history-entry file="StudentTest_testLearn - 2018.11.11 at 04h 40m 17s.xml">
416
+      <configuration name="StudentTest.testLearn" configurationId="JUnit" />
417
+    </history-entry>
418
+    <history-entry file="StudentTest_testLearn - 2018.11.11 at 04h 41m 43s.xml">
419
+      <configuration name="StudentTest.testLearn" configurationId="JUnit" />
420
+    </history-entry>
421
+  </component>
422
+  <component name="TimeTrackingManager">
423
+    <option name="totallyTimeSpent" value="4977000" />
424
+  </component>
425
+  <component name="ToolWindowManager">
426
+    <frame x="0" y="30" width="1280" height="731" extended-state="6" />
427
+    <editor active="true" />
428
+    <layout>
429
+      <window_info id="Image Layers" />
430
+      <window_info id="Designer" />
431
+      <window_info id="UI Designer" />
432
+      <window_info id="Capture Tool" />
433
+      <window_info id="Favorites" side_tool="true" />
434
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24959612" />
435
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
436
+      <window_info anchor="bottom" id="Messages" weight="0.32954547" />
437
+      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
438
+      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
439
+      <window_info anchor="bottom" id="Terminal" />
440
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
441
+      <window_info anchor="bottom" id="Message" order="0" />
442
+      <window_info anchor="bottom" id="Find" order="1" />
443
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32954547" />
444
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
445
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
446
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
447
+      <window_info anchor="bottom" id="TODO" order="6" />
448
+      <window_info anchor="right" id="Palette" />
449
+      <window_info anchor="right" id="Theme Preview" />
450
+      <window_info anchor="right" id="Capture Analysis" />
451
+      <window_info anchor="right" id="Palette&#9;" />
452
+      <window_info anchor="right" id="Database" />
453
+      <window_info anchor="right" id="Maven Projects" />
454
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
455
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
456
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
457
+    </layout>
458
+    <layout-to-restore>
459
+      <window_info id="Image Layers" order="0" />
460
+      <window_info id="Designer" order="1" />
461
+      <window_info id="UI Designer" order="2" />
462
+      <window_info id="Capture Tool" order="3" />
463
+      <window_info id="Favorites" order="4" side_tool="true" />
464
+      <window_info content_ui="combo" id="Project" order="5" visible="true" weight="0.24959612" />
465
+      <window_info id="Structure" order="6" side_tool="true" weight="0.25" />
466
+      <window_info anchor="bottom" id="Version Control" order="0" show_stripe_button="false" />
467
+      <window_info anchor="bottom" id="Terminal" order="1" />
468
+      <window_info anchor="bottom" id="Event Log" order="2" side_tool="true" />
469
+      <window_info anchor="bottom" id="Database Changes" order="3" show_stripe_button="false" />
470
+      <window_info anchor="bottom" id="Messages" order="4" weight="0.32954547" />
471
+      <window_info anchor="bottom" id="Message" order="5" />
472
+      <window_info anchor="bottom" id="Find" order="6" />
473
+      <window_info active="true" anchor="bottom" id="Run" order="7" visible="true" weight="0.32954547" />
474
+      <window_info anchor="bottom" id="Debug" order="8" weight="0.4" />
475
+      <window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
476
+      <window_info anchor="bottom" id="Inspection" order="10" weight="0.4" />
477
+      <window_info anchor="bottom" id="TODO" order="11" />
478
+      <window_info anchor="right" id="Palette" order="0" />
479
+      <window_info anchor="right" id="Capture Analysis" order="1" />
480
+      <window_info anchor="right" id="Database" order="2" />
481
+      <window_info anchor="right" id="Theme Preview" order="3" />
482
+      <window_info anchor="right" id="Palette&#9;" order="4" />
483
+      <window_info anchor="right" id="Maven Projects" order="5" />
484
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="6" type="SLIDING" weight="0.4" />
485
+      <window_info anchor="right" id="Ant Build" order="7" weight="0.25" />
486
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="8" weight="0.25" />
487
+    </layout-to-restore>
488
+  </component>
489
+  <component name="TypeScriptGeneratedFilesManager">
490
+    <option name="version" value="1" />
491
+  </component>
492
+  <component name="VcsContentAnnotationSettings">
493
+    <option name="myLimit" value="2678400000" />
494
+  </component>
495
+  <component name="editorHistoryManager">
496
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java">
497
+      <provider selected="true" editor-type-id="text-editor">
498
+        <state relative-caret-position="30">
499
+          <caret line="2" lean-forward="true" selection-start-line="2" selection-end-line="3" selection-end-column="24" />
500
+          <folding>
501
+            <element signature="imports" expanded="true" />
502
+          </folding>
503
+        </state>
504
+      </provider>
505
+    </entry>
506
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
507
+      <provider selected="true" editor-type-id="text-editor">
508
+        <state relative-caret-position="75">
509
+          <caret line="5" column="18" selection-start-line="5" selection-start-column="18" selection-end-line="5" selection-end-column="18" />
510
+          <folding>
511
+            <element signature="e#103#104#0" expanded="true" />
512
+            <element signature="e#133#134#0" expanded="true" />
513
+            <element signature="e#164#165#0" expanded="true" />
514
+            <element signature="e#185#186#0" expanded="true" />
515
+            <element signature="e#261#262#0" expanded="true" />
516
+            <element signature="e#293#294#0" expanded="true" />
517
+          </folding>
518
+        </state>
519
+      </provider>
520
+    </entry>
521
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java">
522
+      <provider selected="true" editor-type-id="text-editor">
523
+        <state relative-caret-position="105">
524
+          <caret line="7" lean-forward="true" selection-start-line="7" selection-end-line="7" />
525
+        </state>
526
+      </provider>
527
+    </entry>
528
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/Instructor.java">
529
+      <provider selected="true" editor-type-id="text-editor">
530
+        <state relative-caret-position="15">
531
+          <caret line="1" lean-forward="true" selection-start-line="1" selection-end-line="1" />
532
+        </state>
533
+      </provider>
534
+    </entry>
535
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
536
+      <provider selected="true" editor-type-id="text-editor">
537
+        <state relative-caret-position="165">
538
+          <caret line="11" column="39" selection-start-line="11" selection-start-column="39" selection-end-line="11" selection-end-column="39" />
539
+          <folding>
540
+            <element signature="e#300#301#0" expanded="true" />
541
+          </folding>
542
+        </state>
543
+      </provider>
544
+    </entry>
545
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/StudentTest.java">
546
+      <provider selected="true" editor-type-id="text-editor">
547
+        <state relative-caret-position="240">
548
+          <caret line="16" column="62" lean-forward="true" selection-start-line="14" selection-start-column="8" selection-end-line="16" selection-end-column="62" />
549
+          <folding>
550
+            <element signature="imports" expanded="true" />
551
+          </folding>
552
+        </state>
553
+      </provider>
554
+    </entry>
555
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
556
+      <provider selected="true" editor-type-id="text-editor">
557
+        <state relative-caret-position="90">
558
+          <caret line="6" column="66" selection-start-line="6" selection-start-column="66" selection-end-line="6" selection-end-column="66" />
559
+        </state>
560
+      </provider>
561
+    </entry>
562
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
563
+      <provider selected="true" editor-type-id="text-editor">
564
+        <state relative-caret-position="60">
565
+          <caret line="4" selection-start-line="4" selection-end-line="4" />
566
+        </state>
567
+      </provider>
568
+    </entry>
569
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/InstructorTest.java">
570
+      <provider selected="true" editor-type-id="text-editor">
571
+        <state relative-caret-position="180">
572
+          <caret line="12" column="8" selection-start-line="12" selection-start-column="8" selection-end-line="12" selection-end-column="8" />
573
+          <folding>
574
+            <element signature="imports" expanded="true" />
575
+          </folding>
576
+        </state>
577
+      </provider>
578
+    </entry>
579
+  </component>
580
+</project>

+ 16
- 0
interfaces-1.iml Vedi File

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
4
+    <output url="file://$MODULE_DIR$/target/classes" />
5
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
+    <content url="file://$MODULE_DIR$">
7
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
9
+      <excludeFolder url="file://$MODULE_DIR$/target" />
10
+    </content>
11
+    <orderEntry type="inheritedJdk" />
12
+    <orderEntry type="sourceFolder" forTests="false" />
13
+    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
14
+    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
15
+  </component>
16
+</module>

+ 11
- 0
src/main/java/io/zipcoder/interfaces/Instructor.java Vedi File

@@ -0,0 +1,11 @@
1
+package io.zipcoder.interfaces;
2
+
3
+public class Instructor implements Teacher {
4
+    public void teach(Learner learner, double numberOfHours) {
5
+
6
+    }
7
+
8
+    public void lecture(Learner[] learners, double numberOfHours) {
9
+
10
+    }
11
+}

+ 7
- 0
src/main/java/io/zipcoder/interfaces/Learner.java Vedi File

@@ -0,0 +1,7 @@
1
+package io.zipcoder.interfaces;
2
+
3
+public interface Learner {
4
+
5
+    void learn(double numberOfHours);
6
+
7
+}

+ 15
- 0
src/main/java/io/zipcoder/interfaces/Person.java Vedi File

@@ -2,4 +2,19 @@ package io.zipcoder.interfaces;
2 2
 
3 3
 public class Person {
4 4
 
5
+
6
+    private final long id = 5;
7
+    private String name;
8
+
9
+    public long getId() {
10
+        return this.id;
11
+    }
12
+
13
+    public String getName() {
14
+        return this.name;
15
+    }
16
+
17
+    public void setName(String name) {
18
+        this.name = name;
19
+    }
5 20
 }

+ 15
- 0
src/main/java/io/zipcoder/interfaces/Student.java Vedi File

@@ -0,0 +1,15 @@
1
+package io.zipcoder.interfaces;
2
+
3
+public class Student extends Person implements Learner {
4
+
5
+    public double totalStudyTime = 5;
6
+
7
+    public void learn(double numberOfHours) {
8
+        totalStudyTime += numberOfHours;
9
+
10
+    }
11
+
12
+    public double getTotalStudyTime() {
13
+        return totalStudyTime;
14
+    }
15
+}

+ 10
- 0
src/main/java/io/zipcoder/interfaces/Teacher.java Vedi File

@@ -0,0 +1,10 @@
1
+package io.zipcoder.interfaces;
2
+
3
+public interface Teacher {
4
+
5
+    public void teach(Learner learner, double numberOfHours);
6
+
7
+    public void lecture(Learner[] learners, double numberOfHours);
8
+
9
+
10
+}

+ 19
- 0
src/test/java/io/zipcoder/interfaces/InstructorTest.java Vedi File

@@ -0,0 +1,19 @@
1
+package io.zipcoder.interfaces;
2
+
3
+
4
+import org.junit.Test;
5
+import org.junit.Assert;
6
+import sun.jvm.hotspot.oops.Instance;
7
+
8
+public class InstructorTest implements Teacher {
9
+
10
+    public void testImplementation(){
11
+        Teacher teacher = new Instructor();
12
+
13
+        
14
+
15
+        Assert.assertEquals(true, Instructor instanceof teacher);
16
+    }
17
+
18
+
19
+}

+ 48
- 0
src/test/java/io/zipcoder/interfaces/StudentTest.java Vedi File

@@ -0,0 +1,48 @@
1
+package io.zipcoder.interfaces;
2
+
3
+import org.junit.Test;
4
+import org.junit.Assert;
5
+import sun.jvm.hotspot.oops.Instance;
6
+
7
+public class StudentTest {
8
+    Student student = new Student();
9
+
10
+
11
+
12
+    @Test
13
+    public void testImplementation(){
14
+
15
+        student.learn(80);
16
+
17
+        Assert.assertEquals(true, student instanceof Learner);
18
+    }
19
+
20
+    @Test
21
+    public void testInheritance() {
22
+
23
+        Person person = new Student();
24
+
25
+        long expected = 5;
26
+        long actual = student.getId();
27
+
28
+        Assert.assertEquals(expected, actual);
29
+    }
30
+
31
+    @Test
32
+    public void testLearn(){
33
+        double total = 5;
34
+        student.learn(80);
35
+
36
+        double expected = 85;
37
+        double actual = student.totalStudyTime;
38
+
39
+        Assert.assertEquals(expected, actual, .001);
40
+
41
+    }
42
+
43
+
44
+
45
+
46
+
47
+
48
+}

+ 25
- 0
src/test/java/io/zipcoder/interfaces/TestPerson.java Vedi File

@@ -1,5 +1,30 @@
1 1
 package io.zipcoder.interfaces;
2 2
 
3
+import org.junit.Test;
4
+import org.junit.Assert;
5
+
3 6
 public class TestPerson {
4 7
 
8
+    Person person = new Person();
9
+
10
+    @Test
11
+    public void testConstructor(){
12
+
13
+        long actual = person.getId();
14
+
15
+        Assert.assertNotNull(actual);
16
+
17
+
18
+    }
19
+
20
+    @Test
21
+    public void testSetAndGetName(){
22
+
23
+        person.setName("John");
24
+        String expected = "John";
25
+        String actual = person.getName();
26
+
27
+        Assert.assertEquals(expected, actual);
28
+    }
29
+
5 30
 }