gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-schemafuzz] branch master updated: some more tests.S


From: gnunet
Subject: [GNUnet-SVN] [taler-schemafuzz] branch master updated: some more tests.Started documentation.
Date: Wed, 13 Jun 2018 18:39:33 +0200

This is an automated email from the git hooks/post-receive script.

erwan-ulrich pushed a commit to branch master
in repository schemafuzz.

The following commit(s) were added to refs/heads/master by this push:
     new a5aa20f  some more tests.Started documentation.
a5aa20f is described below

commit a5aa20f0fe7ec33862b9591b7c0d2052244cf82c
Author: Feideus <address@hidden>
AuthorDate: Wed Jun 13 18:39:26 2018 +0200

    some more tests.Started documentation.
---
 Documentation.tex                                  | 28 ++++++++++++++++++++++
 src/main/java/org/schemaspy/DBFuzzer.java          |  2 +-
 .../java/org/schemaspy/model/GenericTreeTest.java  |  5 ++--
 3 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/Documentation.tex b/Documentation.tex
new file mode 100644
index 0000000..6a28d8b
--- /dev/null
+++ b/Documentation.tex
@@ -0,0 +1,28 @@
+\documentclass{article}
+\usepackage[utf8]{inputenc}
+\usepackage[document]{ragged2e}
+
+\title{Documentation for schemaFuzz}
+\author{Ulrich "Feideus" Erwan}
+
+\begin{document}
+
+       
+\maketitle Documentation For SchemaFuzz
+       \section{Summary?}
+               This document actually needs a front page.
+       \section{Introduction}
+               this is the first section of the documentation.
+       \section{Usage}
+               How to set up, invoke, and more genericly use schemaFuzz.
+       \section{How it is Designed}
+               \subsection{Idea behind the tool}
+                       Analyse shit
+               \subsection{SchemaSpy legacy}
+                       "stole" some shit
+               \subsection{SchemaFuzz Core}
+                       Developped some shit
+       
+       \section{Contributing}
+       \section{Conclusion}
+\end{document} 
diff --git a/src/main/java/org/schemaspy/DBFuzzer.java 
b/src/main/java/org/schemaspy/DBFuzzer.java
index fb23059..9948b6e 100644
--- a/src/main/java/org/schemaspy/DBFuzzer.java
+++ b/src/main/java/org/schemaspy/DBFuzzer.java
@@ -311,7 +311,7 @@ public class DBFuzzer
         int markingDiff = previousMutation.getInterest_mark();
         Random rand = new Random();
 
-        if (mutationTree.getNumberOfNodes() > 1) // first mutation does;n;t 
have a predecessor
+        if (mutationTree.getNumberOfNodes() > 1) // first mutation doesnt have 
a predecessor
         {
             markingDiff = previousMutation.getInterest_mark() - 
mutationTree.find(mutationTree.getLastId()).getInterest_mark();
         }
diff --git a/src/test/java/org/schemaspy/model/GenericTreeTest.java 
b/src/test/java/org/schemaspy/model/GenericTreeTest.java
index 4c91bcc..e5ca9e4 100644
--- a/src/test/java/org/schemaspy/model/GenericTreeTest.java
+++ b/src/test/java/org/schemaspy/model/GenericTreeTest.java
@@ -40,7 +40,6 @@ public class GenericTreeTest {
     @MockBean
     private CommandLineRunner commandLineRunner;
 
-    @Ignore
     @Test
     public void checkMaxDepthTest() throws Exception
     {
@@ -69,10 +68,10 @@ public class GenericTreeTest {
         databaseService.gatheringSchemaDetails(config, database, 
progressListener);
 
 
-        PreparedStatement stmt = sqlService.prepareStatement("SELECT * FROM 
test_table", database, null);
+        PreparedStatement stmt = sqlService.prepareStatement("SELECT * FROM 
actual_test_table", database, null);
         ResultSet rs = stmt.executeQuery();
         QueryResponseParser parser = new QueryResponseParser();
-        QueryResponse response = 
parser.parse(rs,database.getTablesMap().get("test_table"));
+        QueryResponse response = 
parser.parse(rs,database.getTablesMap().get("actual_test_table"));
 
         Row row = response.getRows().get(0);
         Row row2 = row.clone();

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]