changeset 2:a367b7f0640e

First commit
author Tomoya Uchihara <e165728@ie.u-ryukyu.ac.jp>
date Tue, 31 Oct 2017 18:33:17 +0900
parents c5e7debe68fb
children 45b7facb4781
files .gradle/buildOutputCleanup/cache.properties .idea/compiler.xml .idea/gradle.xml .idea/libraries/Gradle__junit_junit_4_12.xml .idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml .idea/modules.xml .idea/modules/FileWrite.iml .idea/modules/FileWrite_main.iml .idea/modules/FileWrite_test.iml gradle/wrapper/gradle-wrapper.jar gradle/wrapper/gradle-wrapper.properties gradlew src/test/java/jp/ac/uryukyu/ie/e165728/FileWriteTest.java
diffstat 13 files changed, 102 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/.gradle/buildOutputCleanup/cache.properties	Tue Oct 31 17:35:13 2017 +0900
+++ b/.gradle/buildOutputCleanup/cache.properties	Tue Oct 31 18:33:17 2017 +0900
@@ -1,2 +1,2 @@
-#Tue Oct 31 15:00:45 JST 2017
-gradle.version=3.5-rc-2
+#Tue Oct 31 18:25:46 JST 2017
+gradle.version=4.2.1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.idea/compiler.xml	Tue Oct 31 18:33:17 2017 +0900
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="CompilerConfiguration">
+    <bytecodeTargetLevel>
+      <module name="FileWrite_main" target="1.9" />
+      <module name="FileWrite_test" target="1.9" />
+    </bytecodeTargetLevel>
+  </component>
+</project>
\ No newline at end of file
--- a/.idea/gradle.xml	Tue Oct 31 17:35:13 2017 +0900
+++ b/.idea/gradle.xml	Tue Oct 31 18:33:17 2017 +0900
@@ -6,6 +6,11 @@
         <option name="distributionType" value="DEFAULT_WRAPPED" />
         <option name="externalProjectPath" value="$PROJECT_DIR$" />
         <option name="gradleJvm" value="9" />
+        <option name="modules">
+          <set>
+            <option value="$PROJECT_DIR$" />
+          </set>
+        </option>
       </GradleProjectSettings>
     </option>
   </component>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.idea/libraries/Gradle__junit_junit_4_12.xml	Tue Oct 31 18:33:17 2017 +0900
@@ -0,0 +1,11 @@
+<component name="libraryTable">
+  <library name="Gradle: junit:junit:4.12">
+    <CLASSES>
+      <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/" />
+    </CLASSES>
+    <JAVADOC />
+    <SOURCES>
+      <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml	Tue Oct 31 18:33:17 2017 +0900
@@ -0,0 +1,11 @@
+<component name="libraryTable">
+  <library name="Gradle: org.hamcrest:hamcrest-core:1.3">
+    <CLASSES>
+      <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/" />
+    </CLASSES>
+    <JAVADOC />
+    <SOURCES>
+      <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/" />
+    </SOURCES>
+  </library>
+</component>
\ No newline at end of file
--- a/.idea/modules.xml	Tue Oct 31 17:35:13 2017 +0900
+++ b/.idea/modules.xml	Tue Oct 31 18:33:17 2017 +0900
@@ -3,6 +3,8 @@
   <component name="ProjectModuleManager">
     <modules>
       <module fileurl="file://$PROJECT_DIR$/.idea/modules/FileWrite.iml" filepath="$PROJECT_DIR$/.idea/modules/FileWrite.iml" />
+      <module fileurl="file://$PROJECT_DIR$/.idea/modules/FileWrite_main.iml" filepath="$PROJECT_DIR$/.idea/modules/FileWrite_main.iml" group="FileWrite" />
+      <module fileurl="file://$PROJECT_DIR$/.idea/modules/FileWrite_test.iml" filepath="$PROJECT_DIR$/.idea/modules/FileWrite_test.iml" group="FileWrite" />
     </modules>
   </component>
 </project>
