Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Compiled class file
dbdiffchecker/*.class
src/dbdiffchecker/*.class
src/tests/*.class

# build data
build/

# test data
test/

# log data
logs/

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Routine Options
run - makes and runs the JAR file
push - commits the current repo and pushes it
debug - runs the current code base for testing
test - runs the unit tests on the source code
clean - deletes the test, logs, and build directories
Enter desired option:
```
Expand All @@ -86,11 +87,11 @@ After modifying any of the Java files in the repository, you can go to the base
python routines.py
```

When prompted for the routine to run, enter 'debug'. This will compile all of the current Java files into the test/db_diff_checker_gui folder where it will be run if no errors occur (no JAR file will be created).
When prompted for the routine to run, enter 'debug'. This will compile all of the current Java files into the test/dbdiffchecker folder where it will be run if no errors occur (no JAR file will be created).

### Manually Running The JAR File

In order to use the JAR file with logs, make sure that where you run the jar file you have a logs folder.
In order to use the JAR file with logs, make sure that where you run the jar file you have a logs folder. Also make sure that the jar file is located in the same directory as the lib folder containing the jar files for the reopsitory.

To run the applciation through the JAR file run

Expand Down
4 changes: 2 additions & 2 deletions docs/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:19 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:29 EDT 2019 -->
<title>All Classes</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:19 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:29 EDT 2019 -->
<title>All Classes</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
54 changes: 52 additions & 2 deletions docs/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:19 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:29 EDT 2019 -->
<title>Constant Field Values</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down Expand Up @@ -70,6 +70,56 @@
<div class="header">
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
<h2 title="Contents">Contents</h2>
<ul>
<li><a href="#dbdiffchecker">dbdiffchecker.*</a></li>
</ul>
</div>
<div class="constantValuesContainer"><a name="dbdiffchecker">
<!-- -->
</a>
<h2 title="dbdiffchecker">dbdiffchecker.*</h2>
<ul class="blockList">
<li class="blockList">
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<caption><span>dbdiffchecker.<a href="dbdiffchecker/FileHandler.html" title="class in dbdiffchecker">FileHandler</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a name="dbdiffchecker.FileHandler.databaseSnapshotFileName">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;java.lang.String</code></td>
<td><code><a href="dbdiffchecker/FileHandler.html#databaseSnapshotFileName">databaseSnapshotFileName</a></code></td>
<td class="colLast"><code>"dbsnapshot"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="dbdiffchecker.FileHandler.lastSequelStatementFileName">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;java.lang.String</code></td>
<td><code><a href="dbdiffchecker/FileHandler.html#lastSequelStatementFileName">lastSequelStatementFileName</a></code></td>
<td class="colLast"><code>"lastRun.txt"</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a name="dbdiffchecker.FileHandler.logFileName">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;java.lang.String</code></td>
<td><code><a href="dbdiffchecker/FileHandler.html#logFileName">logFileName</a></code></td>
<td class="colLast"><code>"activity.log"</code></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a name="dbdiffchecker.FileHandler.logFolder">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;java.lang.String</code></td>
<td><code><a href="dbdiffchecker/FileHandler.html#logFolder">logFolder</a></code></td>
<td class="colLast"><code>"logs"</code></td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
Expand Down
15 changes: 6 additions & 9 deletions docs/dbdiffchecker/Column.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:13 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:25 EDT 2019 -->
<title>Column</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
Expand Down Expand Up @@ -118,10 +118,7 @@ <h2 title="Class Column" class="title">Class Column</h2>
<br>
<pre>public class <span class="typeNameLabel">Column</span>
extends <a href="../dbdiffchecker/Schema.html" title="class in dbdiffchecker">Schema</a></pre>
<div class="block">Column resembles a column in MySQL and contains column info.
Program Name: Database Difference Checker
CSCI Course: 325
Grade Received: Pass</div>
<div class="block">Column resembles a column in MySQL and contains column info.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>9-10-17</dd>
Expand Down Expand Up @@ -189,7 +186,7 @@ <h3>Method Summary</h3>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../dbdiffchecker/Column.html#getDetails--">getDetails</a></span>()</code>
<div class="block">returns the column detailts.</div>
<div class="block">Returns the column detailts.</div>
</td>
</tr>
</table>
Expand Down Expand Up @@ -262,10 +259,10 @@ <h3>Method Detail</h3>
<li class="blockList">
<h4>getDetails</h4>
<pre>public&nbsp;java.lang.String&nbsp;getDetails()</pre>
<div class="block">returns the column detailts.</div>
<div class="block">Returns the column detailts.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the info about the column</dd>
<dd>Info about the column.</dd>
</dl>
</li>
</ul>
Expand Down
9 changes: 3 additions & 6 deletions docs/dbdiffchecker/DBCompare.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:16 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:26 EDT 2019 -->
<title>DBCompare</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
Expand Down Expand Up @@ -144,10 +144,7 @@ <h2 title="Class DBCompare" class="title">Class DBCompare</h2>
<pre>public class <span class="typeNameLabel">DBCompare</span>
extends <a href="../dbdiffchecker/JFrameV2.html" title="class in dbdiffchecker">JFrameV2</a></pre>
<div class="block">DBCompare is a JFrame that takes user input to make a comparison between 1
devDatabase and a devDatabase snapshot or to take a devDatabase snapshot.
Program Name: Database Difference Checker
CSCI Course: 325
Grade Received: Pass</div>
devDatabase and a devDatabase snapshot or to take a devDatabase snapshot.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>9-20-17</dd>
Expand Down
9 changes: 3 additions & 6 deletions docs/dbdiffchecker/DB_Diff_Checker_GUI.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:15 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:26 EDT 2019 -->
<title>DB_Diff_Checker_GUI</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
Expand Down Expand Up @@ -143,10 +143,7 @@ <h2 title="Class DB_Diff_Checker_GUI" class="title">Class DB_Diff_Checker_GUI</h
<br>
<pre>public class <span class="typeNameLabel">DB_Diff_Checker_GUI</span>
extends <a href="../dbdiffchecker/JFrameV2.html" title="class in dbdiffchecker">JFrameV2</a></pre>
<div class="block">DB_Diff_Checker_GUI is a JFrame that takes user input to decide which JFrame to open.
Program Name: Database Difference Checker
CSCI Course: 325
Grade Received: Pass</div>
<div class="block">DB_Diff_Checker_GUI is a JFrame that takes user input to decide which JFrame to open.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>9-20-17</dd>
Expand Down
9 changes: 3 additions & 6 deletions docs/dbdiffchecker/Database.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:13 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:25 EDT 2019 -->
<title>Database</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
Expand Down Expand Up @@ -114,10 +114,7 @@ <h2 title="Class Database" class="title">Class Database</h2>
<pre>public class <span class="typeNameLabel">Database</span>
extends java.lang.Object
implements java.io.Serializable</pre>
<div class="block">Database models a MYSQL database schema.
Program Name: Database Difference Checker
CSCI Course: 325
Grade Received: Pass</div>
<div class="block">Database models a MYSQL database schema.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>9-18-17</dd>
Expand Down
9 changes: 3 additions & 6 deletions docs/dbdiffchecker/DatabaseDiffernceCheckerException.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:13 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:25 EDT 2019 -->
<title>DatabaseDiffernceCheckerException</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
Expand Down Expand Up @@ -117,10 +117,7 @@ <h2 title="Class DatabaseDiffernceCheckerException" class="title">Class Database
<br>
<pre>public class <span class="typeNameLabel">DatabaseDiffernceCheckerException</span>
extends java.lang.Exception</pre>
<div class="block">DatabaseDiffernceCheckerException used to wrap exception that occur throughtout the program.
Program Name: Database Difference Checker
CSCI Course: 325
Grade Received: Pass</div>
<div class="block">DatabaseDiffernceCheckerException used to wrap exception that occur throughtout the program.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>7-29-18</dd>
Expand Down
9 changes: 3 additions & 6 deletions docs/dbdiffchecker/DbConn.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:16 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:27 EDT 2019 -->
<title>DbConn</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
Expand Down Expand Up @@ -110,10 +110,7 @@ <h2 title="Class DbConn" class="title">Class DbConn</h2>
<pre>public class <span class="typeNameLabel">DbConn</span>
extends java.lang.Object</pre>
<div class="block">DbConn establishes a connection with a MySQL database based on the password,
username, port, host, and database provided.
Program Name: Database Difference Checker
CSCI Course: 325
Grade Received: Pass</div>
username, port, host, and database provided.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>9-6-17</dd>
Expand Down
8 changes: 3 additions & 5 deletions docs/dbdiffchecker/ErrorPopup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Mar 18 18:58:17 EDT 2019 -->
<!-- Generated by javadoc (1.8.0_101) on Sat May 11 17:41:27 EDT 2019 -->
<title>ErrorPopup</title>
<meta name="date" content="2019-03-18">
<meta name="date" content="2019-05-11">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
Expand Down Expand Up @@ -137,9 +137,7 @@ <h2 title="Class ErrorPopup" class="title">Class ErrorPopup</h2>
<br>
<pre>public class <span class="typeNameLabel">ErrorPopup</span>
extends <a href="../dbdiffchecker/JFrameV2.html" title="class in dbdiffchecker">JFrameV2</a></pre>
<div class="block">ErrorPopup is a JFrame that shows a message about an error that occurred.
Program Name: Database Difference Checker CSCI Course: 325 Grade Received:
Pass</div>
<div class="block">ErrorPopup is a JFrame that shows a message about an error that occurred.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>9-21-17</dd>
Expand Down
Loading