gitlab.com/evatix-go/core@v1.3.55/tests/testwrappers/chmodhelpertestwrappers/VerifyRwxPartialChmodLocationsTestCases.go (about)

     1  package chmodhelpertestwrappers
     2  
     3  var VerifyRwxPartialChmodLocationsTestCases = []VerifyRwxPartialChmodLocationsWrapper{
     4  	{
     5  		Header:             "Missing Paths should NOT have error with it's location!",
     6  		Locations:          SimpleLocations,
     7  		IsContinueOnError:  true,
     8  		IsSkipOnInvalid:    true,
     9  		ExpectedPartialRwx: "-rwxrwx",
    10  		ExpectationErrorMessage: "/temp/core/test-cases-2 - " +
    11  			"Expect [\"rwxrwx***\"] != [\"rwxr-xr--\"] Actual\n" +
    12  			"/temp/core/test-cases-3 - " +
    13  			"Expect [\"rwxrwx***\"] != [\"rwxr-xr--\"] Actual",
    14  	},
    15  	{
    16  		Header:                  "Missing Paths should NOT have error with it's location and all matches with expected RWX!",
    17  		Locations:               SimpleLocations,
    18  		IsContinueOnError:       true,
    19  		IsSkipOnInvalid:         true,
    20  		ExpectedPartialRwx:      "-rwx",
    21  		ExpectationErrorMessage: "",
    22  	},
    23  	{
    24  		Header:             "Missing Paths should have error with it's location!",
    25  		Locations:          SimpleLocations,
    26  		IsContinueOnError:  true,
    27  		IsSkipOnInvalid:    false,
    28  		ExpectedPartialRwx: "-rwxrwx-",
    29  		ExpectationErrorMessage: "/temp/core/test-cases-2 - " +
    30  			"Expect [\"rwxrwx-**\"] != [\"rwxr-xr--\"] Actual\n" +
    31  			"/temp/core/test-cases-3 - " +
    32  			"Expect [\"rwxrwx-**\"] != [\"rwxr-xr--\"] Actual\n" +
    33  			"Path missing or having other access issues! Reference(s) { \"[" +
    34  			"/temp/core/test-cases-3s " +
    35  			"/temp/core/test-cases-3x" +
    36  			"]\" }",
    37  	},
    38  }