ソースを参照

whew! only took 10+ years to get the file running

Amy Gill 6 年 前
コミット
f0067cc26f
共有5 個のファイルを変更した56 個の追加0 個の削除を含む
  1. 9
    0
      Crypto/src/ROT13.java
  2. 3
    0
      Crypto/src/ROT13Test.java
  3. 15
    0
      SimpleCrypt.iml
  4. 7
    0
      pom.xml
  5. 22
    0
      target/classes/Crypto.iml

+ 9
- 0
Crypto/src/ROT13.java ファイルの表示

@@ -1,9 +1,15 @@
1
+package src;
2
+
1 3
 import static java.lang.Character.isLowerCase;
2 4
 import static java.lang.Character.isUpperCase;
3 5
 import static java.lang.Character.toLowerCase;
4 6
 
5 7
 public class ROT13  {
6 8
 
9
+    public static void main(String[] args) {
10
+        System.out.println("0384");
11
+    }
12
+
7 13
     ROT13(Character cs, Character cf) {
8 14
     }
9 15
 
@@ -29,4 +35,7 @@ public class ROT13  {
29 35
         return "";
30 36
     }
31 37
 
38
+
39
+
40
+
32 41
 }

+ 3
- 0
Crypto/src/ROT13Test.java ファイルの表示

@@ -1,4 +1,7 @@
1
+package src;
2
+
1 3
 import org.junit.Test;
4
+import src.ROT13;
2 5
 
3 6
 import static org.junit.Assert.*;
4 7
 

+ 15
- 0
SimpleCrypt.iml ファイルの表示

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

+ 7
- 0
pom.xml ファイルの表示

@@ -7,6 +7,13 @@
7 7
     <groupId>com.zipcodewilmington</groupId>
8 8
     <artifactId>SimpleCrypt</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10
+    <dependencies>
11
+        <dependency>
12
+            <groupId>junit</groupId>
13
+            <artifactId>junit</artifactId>
14
+            <version>RELEASE</version>
15
+        </dependency>
16
+    </dependencies>
10 17
 
11 18
 
12 19
 </project>

+ 22
- 0
target/classes/Crypto.iml ファイルの表示

@@ -0,0 +1,22 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$">
6
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7
+    </content>
8
+    <orderEntry type="inheritedJdk" />
9
+    <orderEntry type="sourceFolder" forTests="false" />
10
+    <orderEntry type="library" name="Arquillian JUnit:Release" level="project" />
11
+    <orderEntry type="module-library">
12
+      <library name="JUnit4">
13
+        <CLASSES>
14
+          <root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar!/" />
15
+          <root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-core-1.3.jar!/" />
16
+        </CLASSES>
17
+        <JAVADOC />
18
+        <SOURCES />
19
+      </library>
20
+    </orderEntry>
21
+  </component>
22
+</module>