This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
braydonf
force-pushed
the
master
branch
10 times, most recently
from
November 9, 2016 02:46
02f5d0e
to
d13592d
Compare
aligeti
added a commit
to aligeti/libstorj
that referenced
this pull request
Dec 20, 2017
Test Case storj-archived#1: No bucket name given kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files Missing first argument: <bucket-id> Test Case storj-archived#2: Complete command with valid bucket name with 2 files in it kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files testbucket ID: 6cb2014a988adca6ed712577 Decrypted: true Created: 2017-12-15T17:23:25.832Z Name: testbucket ID: 27607c99600540cc4c57953c Size: 9 bytes Decrypted: true Type: application/octet-stream Created: 2017-12-15T17:27:25.461Z Name: testfile.txt ID: ee2fcc89dfe71c932cf44fcc Size: 10 bytes Decrypted: true Type: application/octet-stream Created: 2017-12-15T17:29:38.994Z Name: testfile2.txt Test Case storj-archived#3: Complete command with valid bucket name but no files in it kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files testbucket2 ID: 725131c74690150e7b0cc747 Decrypted: true Created: 2017-12-18T16:41:41.583Z Name: testbucket2 No files for bucket. Test Case storj-archived#4: Compete command with invalid bucket name kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files testbucket2233432 Invalid bucket name.
aligeti
added a commit
to aligeti/libstorj
that referenced
this pull request
Dec 20, 2017
Checking in supports "storj list-files [bucket_name]" Test Case storj-archived#1: No bucket name given kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files Missing first argument: <bucket-id> Test Case storj-archived#2: Complete command with valid bucket name with 2 files in it kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files testbucket ID: 6cb2014a988adca6ed712577 Decrypted: true Created: 2017-12-15T17:23:25.832Z Name: testbucket ID: 27607c99600540cc4c57953c Size: 9 bytes Decrypted: true Type: application/octet-stream Created: 2017-12-15T17:27:25.461Z Name: testfile.txt ID: ee2fcc89dfe71c932cf44fcc Size: 10 bytes Decrypted: true Type: application/octet-stream Created: 2017-12-15T17:29:38.994Z Name: testfile2.txt Test Case storj-archived#3: Complete command with valid bucket name but no files in it kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files testbucket2 ID: 725131c74690150e7b0cc747 Decrypted: true Created: 2017-12-18T16:41:41.583Z Name: testbucket2 No files for bucket. Test Case storj-archived#4: Compete command with invalid bucket name kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj -d list-files testbucket2233432 Invalid bucket name. on branches master branches master
aligeti
added a commit
to aligeti/libstorj
that referenced
this pull request
Jan 3, 2018
========================================================================================================== Testcase storj-archived#1: No aruguments entered kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj upload-file Missing arguments: <bucket-name> <path> ======================================================================================================== LIST ALLTHE VALID BUCKETS NAMES kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj list-buckets ID: 6cb2014a988adca6ed712577 Decrypted: true Created: 2017-12-15T17:23:25.832Z Name: testbucket ID: 725131c74690150e7b0cc747 Decrypted: true Created: 2017-12-18T16:41:41.583Z Name: testbucket2 ID: 965efd4b5d65fd82643f5727 Decrypted: true Created: 2017-12-18T18:14:05.098Z Name: testbucket3 ID: b20824d412f7a8845379769e Decrypted: true Created: 2017-12-18T18:15:05.270Z Name: testbucket4 ========================================================================================================= PICK A BUCKET AND LIST ALL THE FILES IN THAT BUCKET kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj list-files testbucket2 ID: 725131c74690150e7b0cc747 Decrypted: true Created: 2017-12-18T16:41:41.583Z Name: testbucket2 ID: 4022eed501eb8d008ce61b84 Size: 22 bytes Decrypted: true Type: application/octet-stream Created: 2017-12-21T23:39:17.352Z Name: testfileA.txt ========================================================================================================== TEST CASE#2: Execute the complete upload-file command kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj upload-file testbucket2 testjson.json ID: 725131c74690150e7b0cc747 Decrypted: true Created: 2017-12-18T16:41:41.583Z Name: testbucket2 [======================================================================] 100.00% Upload Success! File ID: 037431e2b0489b41db7a363d ========================================================================================================== LIST THE FILES IN THE ABOVE UPLOADED BUCKET TO VERIFY THAT THE NEW FILES IS LISTED AS WELL kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj list-files testbucket2 ID: 725131c74690150e7b0cc747 Decrypted: true Created: 2017-12-18T16:41:41.583Z Name: testbucket2 ID: 4022eed501eb8d008ce61b84 Size: 22 bytes Decrypted: true Type: application/octet-stream Created: 2017-12-21T23:39:17.352Z Name: testfileA.txt ID: 037431e2b0489b41db7a363d Size: 1448 bytes Decrypted: true Type: application/octet-stream Created: 2017-12-22T13:56:16.628Z Name: testjson.json ========================================================================================================== TEST CASE#3: VALID BUCKET NAME AND INVALID FILE-NAME kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj upload-file testbucket2 testjson.jsondsf ID: 725131c74690150e7b0cc747 Decrypted: true Created: 2017-12-18T16:41:41.583Z Name: testbucket2 Invalid file path: testjson.jsondsf ========================================================================================================== TEST CASE#4: INVALID BUCKET NAME AND INVALID FILE-NAME kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj upload-file testbucket2sfs testjson.jsondsf Invalid bucket name. ========================================================================================================== TEST CASE#4: INVALID BUCKET NAME AND VALID FILE-NAME kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj upload-file testbucket3sfs testjson.json Invalid bucket name. ========================================================================================================== TEST CASE#5: VALID BUCKET NAME AND VALID FILE-NAME kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj upload-file testbucket3 testjson.json ID: 965efd4b5d65fd82643f5727 Decrypted: true Created: 2017-12-18T18:14:05.098Z Name: testbucket3 [======================================================================] 100.00% Upload Success! File ID: f10d046334eea2e7a6ba9723 ========================================================================================================== TEST CASE#6: TRY AGAIN TO UPLOAD THE SAME FILE WITH VALID BUCKET NAME AND VALID FILE-NAME kishore@kishore-Inspiron-13-7353:~/libstorj/src$ ./storj upload-file testbucket3 testjson.json ID: 965efd4b5d65fd82643f5727 Decrypted: true Created: 2017-12-18T18:14:05.098Z Name: testbucket3 Preparing File... Upload failure: File already exists ==========================================================================================================
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.