causecode/grails-file-uploader

View on GitHub

Showing 156 of 156 total issues

Violation in class FileGroupSpec. Test method 'test getLocalSystemPath method to get localPath' makes no assertions
Open

void "test getLocalSystemPath method to get localPath"() {

Violation in class AmazonCDNFileUploaderImplSpec. Test method 'test Amazon Cloud Storage for upload success' makes no assertions
Open

void "test Amazon Cloud Storage for upload success"() {

Violation in class BlobDetailSpec. Test method 'test BlobDetails class methods' makes no assertions
Open

void "test BlobDetails class methods"() {

Violation in class GoogleCredentialsSpec. Test method 'test getStorage method when authenticateUsingKeyFileFromConfig method is called' makes no assertions
Open

void "test getStorage method when authenticateUsingKeyFileFromConfig method is called"() {

Violation in class FileUploaderServiceSpec. Test method 'test resolvePath for various cases' makes no assertions
Open

void "test resolvePath for various cases"() {

Violation in class FileUploaderServiceSpec. Test method 'test deleteFileForUFile method for LOCAL file when parent folder not empty' makes no assertions
Open

void "test deleteFileForUFile method for LOCAL file when parent folder not empty"() {

Violation in class FileUploaderControllerSpec. Test method 'test download action for various cases' makes no assertions
Open

void "test download action for various cases"() {

Violation in class FileUploaderControllerSpec. Test method 'test renew action' makes no assertions
Open

void "test renew action"() {

Violation in class SimpleFileInputBeanImplSpec. Test method 'test getContentType method wile file:- #simpleFileInputbean.filename' makes no assertions
Open

void "test getContentType method wile file:- #simpleFileInputbean.filename"() {

The test class com.causecode.fileuploader.cdn.google.GoogleCredentialsSpec contains a public property storageProviderGoogle. There is usually no reason to have a public property (even a constant) on a test class.
Open

ConfigObject storageProviderGoogle

Violation in class GoogleCredentialsSpec. Test method 'test getStorage method when authentication fails for authenticateUsingEnvironmentVariable() method' makes no assertions
Open

void "test getStorage method when authentication fails for authenticateUsingEnvironmentVariable() method"() {

Violation in class FileUploaderServiceSpec. Test method 'test saveFile method when container name is not defined in the config' makes no assertions
Open

void "test saveFile method when container name is not defined in the config"() {

Violation in class FileUploaderControllerSpec. Test method 'test moveFilesToGoogleCDN action when status from server is #receivedStatus' makes no assertions
Open

void "test moveFilesToGoogleCDN action when status from server is #receivedStatus"() {

Violation in class SimpleFileInputBeanImplSpec. Test method 'test getName method' makes no assertions
Open

void "test getName method"() {

Violation in class SimpleFileInputBeanImplSpec. Test method 'test isExists method' makes no assertions
Open

void "test isExists method"() {

Violation in class FileHashCalculatorSpec. Test method 'test for constructor with file parameter and algorithm parameter' makes no assertions
Open

void "test for constructor with file parameter and algorithm parameter"() {

Violation in class AmazonCDNFileUploaderImplSpec. Test method 'test makeFilePublic method for failure case' makes no assertions
Open

void "test makeFilePublic method for failure case"() {

Violation in class GoogleCredentialsSpec. Test method 'test authentication by reading path of json file from config object when path is #filePath' makes no assertions
Open

void 'test authentication by reading path of json file from config object when path is #filePath'() {

Violation in class FileUploaderServiceSpec. Test method 'test saveFile method in FileUploaderService when file upload fails' makes no assertions
Open

void "test saveFile method in FileUploaderService when file upload fails"() {

Violation in class FileUploaderControllerSpec. Test method 'test show action for various cases' makes no assertions
Open

void "test show action for various cases"() {
Severity
Category
Status
Source
Language