Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEnvars (0.1 sec)

  1. maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

                            model, (Path) null, createModelBuildingRequest(context), collector));
    
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
        public void testEnvars() throws Exception {
            context.put("env.HOME", "/path/to/home");
    
            Map<String, String> modelProperties = new HashMap<>();
            modelProperties.put("outputDirectory", "${env.HOME}");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. src/crypto/x509/root_unix_test.go

    	"reflect"
    	"strings"
    	"testing"
    )
    
    const (
    	testDir     = "testdata"
    	testDirCN   = "test-dir"
    	testFile    = "test-file.crt"
    	testFileCN  = "test-file"
    	testMissing = "missing"
    )
    
    func TestEnvVars(t *testing.T) {
    	testCases := []struct {
    		name    string
    		fileEnv string
    		dirEnv  string
    		files   []string
    		dirs    []string
    		cns     []string
    	}{
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top