Skip to content

Commit 31a2f65

Browse files
authored
Merge pull request #1 from mbenz89/master
Changed tests file name so Maven can find and run the test cases
2 parents 5d1daeb + 45912fc commit 31a2f65

File tree

3 files changed

+123
-3
lines changed

3 files changed

+123
-3
lines changed

.gitignore

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Java template
13
# Compiled class file
24
*.class
35

@@ -20,3 +22,123 @@
2022

2123
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2224
hs_err_pid*
25+
### JetBrains template
26+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
27+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
28+
29+
# User-specific stuff:
30+
.idea/**/workspace.xml
31+
.idea/**/tasks.xml
32+
.idea/dictionaries
33+
34+
# Sensitive or high-churn files:
35+
.idea/**/dataSources/
36+
.idea/**/dataSources.ids
37+
.idea/**/dataSources.xml
38+
.idea/**/dataSources.local.xml
39+
.idea/**/sqlDataSources.xml
40+
.idea/**/dynamic.xml
41+
.idea/**/uiDesigner.xml
42+
43+
*.iml
44+
45+
# Gradle:
46+
.idea/**/gradle.xml
47+
.idea/**/libraries
48+
49+
# CMake
50+
cmake-build-debug/
51+
cmake-build-release/
52+
53+
# Mongo Explorer plugin:
54+
.idea/**/mongoSettings.xml
55+
56+
## File-based project format:
57+
*.iws
58+
59+
## Plugin-specific files:
60+
61+
# IntelliJ
62+
out/
63+
64+
# mpeltonen/sbt-idea plugin
65+
.idea_modules/
66+
67+
# JIRA plugin
68+
atlassian-ide-plugin.xml
69+
70+
# Cursive Clojure plugin
71+
.idea/replstate.xml
72+
73+
# Crashlytics plugin (for Android Studio and IntelliJ)
74+
com_crashlytics_export_strings.xml
75+
crashlytics.properties
76+
crashlytics-build.properties
77+
fabric.properties
78+
### Maven template
79+
target/
80+
pom.xml.tag
81+
pom.xml.releaseBackup
82+
pom.xml.versionsBackup
83+
pom.xml.next
84+
release.properties
85+
dependency-reduced-pom.xml
86+
buildNumber.properties
87+
.mvn/timing.properties
88+
89+
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
90+
!/.mvn/wrapper/maven-wrapper.jar
91+
### Eclipse template
92+
93+
.metadata
94+
bin/
95+
tmp/
96+
*.tmp
97+
*.bak
98+
*.swp
99+
*~.nib
100+
local.properties
101+
.settings/
102+
.loadpath
103+
.recommenders
104+
105+
# External tool builders
106+
.externalToolBuilders/
107+
108+
# Locally stored "Eclipse launch configurations"
109+
*.launch
110+
111+
# PyDev specific (Python IDE for Eclipse)
112+
*.pydevproject
113+
114+
# CDT-specific (C/C++ Development Tooling)
115+
.cproject
116+
117+
# CDT- autotools
118+
.autotools
119+
120+
# Java annotation processor (APT)
121+
.factorypath
122+
123+
# PDT-specific (PHP Development Tools)
124+
.buildpath
125+
126+
# sbteclipse plugin
127+
.target
128+
129+
# Tern plugin
130+
.tern-project
131+
132+
# TeXlipse plugin
133+
.texlipse
134+
135+
# STS (Spring Tool Suite)
136+
.springBeans
137+
138+
# Code Recommenders
139+
.recommenders/
140+
141+
# Scala IDE specific (Scala & Java development for Eclipse)
142+
.cache-main
143+
.scala_dependencies
144+
.worksheet

src/pathexpression/PathExpressionComputer.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public PathExpressionComputer(LabeledGraph<N, V> graph) {
3737
private void initNodesToIntMap() {
3838
int size = nodeToIntMap.size();
3939
for (N node : graph.getNodes()) {
40-
System.out.println(node);
4140
nodeToIntMap.put(node, (++size));
4241
}
4342
}
@@ -152,7 +151,6 @@ private void eliminate() {
152151
}
153152
}
154153
}
155-
System.out.println();
156154
}
157155

158156

test/test/PathExpressionTests.java renamed to test/test/PathExpressionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import pathexpression.RegEx;
2121

2222

23-
public class PathExpressionTests {
23+
public class PathExpressionTest {
2424
@Test
2525
public void simple() {
2626
IntGraph g = new IntGraph();

0 commit comments

Comments
 (0)