mpierse 7 lat temu
rodzic
commit
54b17cacdf
7 zmienionych plików z 31 dodań i 0 usunięć
  1. BIN
      .DS_Store
  2. BIN
      Crypto/.DS_Store
  3. 0
    0
      Crypto/Test/ROT13Test.java
  4. BIN
      Crypto/src/.DS_Store
  5. 7
    0
      Crypto/src/ROT13.java
  6. 16
    0
      SimpleCrypt.iml
  7. 8
    0
      pom.xml

BIN
.DS_Store Wyświetl plik


BIN
Crypto/.DS_Store Wyświetl plik


Crypto/src/ROT13Test.java → Crypto/Test/ROT13Test.java Wyświetl plik


BIN
Crypto/src/.DS_Store Wyświetl plik


+ 7
- 0
Crypto/src/ROT13.java Wyświetl plik

@@ -4,10 +4,17 @@ import static java.lang.Character.toLowerCase;
4 4
 
5 5
 public class ROT13  {
6 6
 
7
+    Character cs;
8
+    Character cf;
9
+
7 10
     ROT13(Character cs, Character cf) {
11
+        this.cs= cs;
12
+        this.cf=cf;
8 13
     }
9 14
 
10 15
     ROT13() {
16
+        this.cs='a';
17
+        this.cf='m';
11 18
     }
12 19
 
13 20
 

+ 16
- 0
SimpleCrypt.iml Wyświetl plik

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

+ 8
- 0
pom.xml Wyświetl plik

@@ -7,6 +7,14 @@
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>4.12</version>
15
+            <scope>test</scope>
16
+        </dependency>
17
+    </dependencies>
10 18
 
11 19
 
12 20
 </project>