Lines Matching refs:out

66         OutputAnalyzer out = executor.execute("VM.set_flag " + flag + " " + strFlagVal);
67 out.stderrShouldBeEmpty();
69 out = getAllFlags(executor);
71 String newFlagVal = out.firstMatch(MANAGEABLE_PATTERN.replace("(\\S+)", flag), 1);
77 OutputAnalyzer out = getAllFlags(executor);
78 String flagName = out.firstMatch(MANAGEABLE_PATTERN, 1);
79 String flagVal = out.firstMatch(MANAGEABLE_PATTERN, 2);
81 System.out.println("### Setting a mutable flag '" + flagName + "'");
84 System.err.println(out.getOutput());
94 OutputAnalyzer out = getAllFlags(executor);
95 String flagName = out.firstMatch(MANAGEABLE_PATTERN, 1);
96 String flagVal = out.firstMatch(MANAGEABLE_PATTERN, 2);
98 System.out.println("### Setting a mutable flag '" + flagName + "' to an invalid value");
101 System.err.println(out.getOutput());
106 out = executor.execute("VM.set_flag " + flagName + " unexpected_value");
107 out.stderrShouldBeEmpty();
108 out.stdoutShouldContain("flag value must be a boolean (1/0 or true/false)");
110 out = getAllFlags(executor);
112 String newFlagVal = out.firstMatch(MANAGEABLE_PATTERN.replace("(\\S+)", flagName), 1);
118 OutputAnalyzer out = getAllFlags(executor);
119 String flagName = out.firstMatch(IMMUTABLE_PATTERN, 1);
120 String flagVal = out.firstMatch(IMMUTABLE_PATTERN, 2);
122 System.out.println("### Setting an immutable flag '" + flagName + "'");
125 System.err.println(out.getOutput());
131 out = executor.execute("VM.set_flag " + flagName + " " + (numVal + 1));
132 out.stderrShouldBeEmpty();
133 out.stdoutShouldContain("only 'writeable' flags can be set");
135 out = getAllFlags(executor);
137 String newFlagVal = out.firstMatch(IMMUTABLE_PATTERN.replace("(\\S+)", flagName), 1);
144 System.out.println("### Setting a non-existing flag '" + unknownFlag + "'");
145 OutputAnalyzer out = executor.execute("VM.set_flag " + unknownFlag + " 1");
146 out.stderrShouldBeEmpty();
147 out.stdoutShouldContain("flag " + unknownFlag + " does not exist");