\ No newline at end of file
--- a/.idea/modules/FileWrite.iml	Tue Oct 31 17:35:13 2017 +0900
+++ b/.idea/modules/FileWrite.iml	Tue Oct 31 18:33:17 2017 +0900
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
+<module external.linked.project.id="FileWrite" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="FileWrite" external.system.module.version="0.0" type="JAVA_MODULE" version="4">
   <component name="NewModuleRootManager" inherit-compiler-output="true">
     <exclude-output />
     <content url="file://$MODULE_DIR$/../..">
-      <sourceFolder url="file://$MODULE_DIR$/../../src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/../../src/test/java" isTestSource="true" />
+      <excludeFolder url="file://$MODULE_DIR$/../../.gradle" />
+      <excludeFolder url="file://$MODULE_DIR$/../../build" />
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.idea/modules/FileWrite_main.iml	Tue Oct 31 18:33:17 2017 +0900
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module external.linked.project.id="FileWrite:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="FileWrite" external.system.module.type="sourceSet" external.system.module.version="0.0" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_9">
+    <output url="file://$MODULE_DIR$/../../out/production/classes" />
+    <exclude-output />
+    <content url="file://$MODULE_DIR$/../../src/main">
+      <sourceFolder url="file://$MODULE_DIR$/../../src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/../../src/main/resources" type="java-resource" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.idea/modules/FileWrite_test.iml	Tue Oct 31 18:33:17 2017 +0900
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module external.linked.project.id="FileWrite:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="FileWrite" external.system.module.type="sourceSet" external.system.module.version="0.0" type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_9">
+    <output-test url="file://$MODULE_DIR$/../../out/test/classes" />
+    <exclude-output />
+    <content url="file://$MODULE_DIR$/../../src/test">
+      <sourceFolder url="file://$MODULE_DIR$/../../src/test/java" isTestSource="true" />
+      <sourceFolder url="file://$MODULE_DIR$/../../src/test/resources" type="java-test-resource" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="module" module-name="FileWrite_main" />
+    <orderEntry type="library" name="Gradle: junit:junit:4.12" level="project" />
+    <orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
+  </component>
+  <component name="TestModuleProperties" production-module="FileWrite_main" />
+</module>
\ No newline at end of file
Binary file gradle/wrapper/gradle-wrapper.jar has changed
--- a/gradle/wrapper/gradle-wrapper.properties	Tue Oct 31 17:35:13 2017 +0900
+++ b/gradle/wrapper/gradle-wrapper.properties	Tue Oct 31 18:33:17 2017 +0900
@@ -1,5 +1,4 @@
-#Tue Oct 31 15:00:45 JST 2017
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-rc-2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStorePath=wrapper/dists
--- a/gradlew	Tue Oct 31 17:35:13 2017 +0900
+++ b/gradlew	Tue Oct 31 18:33:17 2017 +0900
@@ -33,11 +33,11 @@
 # Use the maximum available, or set MAX_FD != -1 to use that value.
 MAX_FD="maximum"
 
-warn ( ) {
+warn () {
     echo "$*"
 }
 
-die ( ) {
+die () {
     echo
     echo "$*"
     echo
@@ -155,7 +155,7 @@
 fi
 
 # Escape application args
-save ( ) {
+save () {
     for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
     echo " "
 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/test/java/jp/ac/uryukyu/ie/e165728/FileWriteTest.java	Tue Oct 31 18:33:17 2017 +0900
@@ -0,0 +1,25 @@
+package jp.ac.uryukyu.ie.e165728;
+
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.asset.EmptyAsset;
+import org.jboss.shrinkwrap.api.spec.JavaArchive;
+import org.junit.runner.RunWith;
+
+import static org.junit.Assert.*;
+
+@RunWith(Arquillian.class)
+public class FileWriteTest {
+    @org.junit.Test
+    public void main() throws Exception {
+    }
+
+    @Deployment
+    public static JavaArchive createDeployment() {
+        return ShrinkWrap.create(JavaArchive.class)
+                .addClass(FileWrite.class)
+                .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
+    }
+
+}