update changelog

This commit is contained in:
idk
2022-08-27 13:53:14 -04:00
parent 3e0002d424
commit ab5d73fb40
6 changed files with 27 additions and 17 deletions

View File

@ -24,9 +24,9 @@ package: net.i2p.i2pfirefox
## Methods ## 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 + Access: public
+ Modifiers: static + Modifiers: static
+ return: void + return: void
@ -36,7 +36,7 @@ package: net.i2p.i2pfirefox
| args | String[] | | | 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. + Description: Return true if the profile directory is valid.
+ Access: public + Access: public
@ -48,19 +48,19 @@ package: net.i2p.i2pfirefox
| profileDirectory | String | the profile directory to check | | 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 + Access: public
+ Modifiers: static + Modifiers: static
+ return: true if the extension directory is valid false otherwise + return: true if the file is valid false otherwise
| Name | Type | Description | | 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. + Description: Return true if the extension directory is valid.
+ Access: public + Access: public

View File

@ -24,7 +24,7 @@ package: net.i2p.i2pfirefox
## Methods ## Methods
### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L22) ### main [[src]](src/java/net/i2p/i2pfirefox/I2PFirefoxProfileChecker.java#L26)
+ Description: + Description:
+ Access: public + Access: public
@ -36,7 +36,7 @@ package: net.i2p.i2pfirefox
| args | String[] | | | 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. + Description: Return true if the profile directory is valid.
+ Access: public + Access: public
@ -48,7 +48,7 @@ package: net.i2p.i2pfirefox
| profileDirectory | String | the profile directory to check | | 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. + Description: Return true if the file is valid.
+ Access: public + Access: public
@ -60,7 +60,7 @@ package: net.i2p.i2pfirefox
| file | String | the file to check | | 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. + Description: Return true if the extension directory is valid.
+ Access: public + Access: public

View File

@ -7,6 +7,7 @@ GITHUB_DESCRIPTION=$(cat CHANGES.md)
GITHUB_TAG=0.0.17 GITHUB_TAG=0.0.17
ant distclean ant distclean
ant jar freeZip ant jar freeZip
./javadoc.sh
github-release release --user "${GITHUB_USER}" \ github-release release --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \ --repo "${GITHUB_REPO}" \
--name "${GITHUB_NAME}" \ --name "${GITHUB_NAME}" \

View File

@ -23,6 +23,7 @@ public class I2PChromiumProfileChecker {
* Output feedback if the profile directory is valid or invalid * 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
* @since 0.0.1 * @since 0.0.1
*/ */
public static void main(String[] args) { public static void main(String[] args) {
@ -71,10 +72,10 @@ public class I2PChromiumProfileChecker {
return true; return true;
} }
/** /**
* Return true if the extension directory is valid. * Return true if the file is valid.
* *
* @param extensionDirectory the extension directory to check * @param file the file to check
* @return true if the extension directory is valid, false otherwise * @return true if the file is valid, false otherwise
* @since 0.0.1 * @since 0.0.1
*/ */
public static boolean validateFile(String file) { public static boolean validateFile(String file) {

View File

@ -19,6 +19,10 @@ import java.io.File;
* @since 0.0.1 * @since 0.0.1
*/ */
public class I2PFirefoxProfileChecker { public class I2PFirefoxProfileChecker {
/**
* @param args unused
*/
public static void main(String[] args) { public static void main(String[] args) {
String profileDirectory = I2PFirefoxProfileBuilder.profileDirectory(); String profileDirectory = I2PFirefoxProfileBuilder.profileDirectory();
if (profileDirectory == null) { if (profileDirectory == null) {

View File

@ -2,6 +2,7 @@
ant distclean ant distclean
ant jar ant jar
echo "Testing auto-selector with no private and no URL parameters." 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 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." 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" 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 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." 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 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" 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 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." 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 java -cp ./src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -firefox 2> fox.0.err 1> fox.0.log
@ -31,3 +33,5 @@ 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 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" 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 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"