diff --git a/I2PChromiumProfileChecker.md b/I2PChromiumProfileChecker.md index 8d4ba62..2915cf5 100644 --- a/I2PChromiumProfileChecker.md +++ b/I2PChromiumProfileChecker.md @@ -24,9 +24,9 @@ package: net.i2p.i2pfirefox ## Methods -### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L28) +### main [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L29) -+ Description: Output feedback if the profile directory is valid or invalid @description Output feedback if the profile directory is valid or invalid ++ Description: Output feedback if the profile directory is valid or invalid @description Output feedback if the profile directory is valid or invalid @args unused + Access: public + Modifiers: static + return: void @@ -36,7 +36,7 @@ package: net.i2p.i2pfirefox | args | String[] | | -### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L49) +### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L50) + Description: Return true if the profile directory is valid. + Access: public @@ -48,19 +48,19 @@ package: net.i2p.i2pfirefox | profileDirectory | String | the profile directory to check | -### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L80) +### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L81) -+ Description: Return true if the extension directory is valid. ++ Description: Return true if the file is valid. + Access: public + Modifiers: static -+ return: true if the extension directory is valid false otherwise ++ return: true if the file is valid false otherwise | Name | Type | Description | | ----- | ----- | ----- | -| file | String | | +| file | String | the file to check | -### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L107) +### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java#L108) + Description: Return true if the extension directory is valid. + Access: public diff --git a/I2PFirefoxProfileChecker.md b/I2PFirefoxProfileChecker.md index cd76b85..8e77e21 100644 --- a/I2PFirefoxProfileChecker.md +++ b/I2PFirefoxProfileChecker.md @@ -24,7 +24,7 @@ package: net.i2p.i2pfirefox ## Methods -### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L22) +### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L26) + Description: + Access: public @@ -36,7 +36,7 @@ package: net.i2p.i2pfirefox | args | String[] | | -### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L43) +### validateProfileDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L47) + Description: Return true if the profile directory is valid. + Access: public @@ -48,7 +48,7 @@ package: net.i2p.i2pfirefox | profileDirectory | String | the profile directory to check | -### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L82) +### validateFile [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L86) + Description: Return true if the file is valid. + Access: public @@ -60,7 +60,7 @@ package: net.i2p.i2pfirefox | file | String | the file to check | -### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L109) +### validateExtensionDirectory [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L113) + Description: Return true if the extension directory is valid. + Access: public diff --git a/release.sh b/release.sh index be1a8dc..3b241da 100755 --- a/release.sh +++ b/release.sh @@ -7,6 +7,7 @@ GITHUB_DESCRIPTION=$(cat CHANGES.md) GITHUB_TAG=0.0.17 ant distclean ant jar freeZip +./javadoc.sh github-release release --user "${GITHUB_USER}" \ --repo "${GITHUB_REPO}" \ --name "${GITHUB_NAME}" \ diff --git a/src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java b/src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java index 0ef0a94..8929986 100644 --- a/src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java +++ b/src/java/net/i2p/i2pfirefox/I2PChromiumProfileChecker.java @@ -23,6 +23,7 @@ public class I2PChromiumProfileChecker { * Output feedback if the profile directory is valid or invalid * * @description Output feedback if the profile directory is valid or invalid + * @args unused * @since 0.0.1 */ public static void main(String[] args) { @@ -71,10 +72,10 @@ public class I2PChromiumProfileChecker { return true; } /** - * Return true if the extension directory is valid. + * Return true if the file is valid. * - * @param extensionDirectory the extension directory to check - * @return true if the extension directory is valid, false otherwise + * @param file the file to check + * @return true if the file is valid, false otherwise * @since 0.0.1 */ public static boolean validateFile(String file) { diff --git a/src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java b/src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java index 3bef371..6568a60 100644 --- a/src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java +++ b/src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java @@ -19,6 +19,10 @@ import java.io.File; * @since 0.0.1 */ public class I2PFirefoxProfileChecker { + + /** + * @param args unused + */ public static void main(String[] args) { String profileDirectory = I2PFirefoxProfileBuilder.profileDirectory(); if (profileDirectory == null) { diff --git a/test.sh b/test.sh index a067579..dc12eb4 100755 --- a/test.sh +++ b/test.sh @@ -2,6 +2,7 @@ ant distclean ant jar + echo "Testing auto-selector with no private and no URL parameters." java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser 2> auto.0.err 1> auto.0.log echo "Testing auto-selector with local URL parameter." @@ -11,6 +12,7 @@ java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser "http://idk.i2 echo "Testing auto-selector with private browsing parameter" java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private "http://127.0.0.1:7657" 2> auto.3.err 1> auto.3.log +echo "Auto-Selector tests completed" echo "Testing Chromium with no private and no URL parameters." java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -chromium 2> chrome.1.err 1> chrome.1.log @@ -21,7 +23,7 @@ java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -chromium "htt echo "Testing Chromium with private browsing parameter" java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -chromium -private "http://127.0.0.1:7657" 2> chrome.3.err 1> chrome.3.log - +echo "Chromium tests completed" echo "Testing Firefox with no private and no URL parameters." java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -firefox 2> fox.0.err 1> fox.0.log @@ -30,4 +32,6 @@ java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -firefox "http echo "Testing Firefox with remote URL parameter." java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -firefox "http://idk.i2p" 2> fox.2.err 1> fox.2.log echo "Testing Firefox with private browsing parameter" -java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -firefox -private "http://127.0.0.1:7657" 2> fox.3.err 1> fox.3.log \ No newline at end of file +java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -firefox -private "http://127.0.0.1:7657" 2> fox.3.err 1> fox.3.log + +echo "Firefox tests completed"