updateClientServer
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+9
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<bytecodeTargetLevel>
|
||||||
|
<module name="com.bettercoding.jfx.Client.main" target="1.8" />
|
||||||
|
<module name="com.bettercoding.jfx.Client.test" target="1.8" />
|
||||||
|
</bytecodeTargetLevel>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/src/main/resources.iml" filepath="$PROJECT_DIR$/src/main/resources.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+124
@@ -0,0 +1,124 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Palette2">
|
||||||
|
<group name="Swing">
|
||||||
|
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Button" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="RadioButton" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="CheckBox" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Label" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||||
|
<preferred-size width="-1" height="20" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
</group>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+439
-53
@@ -11,27 +11,96 @@
|
|||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="CodeInsightWorkspaceSettings">
|
||||||
|
<option name="optimizeImportsOnTheFly" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="CoverageDataManager">
|
||||||
|
<SUITE FILE_PATH="coverage/Client$Application.ic" NAME="Application Coverage Results" MODIFIED="1551095783813" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false">
|
||||||
|
<FILTER>hello.*</FILTER>
|
||||||
|
</SUITE>
|
||||||
|
<SUITE FILE_PATH="coverage/Client$MessageTest.ic" NAME="MessageTest Coverage Results" MODIFIED="1551105971731" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Client$ApplicationTest.ic" NAME="ApplicationTest Coverage Results" MODIFIED="1551106538746" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
</component>
|
||||||
|
<component name="CoverageViewManager">
|
||||||
|
<option name="myElementSize" value="231" />
|
||||||
|
</component>
|
||||||
<component name="ExternalProjectsData">
|
<component name="ExternalProjectsData">
|
||||||
<projectState path="$PROJECT_DIR$">
|
<projectState path="$PROJECT_DIR$">
|
||||||
<ProjectState />
|
<ProjectState />
|
||||||
</projectState>
|
</projectState>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="ExternalProjectsManager">
|
||||||
|
<system id="GRADLE">
|
||||||
|
<state>
|
||||||
|
<task path="$PROJECT_DIR$">
|
||||||
|
<activation />
|
||||||
|
</task>
|
||||||
|
<projects_view>
|
||||||
|
<tree_state>
|
||||||
|
<expand>
|
||||||
|
<path>
|
||||||
|
<item name="" type="6a2764b6:ExternalProjectsStructure$RootNode" />
|
||||||
|
<item name="Client" type="f1a62948:ProjectNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="" type="6a2764b6:ExternalProjectsStructure$RootNode" />
|
||||||
|
<item name="Client" type="f1a62948:ProjectNode" />
|
||||||
|
<item name="Tasks" type="e4a08cd1:TasksNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="" type="6a2764b6:ExternalProjectsStructure$RootNode" />
|
||||||
|
<item name="Client" type="f1a62948:ProjectNode" />
|
||||||
|
<item name="Tasks" type="e4a08cd1:TasksNode" />
|
||||||
|
<item name="build" type="c8890929:TasksNode$1" />
|
||||||
|
</path>
|
||||||
|
</expand>
|
||||||
|
<select />
|
||||||
|
</tree_state>
|
||||||
|
</projects_view>
|
||||||
|
</state>
|
||||||
|
</system>
|
||||||
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf>
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="170">
|
<state relative-caret-position="45">
|
||||||
<caret line="19" selection-start-line="19" selection-end-line="19" />
|
<caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
<element signature="e#645#646#0" expanded="true" />
|
||||||
|
<element signature="e#701#702#0" expanded="true" />
|
||||||
|
<element signature="e#780#781#0" expanded="true" />
|
||||||
|
<element signature="e#818#819#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="true">
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/MessageTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="34">
|
||||||
|
<caret line="2" column="18" selection-start-line="2" selection-start-column="18" selection-end-line="2" selection-end-column="18" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/ApplicationTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="34">
|
||||||
|
<caret line="2" column="30" selection-start-line="2" selection-start-column="30" selection-end-line="2" selection-end-column="30" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/build.gradle">
|
<entry file="file://$PROJECT_DIR$/build.gradle">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="52">
|
<state relative-caret-position="341">
|
||||||
<caret line="15" selection-start-line="15" selection-end-line="15" />
|
<caret line="56" column="1" selection-start-line="56" selection-start-column="1" selection-end-line="56" selection-end-column="1" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -39,34 +108,55 @@
|
|||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Message.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Message.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="85">
|
<state relative-caret-position="330">
|
||||||
<caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
|
<caret line="36" column="1" lean-forward="true" selection-start-line="36" selection-start-column="1" selection-end-line="36" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#251#252#0" expanded="true" />
|
||||||
|
<element signature="e#276#277#0" expanded="true" />
|
||||||
|
<element signature="e#310#311#0" expanded="true" />
|
||||||
|
<element signature="e#338#339#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
</leaf>
|
</leaf>
|
||||||
</component>
|
</component>
|
||||||
<component name="IdeDocumentHistory">
|
<component name="FileTemplateManagerImpl">
|
||||||
<option name="CHANGED_PATHS">
|
<option name="RECENT_TEMPLATES">
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/build.gradle" />
|
<option value="Class" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectFrameBounds" extendedState="6">
|
<component name="IdeDocumentHistory">
|
||||||
<option name="x" value="135" />
|
<option name="CHANGED_PATHS">
|
||||||
<option name="y" value="13" />
|
<list>
|
||||||
<option name="width" value="1750" />
|
<option value="$PROJECT_DIR$/src/main/java/hello/MyApp.java" />
|
||||||
<option name="height" value="980" />
|
<option value="$PROJECT_DIR$/src/main/java/hello/Application.java" />
|
||||||
|
<option value="$PROJECT_DIR$/build.gradle" />
|
||||||
|
<option value="$PROJECT_DIR$/src/main/java/hello/Message.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/test/java/MessageTest.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/test/java/ApplicationTest.java" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="MavenProjectNavigator">
|
||||||
|
<treeState>
|
||||||
|
<expand />
|
||||||
|
<select />
|
||||||
|
</treeState>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectFrameBounds" extendedState="7">
|
||||||
|
<option name="x" value="-8" />
|
||||||
|
<option name="width" value="977" />
|
||||||
|
<option name="height" value="1038" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectView">
|
<component name="ProjectView">
|
||||||
<navigator proportions="" version="1">
|
<navigator proportions="" version="1">
|
||||||
<foldersAlwaysOnTop value="true" />
|
<foldersAlwaysOnTop value="true" />
|
||||||
</navigator>
|
</navigator>
|
||||||
<panes>
|
<panes>
|
||||||
<pane id="Scope" />
|
|
||||||
<pane id="PackagesPane" />
|
|
||||||
<pane id="ProjectPane">
|
<pane id="ProjectPane">
|
||||||
<subPane>
|
<subPane>
|
||||||
<expand>
|
<expand>
|
||||||
@@ -74,14 +164,62 @@
|
|||||||
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
||||||
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
</path>
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="main" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="hello" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Client" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Client" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
</expand>
|
</expand>
|
||||||
<select />
|
<select />
|
||||||
</subPane>
|
</subPane>
|
||||||
</pane>
|
</pane>
|
||||||
|
<pane id="PackagesPane" />
|
||||||
|
<pane id="Scope" />
|
||||||
</panes>
|
</panes>
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1550837993208" />
|
<property name="Downloaded.Files.Path.Enabled" value="false" />
|
||||||
|
<property name="Repository.Attach.Annotations" value="false" />
|
||||||
|
<property name="Repository.Attach.JavaDocs" value="false" />
|
||||||
|
<property name="Repository.Attach.Sources" value="false" />
|
||||||
|
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1551107128931" />
|
||||||
|
<property name="project.structure.last.edited" value="Modules" />
|
||||||
|
<property name="project.structure.proportion" value="0.15" />
|
||||||
|
<property name="project.structure.side.proportion" value="0.2" />
|
||||||
</component>
|
</component>
|
||||||
<component name="RunDashboard">
|
<component name="RunDashboard">
|
||||||
<option name="ruleStates">
|
<option name="ruleStates">
|
||||||
@@ -95,6 +233,80 @@
|
|||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="RunManager" selected="JUnit.ApplicationTest">
|
||||||
|
<configuration name="Application" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
||||||
|
<option name="MAIN_CLASS_NAME" value="hello.Application" />
|
||||||
|
<module name="Client.main" />
|
||||||
|
<extension name="coverage">
|
||||||
|
<pattern>
|
||||||
|
<option name="PATTERN" value="hello.*" />
|
||||||
|
<option name="ENABLED" value="true" />
|
||||||
|
</pattern>
|
||||||
|
</extension>
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration name="MyApp" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
||||||
|
<option name="MAIN_CLASS_NAME" value="hello.MyApp" />
|
||||||
|
<module name="com.bettercoding.jfx.Client.main" />
|
||||||
|
<extension name="coverage">
|
||||||
|
<pattern>
|
||||||
|
<option name="PATTERN" value="hello.*" />
|
||||||
|
<option name="ENABLED" value="true" />
|
||||||
|
</pattern>
|
||||||
|
</extension>
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration name="Client [build]" type="GradleRunConfiguration" factoryName="Gradle" temporary="true">
|
||||||
|
<ExternalSystemSettings>
|
||||||
|
<option name="executionName" />
|
||||||
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
|
<option name="externalSystemIdString" value="GRADLE" />
|
||||||
|
<option name="scriptParameters" />
|
||||||
|
<option name="taskDescriptions">
|
||||||
|
<list />
|
||||||
|
</option>
|
||||||
|
<option name="taskNames">
|
||||||
|
<list>
|
||||||
|
<option value="build" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
<option name="vmOptions" />
|
||||||
|
</ExternalSystemSettings>
|
||||||
|
<GradleScriptDebugEnabled>true</GradleScriptDebugEnabled>
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
<configuration name="ApplicationTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||||
|
<module name="Client.test" />
|
||||||
|
<option name="PACKAGE_NAME" value="" />
|
||||||
|
<option name="MAIN_CLASS_NAME" value="ApplicationTest" />
|
||||||
|
<option name="TEST_OBJECT" value="class" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration name="MessageTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||||
|
<module name="Client.test" />
|
||||||
|
<option name="PACKAGE_NAME" value="" />
|
||||||
|
<option name="MAIN_CLASS_NAME" value="MessageTest" />
|
||||||
|
<option name="TEST_OBJECT" value="class" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<recent_temporary>
|
||||||
|
<list>
|
||||||
|
<item itemvalue="JUnit.ApplicationTest" />
|
||||||
|
<item itemvalue="JUnit.MessageTest" />
|
||||||
|
<item itemvalue="Application.MyApp" />
|
||||||
|
<item itemvalue="Gradle.Client [build]" />
|
||||||
|
<item itemvalue="Application.Application" />
|
||||||
|
</list>
|
||||||
|
</recent_temporary>
|
||||||
|
</component>
|
||||||
<component name="SvnConfiguration">
|
<component name="SvnConfiguration">
|
||||||
<configuration />
|
<configuration />
|
||||||
</component>
|
</component>
|
||||||
@@ -108,63 +320,225 @@
|
|||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="TestHistory">
|
||||||
|
<history-entry file="MessageTest - 2019.02.25 at 15h 44m 31s.xml">
|
||||||
|
<configuration name="MessageTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="MessageTest - 2019.02.25 at 15h 45m 08s.xml">
|
||||||
|
<configuration name="MessageTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="MessageTest - 2019.02.25 at 15h 45m 29s.xml">
|
||||||
|
<configuration name="MessageTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="MessageTest - 2019.02.25 at 15h 45m 48s.xml">
|
||||||
|
<configuration name="MessageTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="MessageTest - 2019.02.25 at 15h 45m 52s.xml">
|
||||||
|
<configuration name="MessageTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="MessageTest - 2019.02.25 at 15h 46m 13s.xml">
|
||||||
|
<configuration name="MessageTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 50m 09s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 52m 02s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 52m 16s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 55m 39s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
|
<frame x="-7" y="-7" width="1550" height="838" extended-state="7" />
|
||||||
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info id="Image Layers" />
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.111409396" />
|
||||||
<window_info id="Designer" />
|
|
||||||
<window_info id="UI Designer" />
|
|
||||||
<window_info id="Capture Tool" />
|
|
||||||
<window_info id="Favorites" side_tool="true" />
|
|
||||||
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.22483222" />
|
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Version Control" />
|
<window_info id="Image Layers" order="2" />
|
||||||
<window_info anchor="bottom" id="Terminal" visible="true" weight="0.3045326" />
|
<window_info id="Designer" order="3" />
|
||||||
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
<window_info id="Capture Tool" order="4" />
|
||||||
<window_info anchor="bottom" id="Build" weight="0.3297546" />
|
<window_info id="UI Designer" order="5" />
|
||||||
|
<window_info id="Favorites" order="6" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
<window_info anchor="bottom" id="Find" order="1" />
|
||||||
<window_info anchor="bottom" id="Run" order="2" />
|
<window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.3286119" />
|
||||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.39943343" />
|
||||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="TODO" order="6" />
|
<window_info anchor="bottom" id="TODO" order="6" />
|
||||||
<window_info anchor="right" id="Palette" />
|
<window_info anchor="bottom" id="Terminal" order="7" weight="0.3045326" />
|
||||||
<window_info anchor="right" id="Gradle" />
|
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
|
||||||
<window_info anchor="right" id="Theme Preview" />
|
<window_info anchor="bottom" id="Version Control" order="9" />
|
||||||
<window_info anchor="right" id="Maven" />
|
<window_info anchor="bottom" id="Build" order="10" weight="0.3295129" />
|
||||||
<window_info anchor="right" id="Capture Analysis" />
|
<window_info anchor="bottom" id="Messages" order="11" weight="0.3295129" />
|
||||||
<window_info anchor="right" id="Palette	" />
|
<window_info active="true" anchor="right" id="Coverage" order="0" side_tool="true" visible="true" weight="0.3281879" />
|
||||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="2" weight="0.25" />
|
||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="3" weight="0.25" />
|
||||||
|
<window_info anchor="right" id="Palette" order="4" />
|
||||||
|
<window_info anchor="right" id="Gradle" order="5" weight="0.32871014" />
|
||||||
|
<window_info anchor="right" id="Theme Preview" order="6" />
|
||||||
|
<window_info anchor="right" id="Capture Analysis" order="7" />
|
||||||
|
<window_info anchor="right" id="Palette	" order="8" />
|
||||||
|
<window_info anchor="right" id="Maven" order="9" weight="0.3289183" />
|
||||||
</layout>
|
</layout>
|
||||||
|
<layout-to-restore>
|
||||||
|
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.47156727" />
|
||||||
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
|
<window_info id="Image Layers" order="2" />
|
||||||
|
<window_info id="Designer" order="3" />
|
||||||
|
<window_info id="Capture Tool" order="4" />
|
||||||
|
<window_info id="UI Designer" order="5" />
|
||||||
|
<window_info id="Favorites" order="6" side_tool="true" />
|
||||||
|
<window_info anchor="bottom" id="Messages" order="0" weight="0.3295129" />
|
||||||
|
<window_info anchor="bottom" id="Message" order="1" />
|
||||||
|
<window_info anchor="bottom" id="Find" order="2" />
|
||||||
|
<window_info anchor="bottom" id="Run" order="3" weight="0.3295129" />
|
||||||
|
<window_info anchor="bottom" id="Debug" order="4" weight="0.4" />
|
||||||
|
<window_info anchor="bottom" id="Cvs" order="5" weight="0.25" />
|
||||||
|
<window_info anchor="bottom" id="Inspection" order="6" weight="0.4" />
|
||||||
|
<window_info anchor="bottom" id="TODO" order="7" />
|
||||||
|
<window_info anchor="bottom" id="Terminal" order="8" visible="true" weight="0.30802292" />
|
||||||
|
<window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
|
||||||
|
<window_info anchor="bottom" id="Version Control" order="10" />
|
||||||
|
<window_info anchor="bottom" id="Build" order="11" weight="0.3295129" />
|
||||||
|
<window_info anchor="right" id="Coverage" order="0" side_tool="true" weight="0.32871014" />
|
||||||
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
|
||||||
|
<window_info anchor="right" id="Ant Build" order="2" weight="0.25" />
|
||||||
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="3" weight="0.25" />
|
||||||
|
<window_info anchor="right" id="Palette" order="4" />
|
||||||
|
<window_info anchor="right" id="Maven" order="5" />
|
||||||
|
<window_info anchor="right" id="Gradle" order="6" weight="0.32871014" />
|
||||||
|
<window_info anchor="right" id="Theme Preview" order="7" />
|
||||||
|
<window_info anchor="right" id="Capture Analysis" order="8" />
|
||||||
|
<window_info anchor="right" id="Palette	" order="9" />
|
||||||
|
</layout-to-restore>
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
|
<entry file="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/2.0.5.RELEASE/1d01cb7845c049c204191b8a553a322bb97208d9/spring-boot-2.0.5.RELEASE-sources.jar!/org/springframework/boot/CommandLineRunner.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="323">
|
||||||
|
<caret line="34" column="36" lean-forward="true" selection-start-line="34" selection-start-column="36" selection-end-line="34" selection-end-column="36" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/MyApp.java" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/deletedApplication.txt" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/build.gradle">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="341">
|
||||||
|
<caret line="56" column="1" selection-start-line="56" selection-start-column="1" selection-end-line="56" selection-end-column="1" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Message.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Message.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="85">
|
<state relative-caret-position="330">
|
||||||
<caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
|
<caret line="36" column="1" lean-forward="true" selection-start-line="36" selection-start-column="1" selection-end-line="36" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#251#252#0" expanded="true" />
|
||||||
|
<element signature="e#276#277#0" expanded="true" />
|
||||||
|
<element signature="e#310#311#0" expanded="true" />
|
||||||
|
<element signature="e#338#339#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/MessageTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="34">
|
||||||
|
<caret line="2" column="18" selection-start-line="2" selection-start-column="18" selection-end-line="2" selection-end-column="18" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/ApplicationTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="34">
|
||||||
|
<caret line="2" column="30" selection-start-line="2" selection-start-column="30" selection-end-line="2" selection-end-column="30" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="170">
|
<state relative-caret-position="45">
|
||||||
<caret line="19" selection-start-line="19" selection-end-line="19" />
|
<caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
|
||||||
</state>
|
<folding>
|
||||||
</provider>
|
<element signature="imports" expanded="true" />
|
||||||
</entry>
|
<element signature="e#645#646#0" expanded="true" />
|
||||||
<entry file="file://$PROJECT_DIR$/build.gradle">
|
<element signature="e#701#702#0" expanded="true" />
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<element signature="e#780#781#0" expanded="true" />
|
||||||
<state relative-caret-position="52">
|
<element signature="e#818#819#0" expanded="true" />
|
||||||
<caret line="15" selection-start-line="15" selection-end-line="15" />
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</component>
|
</component>
|
||||||
<component name="masterDetails">
|
<component name="masterDetails">
|
||||||
<states>
|
<states>
|
||||||
|
<state key="ArtifactsStructureConfigurable.UI">
|
||||||
|
<settings>
|
||||||
|
<artifact-editor />
|
||||||
|
<splitter-proportions>
|
||||||
|
<option name="proportions">
|
||||||
|
<list>
|
||||||
|
<option value="0.2" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</splitter-proportions>
|
||||||
|
</settings>
|
||||||
|
</state>
|
||||||
|
<state key="FacetStructureConfigurable.UI">
|
||||||
|
<settings>
|
||||||
|
<last-edited>No facets are configured</last-edited>
|
||||||
|
<splitter-proportions>
|
||||||
|
<option name="proportions">
|
||||||
|
<list>
|
||||||
|
<option value="0.2" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</splitter-proportions>
|
||||||
|
</settings>
|
||||||
|
</state>
|
||||||
|
<state key="GlobalLibrariesConfigurable.UI">
|
||||||
|
<settings>
|
||||||
|
<splitter-proportions>
|
||||||
|
<option name="proportions">
|
||||||
|
<list>
|
||||||
|
<option value="0.2" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</splitter-proportions>
|
||||||
|
</settings>
|
||||||
|
</state>
|
||||||
|
<state key="JdkListConfigurable.UI">
|
||||||
|
<settings>
|
||||||
|
<last-edited>10</last-edited>
|
||||||
|
<splitter-proportions>
|
||||||
|
<option name="proportions">
|
||||||
|
<list>
|
||||||
|
<option value="0.2" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</splitter-proportions>
|
||||||
|
</settings>
|
||||||
|
</state>
|
||||||
|
<state key="ModuleStructureConfigurable.UI">
|
||||||
|
<settings>
|
||||||
|
<last-edited>main|com.bettercoding.jfx.Client</last-edited>
|
||||||
|
<splitter-proportions>
|
||||||
|
<option name="proportions">
|
||||||
|
<list>
|
||||||
|
<option value="0.2" />
|
||||||
|
<option value="0.6" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</splitter-proportions>
|
||||||
|
</settings>
|
||||||
|
</state>
|
||||||
<state key="ProjectJDKs.UI">
|
<state key="ProjectJDKs.UI">
|
||||||
<settings>
|
<settings>
|
||||||
<last-edited>10</last-edited>
|
<last-edited>10</last-edited>
|
||||||
@@ -177,6 +551,18 @@
|
|||||||
</splitter-proportions>
|
</splitter-proportions>
|
||||||
</settings>
|
</settings>
|
||||||
</state>
|
</state>
|
||||||
|
<state key="ProjectLibrariesConfigurable.UI">
|
||||||
|
<settings>
|
||||||
|
<last-edited>Gradle: ch.qos.logback:logback-classic:1.2.3</last-edited>
|
||||||
|
<splitter-proportions>
|
||||||
|
<option name="proportions">
|
||||||
|
<list>
|
||||||
|
<option value="0.2" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</splitter-proportions>
|
||||||
|
</settings>
|
||||||
|
</state>
|
||||||
</states>
|
</states>
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
+30
-7
@@ -14,6 +14,13 @@ apply plugin: 'org.springframework.boot'
|
|||||||
apply plugin: 'io.spring.dependency-management'
|
apply plugin: 'io.spring.dependency-management'
|
||||||
apply plugin: 'jacoco'
|
apply plugin: 'jacoco'
|
||||||
|
|
||||||
|
sourceCompatibility = 1.8
|
||||||
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
|
test {
|
||||||
|
useJUnitPlatform()
|
||||||
|
}
|
||||||
|
|
||||||
bootJar {
|
bootJar {
|
||||||
baseName = 'gs-consuming-rest'
|
baseName = 'gs-consuming-rest'
|
||||||
version = '0.1.0'
|
version = '0.1.0'
|
||||||
@@ -23,12 +30,28 @@ repositories {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
targetCompatibility = 1.8
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile("org.springframework.boot:spring-boot-starter")
|
compile("org.springframework.boot:spring-boot-starter-web")
|
||||||
compile("org.springframework:spring-web")
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
||||||
compile("com.fasterxml.jackson.core:jackson-databind")
|
testCompile(
|
||||||
testCompile("junit:junit")
|
'junit:junit:4.12',
|
||||||
|
'org.junit.jupiter:junit-jupiter-api:5.4.0'
|
||||||
|
)
|
||||||
|
testRuntime(
|
||||||
|
'org.junit.jupiter:junit-jupiter-engine:5.4.0',
|
||||||
|
'org.junit.vintage:junit-vintage-engine:5.4.0'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
jacoco {
|
||||||
|
toolVersion = "0.8.2"
|
||||||
|
reportsDir = file("$buildDir/customJacocoReportDir")
|
||||||
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
reports {
|
||||||
|
xml.enabled false
|
||||||
|
csv.enabled false
|
||||||
|
html.destination file("${buildDir}/jacocoHtml")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -6,30 +6,30 @@ import org.springframework.boot.CommandLineRunner;
|
|||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.boot.web.client.RestTemplateBuilder;
|
import org.springframework.boot.web.client.RestTemplateBuilder;
|
||||||
|
import org.springframework.context.ApplicationContext;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.web.client.RestTemplate;
|
import org.springframework.web.client.RestTemplate;
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class Application {
|
public class Application {
|
||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(Application.class);
|
private static final Logger log = LoggerFactory.getLogger(Application.class);
|
||||||
|
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
SpringApplication.run(Application.class);
|
SpringApplication.run(Application.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public RestTemplate restTemplate(RestTemplateBuilder builder) {
|
public RestTemplate restTemplate(RestTemplateBuilder builder) {
|
||||||
return builder.build();
|
return builder.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public CommandLineRunner run(RestTemplate restTemplate) throws Exception {
|
public CommandLineRunner run(RestTemplate restTemplate) throws Exception {
|
||||||
return args -> {
|
return args -> {
|
||||||
Message message = restTemplate.getForObject(
|
Message message = restTemplate.getForObject(
|
||||||
"http://localhost:8080/greeting?name=Ceren", Message.class);
|
"http://localhost:8080/greeting?name=Ceren", Message.class);
|
||||||
log.info(message.toString());
|
log.info(message.toString());
|
||||||
|
};
|
||||||
};
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -5,13 +5,13 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|||||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||||
public class Message {
|
public class Message {
|
||||||
|
|
||||||
private long id;
|
private static long id;
|
||||||
private String content;
|
private static String content;
|
||||||
|
|
||||||
public Message() {
|
public Message() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getId() {
|
public static long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ public class Message {
|
|||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getContent() {
|
public static String getContent() {
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
public class ApplicationTest {
|
||||||
|
@Test
|
||||||
|
public void main() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void restTemplateTest() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void runTest() {}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
import hello.Message;
|
||||||
|
import org.junit.Assert;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
public class MessageTest {
|
||||||
|
@Test
|
||||||
|
void testGets() {
|
||||||
|
Message message = new Message();
|
||||||
|
message.setId(12345678910L);
|
||||||
|
message.setContent("hello");
|
||||||
|
long id = message.getId();
|
||||||
|
String content = message.getContent();
|
||||||
|
Assert.assertEquals(id, 12345678910L);
|
||||||
|
Assert.assertEquals(content, "hello");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void toStringTest() {
|
||||||
|
Message message = new Message();
|
||||||
|
message.setId(12345678910L);
|
||||||
|
message.setContent("hello");
|
||||||
|
Assert.assertEquals(message.toString(), "Message{id='12345678910', content=hello}" );
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+347
-59
@@ -11,6 +11,28 @@
|
|||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="CoverageDataManager">
|
||||||
|
<SUITE FILE_PATH="coverage/Server$GreetingTest.ic" NAME="GreetingTest Coverage Results" MODIFIED="1551100209640" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false">
|
||||||
|
<FILTER>hello.*</FILTER>
|
||||||
|
</SUITE>
|
||||||
|
<SUITE FILE_PATH="coverage/Server$All_in_Server_test.ic" NAME="All in Server.test Coverage Results" MODIFIED="1551103309935" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Server$All_in_Server__1_.ic" NAME="All in Server (1) Coverage Results" MODIFIED="1551103291954" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Server$MyClassTest.ic" NAME="MyClassTest Coverage Results" MODIFIED="1551089468794" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false">
|
||||||
|
<FILTER>hello.*</FILTER>
|
||||||
|
</SUITE>
|
||||||
|
<SUITE FILE_PATH="coverage/Server$GreetingControllerTest.ic" NAME="GreetingControllerTest Coverage Results" MODIFIED="1551104392951" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Server$GreetingTest__1_.ic" NAME="GreetingTest (1) Coverage Results" MODIFIED="1551103770292" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Server$GreetingTest_contexLoads.ic" NAME="GreetingTest.contexLoads Coverage Results" MODIFIED="1551101187799" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Server$ApplicationTest.ic" NAME="ApplicationTest Coverage Results" MODIFIED="1551106165264" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Server$All_in_Server.ic" NAME="All in Server Coverage Results" MODIFIED="1551103268350" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
|
||||||
|
<SUITE FILE_PATH="coverage/Server$Application.ic" NAME="Application Coverage Results" MODIFIED="1551106063871" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false">
|
||||||
|
<FILTER>hello.*</FILTER>
|
||||||
|
</SUITE>
|
||||||
|
</component>
|
||||||
|
<component name="CoverageViewManager">
|
||||||
|
<option name="myAutoScrollToSource" value="true" />
|
||||||
|
<option name="myElementSize" value="498" />
|
||||||
|
</component>
|
||||||
<component name="ExternalProjectsData">
|
<component name="ExternalProjectsData">
|
||||||
<projectState path="$PROJECT_DIR$">
|
<projectState path="$PROJECT_DIR$">
|
||||||
<ProjectState />
|
<ProjectState />
|
||||||
@@ -36,22 +58,63 @@
|
|||||||
</state>
|
</state>
|
||||||
</system>
|
</system>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="FavoritesManager">
|
||||||
|
<favorites_list name="Server" />
|
||||||
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf>
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="85">
|
<state>
|
||||||
<caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
|
<caret selection-end-line="11" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
<element signature="e#231#232#0" expanded="true" />
|
||||||
|
<element signature="e#293#294#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="true">
|
<file pinned="false" current-in-tab="true">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/ApplicationTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state>
|
||||||
|
<caret column="1" selection-start-column="1" selection-end-line="5" selection-end-column="1" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/GreetingTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="238">
|
||||||
|
<caret line="14" column="1" lean-forward="true" selection-start-line="14" selection-start-column="1" selection-end-line="14" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/build.gradle">
|
<entry file="file://$PROJECT_DIR$/build.gradle">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="224">
|
<state relative-caret-position="303">
|
||||||
<caret line="14" column="22" selection-start-line="14" selection-start-column="22" selection-end-line="14" selection-end-column="22" />
|
<caret line="59" lean-forward="true" selection-start-line="59" selection-end-line="59" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/GreetingControllerTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="238">
|
||||||
|
<caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -59,8 +122,8 @@
|
|||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Greeting.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Greeting.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="34">
|
<state relative-caret-position="204">
|
||||||
<caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
|
<caret line="12" column="15" selection-start-line="12" selection-start-column="15" selection-end-line="12" selection-end-column="15" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -68,33 +131,53 @@
|
|||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/GreetingController.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/GreetingController.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="221">
|
<state relative-caret-position="306">
|
||||||
<caret line="16" column="41" selection-start-line="16" selection-start-column="41" selection-end-line="16" selection-end-column="41" />
|
<caret line="18" column="1" lean-forward="true" selection-start-line="18" selection-start-column="1" selection-end-line="18" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
</leaf>
|
</leaf>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="FileTemplateManagerImpl">
|
||||||
|
<option name="RECENT_TEMPLATES">
|
||||||
|
<list>
|
||||||
|
<option value="JUnit5 Test Class" />
|
||||||
|
<option value="Class" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
<component name="IdeDocumentHistory">
|
<component name="IdeDocumentHistory">
|
||||||
<option name="CHANGED_PATHS">
|
<option name="CHANGED_PATHS">
|
||||||
<list>
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/src/main/java/hello/MyClassTest.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/main/java/hello/ApplicationTest.groovy" />
|
||||||
|
<option value="$PROJECT_DIR$/config/checkstyle/suppressions.xml" />
|
||||||
|
<option value="$PROJECT_DIR$/config/checkstyle/checkstyle.xml" />
|
||||||
|
<option value="$PROJECT_DIR$/src/main/java/hello/JUnit5ExampleTest.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/main/java/hello/ApplicationTest.java" />
|
||||||
<option value="$PROJECT_DIR$/build.gradle" />
|
<option value="$PROJECT_DIR$/build.gradle" />
|
||||||
|
<option value="$PROJECT_DIR$/src/main/java/hello/Greeting.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/test/java/GreetingTest.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/test/java/GreetingControllerTest.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/main/java/hello/Application.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/test/java/ApplicationTest.java" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectFrameBounds" extendedState="7">
|
<component name="ProjectFrameBounds" extendedState="7">
|
||||||
<option name="x" value="135" />
|
<option name="x" value="-8" />
|
||||||
<option name="y" value="13" />
|
<option name="width" value="977" />
|
||||||
<option name="width" value="1750" />
|
<option name="height" value="1038" />
|
||||||
<option name="height" value="980" />
|
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectView">
|
<component name="ProjectView">
|
||||||
<navigator proportions="" version="1">
|
<navigator proportions="" version="1">
|
||||||
<foldersAlwaysOnTop value="true" />
|
<foldersAlwaysOnTop value="true" />
|
||||||
</navigator>
|
</navigator>
|
||||||
<panes>
|
<panes>
|
||||||
<pane id="Scope" />
|
|
||||||
<pane id="ProjectPane">
|
<pane id="ProjectPane">
|
||||||
<subPane>
|
<subPane>
|
||||||
<expand>
|
<expand>
|
||||||
@@ -128,15 +211,46 @@
|
|||||||
<item name="java" type="462c0819:PsiDirectoryNode" />
|
<item name="java" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="hello" type="462c0819:PsiDirectoryNode" />
|
<item name="hello" type="462c0819:PsiDirectoryNode" />
|
||||||
</path>
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Server" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Server" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="Server" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Server" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="test" type="8a07ba80:GradleTreeStructureProvider$GradleModuleDirectoryNode" />
|
||||||
|
<item name="java" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
</expand>
|
</expand>
|
||||||
<select />
|
<select />
|
||||||
</subPane>
|
</subPane>
|
||||||
</pane>
|
</pane>
|
||||||
<pane id="PackagesPane" />
|
<pane id="PackagesPane" />
|
||||||
|
<pane id="Scope" />
|
||||||
</panes>
|
</panes>
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1550837258850" />
|
<property name="Downloaded.Files.Path.Enabled" value="true" />
|
||||||
|
<property name="Repository.Attach.Annotations" value="false" />
|
||||||
|
<property name="Repository.Attach.JavaDocs" value="false" />
|
||||||
|
<property name="Repository.Attach.Sources" value="false" />
|
||||||
|
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1551107153713" />
|
||||||
|
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit5" />
|
||||||
|
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.Groovy JUnit" value="groovy.util.GroovyTestCase" />
|
||||||
|
<property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit5" value="" />
|
||||||
|
<property name="create.test.in.the.same.root" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="RecentsManager">
|
||||||
|
<key name="CreateTestDialog.RecentsKey">
|
||||||
|
<recent name="hello" />
|
||||||
|
</key>
|
||||||
|
<key name="CreateTestDialog.Recents.Supers">
|
||||||
|
<recent name="" />
|
||||||
|
<recent name="groovy.util.GroovyTestCase" />
|
||||||
|
</key>
|
||||||
</component>
|
</component>
|
||||||
<component name="RunDashboard">
|
<component name="RunDashboard">
|
||||||
<option name="ruleStates">
|
<option name="ruleStates">
|
||||||
@@ -150,32 +264,77 @@
|
|||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="RunManager">
|
<component name="RunManager" selected="JUnit.ApplicationTest">
|
||||||
<configuration name="Server [bootRun]" type="GradleRunConfiguration" factoryName="Gradle" temporary="true">
|
<configuration name="Application" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
|
||||||
<ExternalSystemSettings>
|
<option name="MAIN_CLASS_NAME" value="hello.Application" />
|
||||||
<option name="executionName" />
|
<module name="Server.main" />
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
<extension name="coverage">
|
||||||
<option name="externalSystemIdString" value="GRADLE" />
|
<pattern>
|
||||||
<option name="scriptParameters" />
|
<option name="PATTERN" value="hello.*" />
|
||||||
<option name="taskDescriptions">
|
<option name="ENABLED" value="true" />
|
||||||
<list />
|
</pattern>
|
||||||
</option>
|
</extension>
|
||||||
<option name="taskNames">
|
<method v="2">
|
||||||
<list>
|
<option name="Make" enabled="true" />
|
||||||
<option value="bootRun" />
|
</method>
|
||||||
</list>
|
</configuration>
|
||||||
</option>
|
<configuration name="Application" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||||
<option name="vmOptions" />
|
<module name="Server.main" />
|
||||||
</ExternalSystemSettings>
|
<extension name="coverage">
|
||||||
<GradleScriptDebugEnabled>true</GradleScriptDebugEnabled>
|
<pattern>
|
||||||
<method v="2" />
|
<option name="PATTERN" value="hello.*" />
|
||||||
|
<option name="ENABLED" value="true" />
|
||||||
|
</pattern>
|
||||||
|
</extension>
|
||||||
|
<option name="PACKAGE_NAME" value="hello" />
|
||||||
|
<option name="MAIN_CLASS_NAME" value="hello.Application" />
|
||||||
|
<option name="TEST_OBJECT" value="class" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration name="ApplicationTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||||
|
<module name="Server.test" />
|
||||||
|
<option name="PACKAGE_NAME" value="" />
|
||||||
|
<option name="MAIN_CLASS_NAME" value="ApplicationTest" />
|
||||||
|
<option name="TEST_OBJECT" value="class" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration name="GreetingControllerTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||||
|
<module name="Server.test" />
|
||||||
|
<option name="PACKAGE_NAME" value="" />
|
||||||
|
<option name="MAIN_CLASS_NAME" value="GreetingControllerTest" />
|
||||||
|
<option name="TEST_OBJECT" value="class" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration name="GreetingTest (1)" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
|
||||||
|
<module name="Server.test" />
|
||||||
|
<option name="PACKAGE_NAME" value="" />
|
||||||
|
<option name="MAIN_CLASS_NAME" value="GreetingTest" />
|
||||||
|
<option name="TEST_OBJECT" value="class" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
<recent_temporary>
|
<recent_temporary>
|
||||||
<list>
|
<list>
|
||||||
<item itemvalue="Gradle.Server [bootRun]" />
|
<item itemvalue="JUnit.ApplicationTest" />
|
||||||
|
<item itemvalue="JUnit.Application" />
|
||||||
|
<item itemvalue="JUnit.GreetingControllerTest" />
|
||||||
|
<item itemvalue="Application.Application" />
|
||||||
|
<item itemvalue="JUnit.GreetingTest (1)" />
|
||||||
</list>
|
</list>
|
||||||
</recent_temporary>
|
</recent_temporary>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="StructureViewFactory">
|
||||||
|
<option name="AUTOSCROLL_MODE" value="false" />
|
||||||
|
<option name="AUTOSCROLL_FROM_SOURCE" value="true" />
|
||||||
|
<option name="ACTIVE_ACTIONS" value=",SHOW_PROPERTIES,SHOW_INTERFACES,ALPHA_COMPARATOR,VISIBILITY_SORTER" />
|
||||||
|
</component>
|
||||||
<component name="SvnConfiguration">
|
<component name="SvnConfiguration">
|
||||||
<configuration />
|
<configuration />
|
||||||
</component>
|
</component>
|
||||||
@@ -189,65 +348,194 @@
|
|||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="TestHistory">
|
||||||
|
<history-entry file="GreetingControllerTest - 2019.02.25 at 15h 10m 29s.xml">
|
||||||
|
<configuration name="GreetingControllerTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="GreetingControllerTest - 2019.02.25 at 15h 19m 54s.xml">
|
||||||
|
<configuration name="GreetingControllerTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 20m 23s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 21m 37s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 22m 16s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 26m 38s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 27m 29s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="Application - 2019.02.25 at 15h 47m 44s.xml">
|
||||||
|
<configuration name="Application" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 48m 20s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
<history-entry file="ApplicationTest - 2019.02.25 at 15h 49m 26s.xml">
|
||||||
|
<configuration name="ApplicationTest" configurationId="JUnit" />
|
||||||
|
</history-entry>
|
||||||
|
</component>
|
||||||
|
<component name="TodoView">
|
||||||
|
<todo-panel id="selected-file">
|
||||||
|
<is-autoscroll-to-source value="true" />
|
||||||
|
</todo-panel>
|
||||||
|
<todo-panel id="all">
|
||||||
|
<are-packages-shown value="true" />
|
||||||
|
<is-autoscroll-to-source value="true" />
|
||||||
|
</todo-panel>
|
||||||
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
|
<frame x="-7" y="-7" width="1550" height="838" extended-state="7" />
|
||||||
<editor active="true" />
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.23154363" />
|
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.4989733" visible="true" weight="0.17315437" />
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" sideWeight="0.5010267" side_tool="true" weight="0.445215" />
|
||||||
<window_info id="Image Layers" order="2" />
|
<window_info id="Image Layers" order="2" />
|
||||||
<window_info id="Designer" order="3" />
|
<window_info id="Designer" order="3" />
|
||||||
<window_info id="Capture Tool" order="4" />
|
<window_info id="Capture Tool" order="4" />
|
||||||
<window_info id="UI Designer" order="5" />
|
<window_info id="UI Designer" order="5" />
|
||||||
<window_info id="Favorites" order="6" side_tool="true" />
|
<window_info id="Favorites" order="6" sideWeight="0.5010482" side_tool="true" weight="0.21543624" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
<window_info anchor="bottom" id="Find" order="1" weight="0.32719547" />
|
||||||
<window_info anchor="bottom" id="Run" order="2" weight="0.3297546" />
|
<window_info anchor="bottom" id="Run" order="2" weight="0.32719547" />
|
||||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="TODO" order="6" />
|
<window_info anchor="bottom" id="TODO" order="6" weight="0.3286119" />
|
||||||
<window_info active="true" anchor="bottom" id="Terminal" order="7" visible="true" weight="0.3286119" />
|
<window_info anchor="bottom" id="Terminal" order="7" weight="0.20963173" />
|
||||||
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
|
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Version Control" order="9" />
|
<window_info anchor="bottom" id="Version Control" order="9" />
|
||||||
<window_info anchor="bottom" id="Build" order="10" weight="0.3045326" />
|
<window_info anchor="bottom" id="Build" order="10" weight="0.29320112" />
|
||||||
|
<window_info anchor="bottom" id="Messages" order="11" weight="0.32719547" />
|
||||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||||
<window_info anchor="right" id="Palette" order="3" />
|
<window_info anchor="right" id="Palette" order="3" />
|
||||||
<window_info anchor="right" id="Maven" order="4" />
|
<window_info anchor="right" id="Maven" order="4" />
|
||||||
<window_info anchor="right" id="Gradle" order="5" visible="true" weight="0.29597315" />
|
<window_info anchor="right" id="Gradle" order="5" weight="0.5492372" />
|
||||||
<window_info anchor="right" id="Theme Preview" order="6" />
|
<window_info anchor="right" id="Theme Preview" order="6" />
|
||||||
<window_info anchor="right" id="Capture Analysis" order="7" />
|
<window_info anchor="right" id="Capture Analysis" order="7" />
|
||||||
<window_info anchor="right" id="Palette	" order="8" />
|
<window_info anchor="right" id="Palette	" order="8" />
|
||||||
|
<window_info active="true" anchor="right" id="Coverage" order="9" side_tool="true" visible="true" weight="0.50939596" />
|
||||||
</layout>
|
</layout>
|
||||||
|
<layout-to-restore>
|
||||||
|
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.4989733" weight="0.17803468" />
|
||||||
|
<window_info id="Structure" order="1" sideWeight="0.5010267" side_tool="true" weight="0.445215" />
|
||||||
|
<window_info id="Image Layers" order="2" />
|
||||||
|
<window_info id="Designer" order="3" />
|
||||||
|
<window_info id="Capture Tool" order="4" />
|
||||||
|
<window_info id="UI Designer" order="5" />
|
||||||
|
<window_info id="Favorites" order="6" sideWeight="0.5010482" side_tool="true" weight="0.21543624" />
|
||||||
|
<window_info anchor="bottom" id="Messages" order="0" weight="0.32808024" />
|
||||||
|
<window_info anchor="bottom" id="Message" order="1" />
|
||||||
|
<window_info anchor="bottom" id="Find" order="2" weight="0.32719547" />
|
||||||
|
<window_info anchor="bottom" id="Run" order="3" visible="true" weight="0.32808024" />
|
||||||
|
<window_info anchor="bottom" id="Debug" order="4" weight="0.4" />
|
||||||
|
<window_info anchor="bottom" id="Cvs" order="5" weight="0.25" />
|
||||||
|
<window_info anchor="bottom" id="Inspection" order="6" weight="0.4" />
|
||||||
|
<window_info anchor="bottom" id="TODO" order="7" />
|
||||||
|
<window_info anchor="bottom" id="Terminal" order="8" weight="0.07736389" />
|
||||||
|
<window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
|
||||||
|
<window_info anchor="bottom" id="Version Control" order="10" />
|
||||||
|
<window_info anchor="bottom" id="Build" order="11" weight="0.29369628" />
|
||||||
|
<window_info anchor="right" id="Coverage" order="0" side_tool="true" weight="0.5098266" />
|
||||||
|
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="1" type="SLIDING" weight="0.4" />
|
||||||
|
<window_info anchor="right" id="Ant Build" order="2" weight="0.25" />
|
||||||
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="3" weight="0.25" />
|
||||||
|
<window_info anchor="right" id="Palette" order="4" />
|
||||||
|
<window_info anchor="right" id="Maven" order="5" />
|
||||||
|
<window_info anchor="right" id="Gradle" order="6" weight="0.5492372" />
|
||||||
|
<window_info anchor="right" id="Theme Preview" order="7" />
|
||||||
|
<window_info anchor="right" id="Capture Analysis" order="8" />
|
||||||
|
<window_info anchor="right" id="Palette	" order="9" />
|
||||||
|
</layout-to-restore>
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/MyClassTest.java" />
|
||||||
|
<entry file="jar://C:/Program Files/Java/jdk-10.0.2/lib/src.zip!/java.base/java/lang/Class.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="3621">
|
||||||
|
<caret line="290" selection-start-line="290" selection-end-line="290" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/ApplicationTest.groovy" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/config/checkstyle/suppressions.xml" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/config/checkstyle/checkstyle.xml" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/JUnit5ExampleTest.java" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/ApplicationTest.java" />
|
||||||
|
<entry file="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.0.9.RELEASE/ab4feec73b188109eb1a3aa8aed83c1f97ed1168/spring-core-5.0.9.RELEASE-sources.jar!/org/springframework/util/Assert.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="148">
|
||||||
|
<caret line="72" selection-start-line="72" selection-end-line="72" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/GreetingController.java">
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/GreetingController.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="221">
|
<state relative-caret-position="306">
|
||||||
<caret line="16" column="41" selection-start-line="16" selection-start-column="41" selection-end-line="16" selection-end-column="41" />
|
<caret line="18" column="1" lean-forward="true" selection-start-line="18" selection-start-column="1" selection-end-line="18" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Greeting.java">
|
<entry file="file://$PROJECT_DIR$/src/test/java/GreetingControllerTest.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="34">
|
<state relative-caret-position="238">
|
||||||
<caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
|
<caret line="14" lean-forward="true" selection-start-line="14" selection-end-line="14" />
|
||||||
</state>
|
<folding>
|
||||||
</provider>
|
<element signature="imports" expanded="true" />
|
||||||
</entry>
|
</folding>
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="85">
|
|
||||||
<caret line="6" column="13" selection-start-line="6" selection-start-column="13" selection-end-line="6" selection-end-column="13" />
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/build.gradle">
|
<entry file="file://$PROJECT_DIR$/build.gradle">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="224">
|
<state relative-caret-position="303">
|
||||||
<caret line="14" column="22" selection-start-line="14" selection-start-column="22" selection-end-line="14" selection-end-column="22" />
|
<caret line="59" lean-forward="true" selection-start-line="59" selection-end-line="59" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Greeting.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="204">
|
||||||
|
<caret line="12" column="15" selection-start-line="12" selection-start-column="15" selection-end-line="12" selection-end-column="15" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/GreetingTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="238">
|
||||||
|
<caret line="14" column="1" lean-forward="true" selection-start-line="14" selection-start-column="1" selection-end-line="14" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/main/java/hello/Application.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state>
|
||||||
|
<caret selection-end-line="11" selection-end-column="1" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
<element signature="e#231#232#0" expanded="true" />
|
||||||
|
<element signature="e#293#294#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/test/java/ApplicationTest.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state>
|
||||||
|
<caret column="1" selection-start-column="1" selection-end-line="5" selection-end-column="1" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
|||||||
+28
-1
@@ -19,6 +19,10 @@ bootJar {
|
|||||||
version = '0.1.0'
|
version = '0.1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test {
|
||||||
|
useJUnitPlatform()
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
@@ -29,4 +33,27 @@ targetCompatibility = 1.8
|
|||||||
dependencies {
|
dependencies {
|
||||||
compile("org.springframework.boot:spring-boot-starter-web")
|
compile("org.springframework.boot:spring-boot-starter-web")
|
||||||
testCompile('org.springframework.boot:spring-boot-starter-test')
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
||||||
}
|
testCompile(
|
||||||
|
'junit:junit:4.12',
|
||||||
|
'org.junit.jupiter:junit-jupiter-api:5.4.0'
|
||||||
|
)
|
||||||
|
testRuntime(
|
||||||
|
'org.junit.jupiter:junit-jupiter-engine:5.4.0',
|
||||||
|
'org.junit.vintage:junit-vintage-engine:5.4.0'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
jacoco {
|
||||||
|
toolVersion = "0.8.2"
|
||||||
|
reportsDir = file("$buildDir/customJacocoReportDir")
|
||||||
|
}
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
reports {
|
||||||
|
xml.enabled false
|
||||||
|
csv.enabled false
|
||||||
|
html.destination file("${buildDir}/jacocoHtml")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,106 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
|
||||||
|
<title>Test results - Class ApplicationTest</title>
|
||||||
|
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script src="../js/report.js" type="text/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Class ApplicationTest</h1>
|
||||||
|
<div class="breadcrumbs">
|
||||||
|
<a href="../index.html">all</a> >
|
||||||
|
<a href="../packages/default-package.html">default-package</a> > ApplicationTest</div>
|
||||||
|
<div id="summary">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="summaryGroup">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="tests">
|
||||||
|
<div class="counter">1</div>
|
||||||
|
<p>tests</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="failures">
|
||||||
|
<div class="counter">0</div>
|
||||||
|
<p>failures</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="ignored">
|
||||||
|
<div class="counter">0</div>
|
||||||
|
<p>ignored</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="duration">
|
||||||
|
<div class="counter">0.013s</div>
|
||||||
|
<p>duration</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox success" id="successRate">
|
||||||
|
<div class="percent">100%</div>
|
||||||
|
<p>successful</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="tabs">
|
||||||
|
<ul class="tabLinks">
|
||||||
|
<li>
|
||||||
|
<a href="#tab0">Tests</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#tab1">Standard output</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div id="tab0" class="tab">
|
||||||
|
<h2>Tests</h2>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Test</th>
|
||||||
|
<th>Duration</th>
|
||||||
|
<th>Result</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tr>
|
||||||
|
<td class="success">justAnExample()</td>
|
||||||
|
<td class="success">0.013s</td>
|
||||||
|
<td class="success">passed</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="tab1" class="tab">
|
||||||
|
<h2>Standard output</h2>
|
||||||
|
<span class="code">
|
||||||
|
<pre>This test method should be run
|
||||||
|
</pre>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<p>
|
||||||
|
<div>
|
||||||
|
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
|
||||||
|
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
||||||
|
</label>
|
||||||
|
</div>Generated by
|
||||||
|
<a href="http://www.gradle.org">Gradle 5.2.1</a> at 25 Feb 2019, 13:57:04</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,179 @@
|
|||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 12pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
body, a, a:visited {
|
||||||
|
color: #303030;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
padding-left: 50px;
|
||||||
|
padding-right: 50px;
|
||||||
|
padding-top: 30px;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content h1 {
|
||||||
|
font-size: 160%;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
margin-top: 100px;
|
||||||
|
font-size: 80%;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer, #footer a {
|
||||||
|
color: #a0a0a0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#line-wrapping-toggle {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
#label-for-line-wrapping-toggle {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3 {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 120%;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabLinks {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
overflow: auto;
|
||||||
|
min-width: 800px;
|
||||||
|
width: auto !important;
|
||||||
|
width: 800px;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabLinks li {
|
||||||
|
float: left;
|
||||||
|
height: 100%;
|
||||||
|
list-style: none;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
-moz-border-radius: 7px;
|
||||||
|
border-radius: 7px;
|
||||||
|
margin-right: 25px;
|
||||||
|
border: solid 1px #d4d4d4;
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabLinks li:hover {
|
||||||
|
background-color: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabLinks li.selected {
|
||||||
|
background-color: #c5f0f5;
|
||||||
|
border-color: #c5f0f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabLinks a {
|
||||||
|
font-size: 120%;
|
||||||
|
display: block;
|
||||||
|
outline: none;
|
||||||
|
text-decoration: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.tabLinks li h2 {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab {
|
||||||
|
}
|
||||||
|
|
||||||
|
div.selected {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.deselected {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab table {
|
||||||
|
min-width: 350px;
|
||||||
|
width: auto !important;
|
||||||
|
width: 350px;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab th, div.tab table {
|
||||||
|
border-bottom: solid #d0d0d0 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab th {
|
||||||
|
text-align: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
padding-left: 6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab th:first-child {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab td {
|
||||||
|
white-space: nowrap;
|
||||||
|
padding-left: 6em;
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab td:first-child {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.tab td.numeric, div.tab th.numeric {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.code {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 0em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.code pre {
|
||||||
|
font-size: 11pt;
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
margin: 0;
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
border: solid 1px #d0d0d0;
|
||||||
|
min-width: 700px;
|
||||||
|
width: auto !important;
|
||||||
|
width: 700px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.wrapped pre {
|
||||||
|
word-wrap: break-word;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
label.hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
|
||||||
|
#summary {
|
||||||
|
margin-top: 30px;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#summary table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
#summary td {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumbs, .breadcrumbs a {
|
||||||
|
color: #606060;
|
||||||
|
}
|
||||||
|
|
||||||
|
.infoBox {
|
||||||
|
width: 110px;
|
||||||
|
padding-top: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.infoBox p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.counter, .percent {
|
||||||
|
font-size: 120%;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#duration {
|
||||||
|
width: 125px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#successRate, .summaryGroup {
|
||||||
|
border: solid 2px #d0d0d0;
|
||||||
|
-moz-border-radius: 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#successRate {
|
||||||
|
width: 140px;
|
||||||
|
margin-left: 35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#successRate .percent {
|
||||||
|
font-size: 180%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.success, .success a {
|
||||||
|
color: #008000;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.success, #successRate.success {
|
||||||
|
background-color: #bbd9bb;
|
||||||
|
border-color: #008000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.failures, .failures a {
|
||||||
|
color: #b60808;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skipped, .skipped a {
|
||||||
|
color: #c09853;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.failures, #successRate.failures {
|
||||||
|
background-color: #ecdada;
|
||||||
|
border-color: #b60808;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.linkList {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.linkList li {
|
||||||
|
list-style: none;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
@@ -0,0 +1,133 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
|
||||||
|
<title>Test results - Test Summary</title>
|
||||||
|
<link href="css/base-style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="css/style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script src="js/report.js" type="text/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Test Summary</h1>
|
||||||
|
<div id="summary">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="summaryGroup">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="tests">
|
||||||
|
<div class="counter">1</div>
|
||||||
|
<p>tests</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="failures">
|
||||||
|
<div class="counter">0</div>
|
||||||
|
<p>failures</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="ignored">
|
||||||
|
<div class="counter">0</div>
|
||||||
|
<p>ignored</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="duration">
|
||||||
|
<div class="counter">0.013s</div>
|
||||||
|
<p>duration</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox success" id="successRate">
|
||||||
|
<div class="percent">100%</div>
|
||||||
|
<p>successful</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="tabs">
|
||||||
|
<ul class="tabLinks">
|
||||||
|
<li>
|
||||||
|
<a href="#tab0">Packages</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#tab1">Classes</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div id="tab0" class="tab">
|
||||||
|
<h2>Packages</h2>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Package</th>
|
||||||
|
<th>Tests</th>
|
||||||
|
<th>Failures</th>
|
||||||
|
<th>Ignored</th>
|
||||||
|
<th>Duration</th>
|
||||||
|
<th>Success rate</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="success">
|
||||||
|
<a href="packages/default-package.html">default-package</a>
|
||||||
|
</td>
|
||||||
|
<td>1</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0.013s</td>
|
||||||
|
<td class="success">100%</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="tab1" class="tab">
|
||||||
|
<h2>Classes</h2>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Class</th>
|
||||||
|
<th>Tests</th>
|
||||||
|
<th>Failures</th>
|
||||||
|
<th>Ignored</th>
|
||||||
|
<th>Duration</th>
|
||||||
|
<th>Success rate</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="success">
|
||||||
|
<a href="classes/ApplicationTest.html">ApplicationTest</a>
|
||||||
|
</td>
|
||||||
|
<td>1</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0.013s</td>
|
||||||
|
<td class="success">100%</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<p>
|
||||||
|
<div>
|
||||||
|
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
|
||||||
|
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
||||||
|
</label>
|
||||||
|
</div>Generated by
|
||||||
|
<a href="http://www.gradle.org">Gradle 5.2.1</a> at 25 Feb 2019, 13:57:04</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,194 @@
|
|||||||
|
(function (window, document) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
var tabs = {};
|
||||||
|
|
||||||
|
function changeElementClass(element, classValue) {
|
||||||
|
if (element.getAttribute("className")) {
|
||||||
|
element.setAttribute("className", classValue);
|
||||||
|
} else {
|
||||||
|
element.setAttribute("class", classValue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function getClassAttribute(element) {
|
||||||
|
if (element.getAttribute("className")) {
|
||||||
|
return element.getAttribute("className");
|
||||||
|
} else {
|
||||||
|
return element.getAttribute("class");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function addClass(element, classValue) {
|
||||||
|
changeElementClass(element, getClassAttribute(element) + " " + classValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
function removeClass(element, classValue) {
|
||||||
|
changeElementClass(element, getClassAttribute(element).replace(classValue, ""));
|
||||||
|
}
|
||||||
|
|
||||||
|
function initTabs() {
|
||||||
|
var container = document.getElementById("tabs");
|
||||||
|
|
||||||
|
tabs.tabs = findTabs(container);
|
||||||
|
tabs.titles = findTitles(tabs.tabs);
|
||||||
|
tabs.headers = findHeaders(container);
|
||||||
|
tabs.select = select;
|
||||||
|
tabs.deselectAll = deselectAll;
|
||||||
|
tabs.select(0);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getCheckBox() {
|
||||||
|
return document.getElementById("line-wrapping-toggle");
|
||||||
|
}
|
||||||
|
|
||||||
|
function getLabelForCheckBox() {
|
||||||
|
return document.getElementById("label-for-line-wrapping-toggle");
|
||||||
|
}
|
||||||
|
|
||||||
|
function findCodeBlocks() {
|
||||||
|
var spans = document.getElementById("tabs").getElementsByTagName("span");
|
||||||
|
var codeBlocks = [];
|
||||||
|
for (var i = 0; i < spans.length; ++i) {
|
||||||
|
if (spans[i].className.indexOf("code") >= 0) {
|
||||||
|
codeBlocks.push(spans[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return codeBlocks;
|
||||||
|
}
|
||||||
|
|
||||||
|
function forAllCodeBlocks(operation) {
|
||||||
|
var codeBlocks = findCodeBlocks();
|
||||||
|
|
||||||
|
for (var i = 0; i < codeBlocks.length; ++i) {
|
||||||
|
operation(codeBlocks[i], "wrapped");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleLineWrapping() {
|
||||||
|
var checkBox = getCheckBox();
|
||||||
|
|
||||||
|
if (checkBox.checked) {
|
||||||
|
forAllCodeBlocks(addClass);
|
||||||
|
} else {
|
||||||
|
forAllCodeBlocks(removeClass);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function initControls() {
|
||||||
|
if (findCodeBlocks().length > 0) {
|
||||||
|
var checkBox = getCheckBox();
|
||||||
|
var label = getLabelForCheckBox();
|
||||||
|
|
||||||
|
checkBox.onclick = toggleLineWrapping;
|
||||||
|
checkBox.checked = false;
|
||||||
|
|
||||||
|
removeClass(label, "hidden");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function switchTab() {
|
||||||
|
var id = this.id.substr(1);
|
||||||
|
|
||||||
|
for (var i = 0; i < tabs.tabs.length; i++) {
|
||||||
|
if (tabs.tabs[i].id === id) {
|
||||||
|
tabs.select(i);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function select(i) {
|
||||||
|
this.deselectAll();
|
||||||
|
|
||||||
|
changeElementClass(this.tabs[i], "tab selected");
|
||||||
|
changeElementClass(this.headers[i], "selected");
|
||||||
|
|
||||||
|
while (this.headers[i].firstChild) {
|
||||||
|
this.headers[i].removeChild(this.headers[i].firstChild);
|
||||||
|
}
|
||||||
|
|
||||||
|
var h2 = document.createElement("H2");
|
||||||
|
|
||||||
|
h2.appendChild(document.createTextNode(this.titles[i]));
|
||||||
|
this.headers[i].appendChild(h2);
|
||||||
|
}
|
||||||
|
|
||||||
|
function deselectAll() {
|
||||||
|
for (var i = 0; i < this.tabs.length; i++) {
|
||||||
|
changeElementClass(this.tabs[i], "tab deselected");
|
||||||
|
changeElementClass(this.headers[i], "deselected");
|
||||||
|
|
||||||
|
while (this.headers[i].firstChild) {
|
||||||
|
this.headers[i].removeChild(this.headers[i].firstChild);
|
||||||
|
}
|
||||||
|
|
||||||
|
var a = document.createElement("A");
|
||||||
|
|
||||||
|
a.setAttribute("id", "ltab" + i);
|
||||||
|
a.setAttribute("href", "#tab" + i);
|
||||||
|
a.onclick = switchTab;
|
||||||
|
a.appendChild(document.createTextNode(this.titles[i]));
|
||||||
|
|
||||||
|
this.headers[i].appendChild(a);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function findTabs(container) {
|
||||||
|
return findChildElements(container, "DIV", "tab");
|
||||||
|
}
|
||||||
|
|
||||||
|
function findHeaders(container) {
|
||||||
|
var owner = findChildElements(container, "UL", "tabLinks");
|
||||||
|
return findChildElements(owner[0], "LI", null);
|
||||||
|
}
|
||||||
|
|
||||||
|
function findTitles(tabs) {
|
||||||
|
var titles = [];
|
||||||
|
|
||||||
|
for (var i = 0; i < tabs.length; i++) {
|
||||||
|
var tab = tabs[i];
|
||||||
|
var header = findChildElements(tab, "H2", null)[0];
|
||||||
|
|
||||||
|
header.parentNode.removeChild(header);
|
||||||
|
|
||||||
|
if (header.innerText) {
|
||||||
|
titles.push(header.innerText);
|
||||||
|
} else {
|
||||||
|
titles.push(header.textContent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return titles;
|
||||||
|
}
|
||||||
|
|
||||||
|
function findChildElements(container, name, targetClass) {
|
||||||
|
var elements = [];
|
||||||
|
var children = container.childNodes;
|
||||||
|
|
||||||
|
for (var i = 0; i < children.length; i++) {
|
||||||
|
var child = children.item(i);
|
||||||
|
|
||||||
|
if (child.nodeType === 1 && child.nodeName === name) {
|
||||||
|
if (targetClass && child.className.indexOf(targetClass) < 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
elements.push(child);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return elements;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Entry point.
|
||||||
|
|
||||||
|
window.onload = function() {
|
||||||
|
initTabs();
|
||||||
|
initControls();
|
||||||
|
};
|
||||||
|
} (window, window.document));
|
||||||
@@ -0,0 +1,103 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
|
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
|
||||||
|
<title>Test results - Default package</title>
|
||||||
|
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script src="../js/report.js" type="text/javascript"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="content">
|
||||||
|
<h1>Default package</h1>
|
||||||
|
<div class="breadcrumbs">
|
||||||
|
<a href="../index.html">all</a> > default-package</div>
|
||||||
|
<div id="summary">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="summaryGroup">
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="tests">
|
||||||
|
<div class="counter">1</div>
|
||||||
|
<p>tests</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="failures">
|
||||||
|
<div class="counter">0</div>
|
||||||
|
<p>failures</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="ignored">
|
||||||
|
<div class="counter">0</div>
|
||||||
|
<p>ignored</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox" id="duration">
|
||||||
|
<div class="counter">0.013s</div>
|
||||||
|
<p>duration</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<div class="infoBox success" id="successRate">
|
||||||
|
<div class="percent">100%</div>
|
||||||
|
<p>successful</p>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="tabs">
|
||||||
|
<ul class="tabLinks">
|
||||||
|
<li>
|
||||||
|
<a href="#tab0">Classes</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<div id="tab0" class="tab">
|
||||||
|
<h2>Classes</h2>
|
||||||
|
<table>
|
||||||
|
<thread>
|
||||||
|
<tr>
|
||||||
|
<th>Class</th>
|
||||||
|
<th>Tests</th>
|
||||||
|
<th>Failures</th>
|
||||||
|
<th>Ignored</th>
|
||||||
|
<th>Duration</th>
|
||||||
|
<th>Success rate</th>
|
||||||
|
</tr>
|
||||||
|
</thread>
|
||||||
|
<tr>
|
||||||
|
<td class="success">
|
||||||
|
<a href="../classes/ApplicationTest.html">ApplicationTest</a>
|
||||||
|
</td>
|
||||||
|
<td>1</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0</td>
|
||||||
|
<td>0.013s</td>
|
||||||
|
<td class="success">100%</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<p>
|
||||||
|
<div>
|
||||||
|
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
|
||||||
|
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
||||||
|
</label>
|
||||||
|
</div>Generated by
|
||||||
|
<a href="http://www.gradle.org">Gradle 5.2.1</a> at 25 Feb 2019, 13:57:04</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<testsuite name="ApplicationTest" tests="1" skipped="0" failures="0" errors="0" timestamp="2019-02-25T12:57:04" hostname="DESKTOP-FATFDSA" time="0.013">
|
||||||
|
<properties/>
|
||||||
|
<testcase name="justAnExample()" classname="ApplicationTest" time="0.013"/>
|
||||||
|
<system-out><![CDATA[This test method should be run
|
||||||
|
]]></system-out>
|
||||||
|
<system-err><![CDATA[]]></system-err>
|
||||||
|
</testsuite>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
This test method should be run
|
||||||
Binary file not shown.
Binary file not shown.
@@ -9,4 +9,5 @@ public class Application {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(Application.class, args);
|
SpringApplication.run(Application.class, args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,19 +2,19 @@ package hello;
|
|||||||
|
|
||||||
public class Greeting {
|
public class Greeting {
|
||||||
|
|
||||||
private final long id;
|
private static long id;
|
||||||
private final String content;
|
private static String content;
|
||||||
|
|
||||||
public Greeting(long id, String content) {
|
public Greeting(long id, String content) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
this.content = content;
|
this.content = content;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long getId() {
|
public static long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getContent() {
|
public static String getContent() {
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
import org.junit.Test;
|
||||||
|
public class ApplicationTest {
|
||||||
|
@Test
|
||||||
|
public void main() {
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
import hello.Greeting;
|
||||||
|
import hello.GreetingController;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
|
||||||
|
|
||||||
|
public class GreetingControllerTest {
|
||||||
|
@Test
|
||||||
|
void nullTest() {
|
||||||
|
GreetingController controller = new GreetingController();
|
||||||
|
assertThat(controller).isNotNull();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import hello.Greeting;
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
|
||||||
|
|
||||||
|
public class GreetingTest {
|
||||||
|
@Test
|
||||||
|
void testGets() {
|
||||||
|
Greeting greeting = new Greeting(1, "hello");
|
||||||
|
long id = greeting.getId();
|
||||||
|
String content = greeting.getContent();
|
||||||
|
assertThat(id).isEqualTo(1);
|
||||||
|
assertThat(content).isEqualTo(content);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user